@cloudfleet/sdk 0.0.1-c144916 → 0.0.1-c3098ca
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/README.md +26 -2
- 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/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +405 -76
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +528 -140
- 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 +1045 -717
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1585 -1436
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +429 -313
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
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
|
*/
|
|
@@ -159,6 +163,9 @@ export type ChartUpdateInput = {
|
|
|
159
163
|
*/
|
|
160
164
|
version_channel: string;
|
|
161
165
|
};
|
|
166
|
+
/**
|
|
167
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
168
|
+
*/
|
|
162
169
|
export type ClusterCreateInput = {
|
|
163
170
|
/**
|
|
164
171
|
* Name of the cluster.
|
|
@@ -167,15 +174,61 @@ export type ClusterCreateInput = {
|
|
|
167
174
|
/**
|
|
168
175
|
* Tier of the cluster.
|
|
169
176
|
*/
|
|
170
|
-
tier
|
|
177
|
+
tier?: 'basic' | 'pro';
|
|
178
|
+
/**
|
|
179
|
+
* Version of the kubernetes cluster.
|
|
180
|
+
*/
|
|
181
|
+
version_channel?: string;
|
|
171
182
|
/**
|
|
172
|
-
*
|
|
183
|
+
* Release channel for the cluster's control plane.
|
|
173
184
|
*/
|
|
174
|
-
|
|
185
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
175
186
|
/**
|
|
176
|
-
*
|
|
187
|
+
* Cluster feature toggles.
|
|
188
|
+
*/
|
|
189
|
+
features?: {
|
|
190
|
+
/**
|
|
191
|
+
* GPU sharing strategy.
|
|
192
|
+
*/
|
|
193
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
194
|
+
/**
|
|
195
|
+
* Maximum number of pods that may share a single GPU.
|
|
196
|
+
*/
|
|
197
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
198
|
+
/**
|
|
199
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
200
|
+
*/
|
|
201
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
205
|
+
*/
|
|
206
|
+
region: string;
|
|
207
|
+
/**
|
|
208
|
+
* Cluster networking configuration. Immutable after creation.
|
|
177
209
|
*/
|
|
178
|
-
|
|
210
|
+
networking?: {
|
|
211
|
+
/**
|
|
212
|
+
* CIDR block for pod IPs.
|
|
213
|
+
*/
|
|
214
|
+
pod_cidr?: string;
|
|
215
|
+
/**
|
|
216
|
+
* CIDR block for service IPs.
|
|
217
|
+
*/
|
|
218
|
+
service_cidr?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
221
|
+
*/
|
|
222
|
+
dual_stack?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
225
|
+
*/
|
|
226
|
+
pod_cidr_v6?: string;
|
|
227
|
+
/**
|
|
228
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
229
|
+
*/
|
|
230
|
+
service_cidr_v6?: string;
|
|
231
|
+
};
|
|
179
232
|
};
|
|
180
233
|
export type ClusterJoinInformation = {
|
|
181
234
|
/**
|
|
@@ -190,6 +243,10 @@ export type ClusterJoinInformation = {
|
|
|
190
243
|
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
244
|
*/
|
|
192
245
|
cluster_dns: string;
|
|
246
|
+
/**
|
|
247
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
248
|
+
*/
|
|
249
|
+
pod_cidr: string;
|
|
193
250
|
/**
|
|
194
251
|
* Authentication key for the cluster.
|
|
195
252
|
*/
|
|
@@ -237,6 +294,9 @@ export type ClusterJoinInformation = {
|
|
|
237
294
|
gcp_workload_identity_provider: string;
|
|
238
295
|
};
|
|
239
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
299
|
+
*/
|
|
240
300
|
export type Cluster = {
|
|
241
301
|
/**
|
|
242
302
|
* Name of the cluster.
|
|
@@ -247,17 +307,67 @@ export type Cluster = {
|
|
|
247
307
|
*/
|
|
248
308
|
tier: 'basic' | 'pro';
|
|
249
309
|
/**
|
|
250
|
-
*
|
|
310
|
+
* Version of the kubernetes cluster.
|
|
311
|
+
*/
|
|
312
|
+
version_channel: string;
|
|
313
|
+
/**
|
|
314
|
+
* Release channel for the cluster's control plane.
|
|
315
|
+
*/
|
|
316
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
317
|
+
/**
|
|
318
|
+
* Cluster feature toggles.
|
|
319
|
+
*/
|
|
320
|
+
features: {
|
|
321
|
+
/**
|
|
322
|
+
* GPU sharing strategy.
|
|
323
|
+
*/
|
|
324
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
325
|
+
/**
|
|
326
|
+
* Maximum number of pods that may share a single GPU.
|
|
327
|
+
*/
|
|
328
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
329
|
+
/**
|
|
330
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
331
|
+
*/
|
|
332
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
251
336
|
*/
|
|
252
|
-
region
|
|
337
|
+
region: string;
|
|
338
|
+
/**
|
|
339
|
+
* Cluster networking configuration. Immutable after creation.
|
|
340
|
+
*/
|
|
341
|
+
networking: {
|
|
342
|
+
/**
|
|
343
|
+
* CIDR block for pod IPs.
|
|
344
|
+
*/
|
|
345
|
+
pod_cidr: string;
|
|
346
|
+
/**
|
|
347
|
+
* CIDR block for service IPs.
|
|
348
|
+
*/
|
|
349
|
+
service_cidr: string;
|
|
350
|
+
/**
|
|
351
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
352
|
+
*/
|
|
353
|
+
dual_stack: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
356
|
+
*/
|
|
357
|
+
pod_cidr_v6: string;
|
|
358
|
+
/**
|
|
359
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
360
|
+
*/
|
|
361
|
+
service_cidr_v6: string;
|
|
362
|
+
};
|
|
253
363
|
/**
|
|
254
364
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
365
|
*/
|
|
256
366
|
id: string;
|
|
257
367
|
/**
|
|
258
|
-
* Status of the cluster.
|
|
368
|
+
* Status of the cluster.
|
|
259
369
|
*/
|
|
260
|
-
status: '
|
|
370
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
261
371
|
endpoint?: string | '';
|
|
262
372
|
endpoint_public?: string | '';
|
|
263
373
|
/**
|
|
@@ -279,26 +389,49 @@ export type Cluster = {
|
|
|
279
389
|
/**
|
|
280
390
|
* Indicates if the cluster is ready to be used.
|
|
281
391
|
*/
|
|
282
|
-
ready
|
|
283
|
-
/**
|
|
284
|
-
* Version of the kubernetes cluster.
|
|
285
|
-
*/
|
|
286
|
-
version_channel?: string;
|
|
392
|
+
ready: boolean;
|
|
287
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
396
|
+
*/
|
|
288
397
|
export type ClusterUpdateInput = {
|
|
289
398
|
/**
|
|
290
399
|
* Name of the cluster.
|
|
291
400
|
*/
|
|
292
|
-
name
|
|
401
|
+
name: string;
|
|
293
402
|
/**
|
|
294
403
|
* Tier of the cluster.
|
|
295
404
|
*/
|
|
296
|
-
tier
|
|
405
|
+
tier?: 'basic' | 'pro';
|
|
297
406
|
/**
|
|
298
407
|
* Version of the kubernetes cluster.
|
|
299
408
|
*/
|
|
300
409
|
version_channel?: string;
|
|
410
|
+
/**
|
|
411
|
+
* Release channel for the cluster's control plane.
|
|
412
|
+
*/
|
|
413
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
414
|
+
/**
|
|
415
|
+
* Cluster feature toggles.
|
|
416
|
+
*/
|
|
417
|
+
features?: {
|
|
418
|
+
/**
|
|
419
|
+
* GPU sharing strategy.
|
|
420
|
+
*/
|
|
421
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
422
|
+
/**
|
|
423
|
+
* Maximum number of pods that may share a single GPU.
|
|
424
|
+
*/
|
|
425
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
426
|
+
/**
|
|
427
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
428
|
+
*/
|
|
429
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
430
|
+
};
|
|
301
431
|
};
|
|
432
|
+
/**
|
|
433
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
434
|
+
*/
|
|
302
435
|
export type FleetCreateInput = {
|
|
303
436
|
/**
|
|
304
437
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -331,7 +464,7 @@ export type FleetCreateInput = {
|
|
|
331
464
|
controllerRoleArn?: string;
|
|
332
465
|
};
|
|
333
466
|
/**
|
|
334
|
-
* 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.
|
|
467
|
+
* 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.
|
|
335
468
|
*/
|
|
336
469
|
constraints?: {
|
|
337
470
|
/**
|
|
@@ -352,7 +485,7 @@ export type FleetCreateInput = {
|
|
|
352
485
|
'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'>;
|
|
353
486
|
};
|
|
354
487
|
/**
|
|
355
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
488
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
356
489
|
*/
|
|
357
490
|
scalingProfile?: 'aggressive' | 'conservative';
|
|
358
491
|
/**
|
|
@@ -360,6 +493,9 @@ export type FleetCreateInput = {
|
|
|
360
493
|
*/
|
|
361
494
|
id: string;
|
|
362
495
|
};
|
|
496
|
+
/**
|
|
497
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
498
|
+
*/
|
|
363
499
|
export type Fleet = {
|
|
364
500
|
/**
|
|
365
501
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -392,17 +528,17 @@ export type Fleet = {
|
|
|
392
528
|
controllerRoleArn?: string;
|
|
393
529
|
};
|
|
394
530
|
/**
|
|
395
|
-
* 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.
|
|
531
|
+
* 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.
|
|
396
532
|
*/
|
|
397
|
-
constraints
|
|
533
|
+
constraints: {
|
|
398
534
|
/**
|
|
399
535
|
* Allowed values for `karpenter.sh/capacity-type`.
|
|
400
536
|
*/
|
|
401
|
-
'karpenter.sh/capacity-type'
|
|
537
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
402
538
|
/**
|
|
403
539
|
* Allowed values for `kubernetes.io/arch`.
|
|
404
540
|
*/
|
|
405
|
-
'kubernetes.io/arch'
|
|
541
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
406
542
|
/**
|
|
407
543
|
* Allowed values for `cfke.io/instance-family`.
|
|
408
544
|
*/
|
|
@@ -413,14 +549,33 @@ export type Fleet = {
|
|
|
413
549
|
'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'>;
|
|
414
550
|
};
|
|
415
551
|
/**
|
|
416
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
552
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
417
553
|
*/
|
|
418
554
|
scalingProfile: 'aggressive' | 'conservative';
|
|
419
555
|
/**
|
|
420
556
|
* Unique identifier of the kubernetes fleet.
|
|
421
557
|
*/
|
|
422
558
|
id: string;
|
|
559
|
+
/**
|
|
560
|
+
* Indicates whether the fleet configuration is healthy.
|
|
561
|
+
*/
|
|
562
|
+
ready: boolean;
|
|
563
|
+
/**
|
|
564
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
565
|
+
*/
|
|
566
|
+
status_message?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Creation date and time of the fleet.
|
|
569
|
+
*/
|
|
570
|
+
created_at: string;
|
|
571
|
+
/**
|
|
572
|
+
* Date and time the fleet was last updated.
|
|
573
|
+
*/
|
|
574
|
+
updated_at: string;
|
|
423
575
|
};
|
|
576
|
+
/**
|
|
577
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
578
|
+
*/
|
|
424
579
|
export type FleetUpdateInput = {
|
|
425
580
|
/**
|
|
426
581
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -453,7 +608,7 @@ export type FleetUpdateInput = {
|
|
|
453
608
|
controllerRoleArn?: string;
|
|
454
609
|
};
|
|
455
610
|
/**
|
|
456
|
-
* 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.
|
|
611
|
+
* 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.
|
|
457
612
|
*/
|
|
458
613
|
constraints?: {
|
|
459
614
|
/**
|
|
@@ -474,9 +629,19 @@ export type FleetUpdateInput = {
|
|
|
474
629
|
'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'>;
|
|
475
630
|
};
|
|
476
631
|
/**
|
|
477
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
632
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
478
633
|
*/
|
|
479
|
-
scalingProfile
|
|
634
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
635
|
+
};
|
|
636
|
+
export type InviteCreateInput = {
|
|
637
|
+
/**
|
|
638
|
+
* Email address of the user to invite.
|
|
639
|
+
*/
|
|
640
|
+
email: string;
|
|
641
|
+
/**
|
|
642
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
643
|
+
*/
|
|
644
|
+
role?: 'Administrator' | 'User';
|
|
480
645
|
};
|
|
481
646
|
export type Invite = {
|
|
482
647
|
/**
|
|
@@ -499,6 +664,10 @@ export type Invite = {
|
|
|
499
664
|
* Generated unique invite code.
|
|
500
665
|
*/
|
|
501
666
|
code?: string;
|
|
667
|
+
/**
|
|
668
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
669
|
+
*/
|
|
670
|
+
role?: 'Administrator' | 'User';
|
|
502
671
|
};
|
|
503
672
|
export type Invoice = {
|
|
504
673
|
/**
|
|
@@ -619,6 +788,10 @@ export type MarketplaceListing = {
|
|
|
619
788
|
};
|
|
620
789
|
};
|
|
621
790
|
export type OrganizationCreateInput = {
|
|
791
|
+
/**
|
|
792
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
793
|
+
*/
|
|
794
|
+
type: 'business' | 'personal';
|
|
622
795
|
/**
|
|
623
796
|
* Email address used for billing as a string.
|
|
624
797
|
*/
|
|
@@ -640,6 +813,12 @@ export type OrganizationCreateInput = {
|
|
|
640
813
|
*/
|
|
641
814
|
password: string;
|
|
642
815
|
};
|
|
816
|
+
export type OrganizationCreateOutput = {
|
|
817
|
+
/**
|
|
818
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
819
|
+
*/
|
|
820
|
+
id: string;
|
|
821
|
+
};
|
|
643
822
|
export type Organization = {
|
|
644
823
|
/**
|
|
645
824
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -649,6 +828,10 @@ export type Organization = {
|
|
|
649
828
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
650
829
|
*/
|
|
651
830
|
name?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
833
|
+
*/
|
|
834
|
+
type: 'business' | 'personal';
|
|
652
835
|
/**
|
|
653
836
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
654
837
|
*/
|
|
@@ -707,36 +890,52 @@ export type Organization = {
|
|
|
707
890
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
708
891
|
*/
|
|
709
892
|
status: 'active' | 'closed' | 'suspended';
|
|
893
|
+
/**
|
|
894
|
+
* 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.
|
|
895
|
+
*/
|
|
896
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
710
897
|
};
|
|
711
898
|
export type PaymentMethod = {
|
|
712
899
|
/**
|
|
713
|
-
*
|
|
900
|
+
* 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.
|
|
714
901
|
*/
|
|
715
902
|
id: string;
|
|
716
903
|
/**
|
|
717
|
-
*
|
|
718
|
-
*/
|
|
719
|
-
setup: boolean;
|
|
720
|
-
/**
|
|
721
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
904
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
722
905
|
*/
|
|
723
|
-
type: 'card';
|
|
906
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
724
907
|
/**
|
|
725
|
-
* Last 4 digits of the payment card number.
|
|
908
|
+
* 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.
|
|
726
909
|
*/
|
|
727
910
|
last4: string;
|
|
728
911
|
/**
|
|
729
|
-
* Two-digit number representing the card's expiration month.
|
|
912
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
730
913
|
*/
|
|
731
914
|
exp_month: number;
|
|
732
915
|
/**
|
|
733
|
-
* Four-digit number representing the card's expiration year.
|
|
916
|
+
* 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.
|
|
734
917
|
*/
|
|
735
918
|
exp_year: number;
|
|
736
919
|
/**
|
|
737
|
-
* Payment card brand
|
|
920
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
921
|
+
*/
|
|
922
|
+
brand: string;
|
|
923
|
+
/**
|
|
924
|
+
* 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.
|
|
925
|
+
*/
|
|
926
|
+
iban: string;
|
|
927
|
+
/**
|
|
928
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
929
|
+
*/
|
|
930
|
+
bic: string;
|
|
931
|
+
/**
|
|
932
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
933
|
+
*/
|
|
934
|
+
account_holder_name: string;
|
|
935
|
+
/**
|
|
936
|
+
* 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).
|
|
738
937
|
*/
|
|
739
|
-
|
|
938
|
+
is_default: boolean;
|
|
740
939
|
};
|
|
741
940
|
export type PlatformQuota = {
|
|
742
941
|
/**
|
|
@@ -1328,14 +1527,6 @@ export type UserCreateInput = {
|
|
|
1328
1527
|
* User password. Must be at least 8 characters long.
|
|
1329
1528
|
*/
|
|
1330
1529
|
password: string;
|
|
1331
|
-
/**
|
|
1332
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1333
|
-
*/
|
|
1334
|
-
status?: 'active' | 'inactive';
|
|
1335
|
-
/**
|
|
1336
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1337
|
-
*/
|
|
1338
|
-
role?: 'Administrator' | 'User';
|
|
1339
1530
|
};
|
|
1340
1531
|
export type User = {
|
|
1341
1532
|
/**
|
|
@@ -1389,597 +1580,574 @@ export type UserUpdateInput = {
|
|
|
1389
1580
|
*/
|
|
1390
1581
|
status?: 'active' | 'inactive';
|
|
1391
1582
|
};
|
|
1392
|
-
export type
|
|
1583
|
+
export type ListUserOrganizationsData = {
|
|
1393
1584
|
body?: never;
|
|
1394
|
-
path
|
|
1395
|
-
query?: {
|
|
1585
|
+
path: {
|
|
1396
1586
|
/**
|
|
1397
|
-
*
|
|
1587
|
+
* User email address.
|
|
1398
1588
|
*/
|
|
1399
|
-
|
|
1589
|
+
email: string;
|
|
1400
1590
|
};
|
|
1401
|
-
|
|
1402
|
-
};
|
|
1403
|
-
export type GetUsageErrors = {
|
|
1404
|
-
/**
|
|
1405
|
-
* Not authenticated
|
|
1406
|
-
*/
|
|
1407
|
-
401: unknown;
|
|
1591
|
+
query?: never;
|
|
1592
|
+
url: '/users/organizations/{email}';
|
|
1408
1593
|
};
|
|
1409
|
-
export type
|
|
1594
|
+
export type ListUserOrganizationsResponses = {
|
|
1410
1595
|
/**
|
|
1411
|
-
*
|
|
1596
|
+
* An array of organizations the user belongs to.
|
|
1412
1597
|
*/
|
|
1413
|
-
200:
|
|
1598
|
+
200: Array<{
|
|
1599
|
+
/**
|
|
1600
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1601
|
+
*/
|
|
1602
|
+
realm?: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* Human-readable name of the organization
|
|
1605
|
+
*/
|
|
1606
|
+
displayName?: string;
|
|
1607
|
+
}>;
|
|
1414
1608
|
};
|
|
1415
|
-
export type
|
|
1416
|
-
export type
|
|
1609
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1610
|
+
export type ListUsersData = {
|
|
1417
1611
|
body?: never;
|
|
1418
1612
|
path?: never;
|
|
1419
1613
|
query?: never;
|
|
1420
|
-
url: '/
|
|
1614
|
+
url: '/users';
|
|
1421
1615
|
};
|
|
1422
|
-
export type
|
|
1616
|
+
export type ListUsersErrors = {
|
|
1423
1617
|
/**
|
|
1424
|
-
*
|
|
1618
|
+
* Not authenticated
|
|
1425
1619
|
*/
|
|
1426
|
-
|
|
1620
|
+
401: unknown;
|
|
1427
1621
|
};
|
|
1428
|
-
export type
|
|
1622
|
+
export type ListUsersResponses = {
|
|
1429
1623
|
/**
|
|
1430
|
-
*
|
|
1624
|
+
* An array of users
|
|
1431
1625
|
*/
|
|
1432
|
-
200:
|
|
1626
|
+
200: Array<User>;
|
|
1433
1627
|
};
|
|
1434
|
-
export type
|
|
1435
|
-
export type
|
|
1436
|
-
body
|
|
1628
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1629
|
+
export type CreateUserData = {
|
|
1630
|
+
body: UserCreateInput;
|
|
1437
1631
|
path?: never;
|
|
1438
1632
|
query?: never;
|
|
1439
|
-
url: '/
|
|
1633
|
+
url: '/users';
|
|
1440
1634
|
};
|
|
1441
|
-
export type
|
|
1635
|
+
export type CreateUserResponses = {
|
|
1442
1636
|
/**
|
|
1443
|
-
*
|
|
1444
|
-
*
|
|
1637
|
+
* Successfully created. Returns created user details.
|
|
1445
1638
|
*/
|
|
1446
|
-
200:
|
|
1639
|
+
200: User;
|
|
1640
|
+
};
|
|
1641
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1642
|
+
export type DeleteUserData = {
|
|
1643
|
+
body?: never;
|
|
1644
|
+
path: {
|
|
1447
1645
|
/**
|
|
1448
|
-
*
|
|
1646
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1449
1647
|
*/
|
|
1450
|
-
|
|
1648
|
+
user_id: string;
|
|
1451
1649
|
};
|
|
1452
|
-
};
|
|
1453
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1454
|
-
export type ListInvoicesData = {
|
|
1455
|
-
body?: never;
|
|
1456
|
-
path?: never;
|
|
1457
1650
|
query?: never;
|
|
1458
|
-
url: '/
|
|
1651
|
+
url: '/users/{user_id}';
|
|
1459
1652
|
};
|
|
1460
|
-
export type
|
|
1653
|
+
export type DeleteUserErrors = {
|
|
1654
|
+
/**
|
|
1655
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1656
|
+
*/
|
|
1657
|
+
400: unknown;
|
|
1461
1658
|
/**
|
|
1462
1659
|
* Not authenticated
|
|
1463
1660
|
*/
|
|
1464
1661
|
401: unknown;
|
|
1465
1662
|
};
|
|
1466
|
-
export type
|
|
1663
|
+
export type DeleteUserResponses = {
|
|
1467
1664
|
/**
|
|
1468
|
-
*
|
|
1665
|
+
* User profile information
|
|
1469
1666
|
*/
|
|
1470
|
-
200:
|
|
1667
|
+
200: User;
|
|
1471
1668
|
};
|
|
1472
|
-
export type
|
|
1473
|
-
export type
|
|
1669
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1670
|
+
export type GetUserData = {
|
|
1474
1671
|
body?: never;
|
|
1475
|
-
path
|
|
1672
|
+
path: {
|
|
1673
|
+
/**
|
|
1674
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1675
|
+
*/
|
|
1676
|
+
user_id: string;
|
|
1677
|
+
};
|
|
1476
1678
|
query?: never;
|
|
1477
|
-
url: '/
|
|
1679
|
+
url: '/users/{user_id}';
|
|
1478
1680
|
};
|
|
1479
|
-
export type
|
|
1681
|
+
export type GetUserErrors = {
|
|
1480
1682
|
/**
|
|
1481
|
-
*
|
|
1683
|
+
* Not authenticated
|
|
1482
1684
|
*/
|
|
1483
|
-
|
|
1484
|
-
};
|
|
1485
|
-
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1486
|
-
export type UpdateContactData = {
|
|
1487
|
-
body: BillingContact;
|
|
1488
|
-
path?: never;
|
|
1489
|
-
query?: never;
|
|
1490
|
-
url: '/billing/contact';
|
|
1685
|
+
401: unknown;
|
|
1491
1686
|
};
|
|
1492
|
-
export type
|
|
1687
|
+
export type GetUserResponses = {
|
|
1493
1688
|
/**
|
|
1494
|
-
*
|
|
1689
|
+
* User profile information
|
|
1495
1690
|
*/
|
|
1496
|
-
200:
|
|
1691
|
+
200: User;
|
|
1497
1692
|
};
|
|
1498
|
-
export type
|
|
1499
|
-
export type
|
|
1500
|
-
body
|
|
1501
|
-
path
|
|
1693
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1694
|
+
export type UpdateUserData = {
|
|
1695
|
+
body: UserUpdateInput;
|
|
1696
|
+
path: {
|
|
1697
|
+
/**
|
|
1698
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1699
|
+
*/
|
|
1700
|
+
user_id: string;
|
|
1701
|
+
};
|
|
1502
1702
|
query?: never;
|
|
1503
|
-
url: '/
|
|
1504
|
-
};
|
|
1505
|
-
export type GetCreditsErrors = {
|
|
1506
|
-
/**
|
|
1507
|
-
* Not authenticated
|
|
1508
|
-
*/
|
|
1509
|
-
401: unknown;
|
|
1703
|
+
url: '/users/{user_id}';
|
|
1510
1704
|
};
|
|
1511
|
-
export type
|
|
1705
|
+
export type UpdateUserResponses = {
|
|
1512
1706
|
/**
|
|
1513
|
-
*
|
|
1707
|
+
* Successfully created. Returns created user details.
|
|
1514
1708
|
*/
|
|
1515
|
-
200:
|
|
1709
|
+
200: User;
|
|
1516
1710
|
};
|
|
1517
|
-
export type
|
|
1518
|
-
export type
|
|
1519
|
-
body
|
|
1520
|
-
/**
|
|
1521
|
-
* Promotional code to redeem
|
|
1522
|
-
*/
|
|
1523
|
-
code?: string;
|
|
1524
|
-
};
|
|
1711
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1712
|
+
export type ListTokensData = {
|
|
1713
|
+
body?: never;
|
|
1525
1714
|
path?: never;
|
|
1526
1715
|
query?: never;
|
|
1527
|
-
url: '/
|
|
1716
|
+
url: '/tokens';
|
|
1528
1717
|
};
|
|
1529
|
-
export type
|
|
1718
|
+
export type ListTokensErrors = {
|
|
1530
1719
|
/**
|
|
1531
1720
|
* Not authenticated
|
|
1532
1721
|
*/
|
|
1533
1722
|
401: unknown;
|
|
1534
1723
|
};
|
|
1535
|
-
export type
|
|
1724
|
+
export type ListTokensResponses = {
|
|
1536
1725
|
/**
|
|
1537
|
-
*
|
|
1726
|
+
* Returns a list of access token details with masked secrets.
|
|
1538
1727
|
*/
|
|
1539
|
-
200:
|
|
1728
|
+
200: Array<Token>;
|
|
1540
1729
|
};
|
|
1541
|
-
export type
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1546
|
-
*/
|
|
1547
|
-
cluster_id: string;
|
|
1548
|
-
};
|
|
1730
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1731
|
+
export type CreateTokenData = {
|
|
1732
|
+
body: TokenCreateInput;
|
|
1733
|
+
path?: never;
|
|
1549
1734
|
query?: never;
|
|
1550
|
-
url: '/
|
|
1735
|
+
url: '/tokens';
|
|
1551
1736
|
};
|
|
1552
|
-
export type
|
|
1737
|
+
export type CreateTokenErrors = {
|
|
1553
1738
|
/**
|
|
1554
1739
|
* Not authenticated
|
|
1555
1740
|
*/
|
|
1556
1741
|
401: unknown;
|
|
1557
1742
|
};
|
|
1558
|
-
export type
|
|
1743
|
+
export type CreateTokenResponses = {
|
|
1559
1744
|
/**
|
|
1560
|
-
*
|
|
1745
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1561
1746
|
*/
|
|
1562
|
-
200:
|
|
1747
|
+
200: Token;
|
|
1563
1748
|
};
|
|
1564
|
-
export type
|
|
1565
|
-
export type
|
|
1566
|
-
body
|
|
1749
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1750
|
+
export type DeleteTokenData = {
|
|
1751
|
+
body?: never;
|
|
1567
1752
|
path: {
|
|
1568
1753
|
/**
|
|
1569
|
-
*
|
|
1754
|
+
* Generated unique identifier of the access token.
|
|
1570
1755
|
*/
|
|
1571
|
-
|
|
1756
|
+
token_id: string;
|
|
1572
1757
|
};
|
|
1573
1758
|
query?: never;
|
|
1574
|
-
url: '/
|
|
1759
|
+
url: '/tokens/{token_id}';
|
|
1575
1760
|
};
|
|
1576
|
-
export type
|
|
1761
|
+
export type DeleteTokenResponses = {
|
|
1577
1762
|
/**
|
|
1578
|
-
* Successfully
|
|
1763
|
+
* Successfully deleted.
|
|
1579
1764
|
*/
|
|
1580
|
-
200:
|
|
1765
|
+
200: unknown;
|
|
1581
1766
|
};
|
|
1582
|
-
export type
|
|
1583
|
-
export type DeleteChartData = {
|
|
1767
|
+
export type GetTokenData = {
|
|
1584
1768
|
body?: never;
|
|
1585
1769
|
path: {
|
|
1586
1770
|
/**
|
|
1587
|
-
*
|
|
1588
|
-
*/
|
|
1589
|
-
cluster_id: string;
|
|
1590
|
-
/**
|
|
1591
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1771
|
+
* Generated unique identifier of the access token.
|
|
1592
1772
|
*/
|
|
1593
|
-
|
|
1773
|
+
token_id: string;
|
|
1594
1774
|
};
|
|
1595
1775
|
query?: never;
|
|
1596
|
-
url: '/
|
|
1776
|
+
url: '/tokens/{token_id}';
|
|
1597
1777
|
};
|
|
1598
|
-
export type
|
|
1778
|
+
export type GetTokenErrors = {
|
|
1599
1779
|
/**
|
|
1600
|
-
*
|
|
1780
|
+
* Not authenticated
|
|
1601
1781
|
*/
|
|
1602
|
-
|
|
1603
|
-
};
|
|
1604
|
-
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1605
|
-
export type GetChartData = {
|
|
1606
|
-
body?: never;
|
|
1607
|
-
path: {
|
|
1608
|
-
/**
|
|
1609
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1610
|
-
*/
|
|
1611
|
-
cluster_id: string;
|
|
1612
|
-
/**
|
|
1613
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1614
|
-
*/
|
|
1615
|
-
chart_name: string;
|
|
1616
|
-
};
|
|
1617
|
-
query?: never;
|
|
1618
|
-
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1782
|
+
401: unknown;
|
|
1619
1783
|
};
|
|
1620
|
-
export type
|
|
1784
|
+
export type GetTokenResponses = {
|
|
1621
1785
|
/**
|
|
1622
|
-
* Returns
|
|
1786
|
+
* Returns access token details with masked secret.
|
|
1623
1787
|
*/
|
|
1624
|
-
200:
|
|
1788
|
+
200: Token;
|
|
1625
1789
|
};
|
|
1626
|
-
export type
|
|
1627
|
-
export type
|
|
1628
|
-
body:
|
|
1790
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1791
|
+
export type UpdateTokenData = {
|
|
1792
|
+
body: TokenUpdateInput;
|
|
1629
1793
|
path: {
|
|
1630
1794
|
/**
|
|
1631
|
-
*
|
|
1632
|
-
*/
|
|
1633
|
-
cluster_id: string;
|
|
1634
|
-
/**
|
|
1635
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1795
|
+
* Generated unique identifier of the access token.
|
|
1636
1796
|
*/
|
|
1637
|
-
|
|
1797
|
+
token_id: string;
|
|
1638
1798
|
};
|
|
1639
1799
|
query?: never;
|
|
1640
|
-
url: '/
|
|
1800
|
+
url: '/tokens/{token_id}';
|
|
1641
1801
|
};
|
|
1642
|
-
export type
|
|
1802
|
+
export type UpdateTokenErrors = {
|
|
1643
1803
|
/**
|
|
1644
|
-
*
|
|
1804
|
+
* Not authenticated
|
|
1645
1805
|
*/
|
|
1646
|
-
|
|
1806
|
+
401: unknown;
|
|
1647
1807
|
};
|
|
1648
|
-
export type
|
|
1649
|
-
|
|
1808
|
+
export type UpdateTokenResponses = {
|
|
1809
|
+
/**
|
|
1810
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1811
|
+
*/
|
|
1812
|
+
200: Token;
|
|
1813
|
+
};
|
|
1814
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1815
|
+
export type RegenerateTokenData = {
|
|
1650
1816
|
body?: never;
|
|
1651
1817
|
path: {
|
|
1652
1818
|
/**
|
|
1653
|
-
*
|
|
1819
|
+
* Generated unique identifier of the access token.
|
|
1654
1820
|
*/
|
|
1655
|
-
|
|
1821
|
+
token_id: string;
|
|
1656
1822
|
};
|
|
1657
1823
|
query?: never;
|
|
1658
|
-
url: '/
|
|
1824
|
+
url: '/tokens/{token_id}/secret';
|
|
1659
1825
|
};
|
|
1660
|
-
export type
|
|
1826
|
+
export type RegenerateTokenErrors = {
|
|
1661
1827
|
/**
|
|
1662
1828
|
* Not authenticated
|
|
1663
1829
|
*/
|
|
1664
1830
|
401: unknown;
|
|
1665
1831
|
};
|
|
1666
|
-
export type
|
|
1832
|
+
export type RegenerateTokenResponses = {
|
|
1667
1833
|
/**
|
|
1668
|
-
*
|
|
1834
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1669
1835
|
*/
|
|
1670
|
-
200:
|
|
1836
|
+
200: Token;
|
|
1671
1837
|
};
|
|
1672
|
-
export type
|
|
1673
|
-
export type
|
|
1674
|
-
body
|
|
1675
|
-
path
|
|
1676
|
-
/**
|
|
1677
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1678
|
-
*/
|
|
1679
|
-
cluster_id: string;
|
|
1680
|
-
};
|
|
1838
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1839
|
+
export type ListTicketsData = {
|
|
1840
|
+
body?: never;
|
|
1841
|
+
path?: never;
|
|
1681
1842
|
query?: never;
|
|
1682
|
-
url: '/
|
|
1843
|
+
url: '/tickets';
|
|
1683
1844
|
};
|
|
1684
|
-
export type
|
|
1845
|
+
export type ListTicketsResponses = {
|
|
1685
1846
|
/**
|
|
1686
|
-
*
|
|
1847
|
+
* Tickets for the organization.
|
|
1687
1848
|
*/
|
|
1688
|
-
|
|
1849
|
+
200: TicketListResponse;
|
|
1689
1850
|
};
|
|
1690
|
-
export type
|
|
1691
|
-
export type
|
|
1851
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1852
|
+
export type CreateTicketData = {
|
|
1853
|
+
body: {
|
|
1854
|
+
/**
|
|
1855
|
+
* JSON-encoded TicketCreateInput.
|
|
1856
|
+
*/
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1859
|
+
};
|
|
1860
|
+
path?: never;
|
|
1861
|
+
query?: never;
|
|
1862
|
+
url: '/tickets';
|
|
1863
|
+
};
|
|
1864
|
+
export type CreateTicketResponses = {
|
|
1692
1865
|
/**
|
|
1693
|
-
*
|
|
1866
|
+
* Ticket created.
|
|
1694
1867
|
*/
|
|
1695
|
-
200:
|
|
1868
|
+
200: Ticket;
|
|
1696
1869
|
};
|
|
1697
|
-
export type
|
|
1698
|
-
export type
|
|
1870
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1871
|
+
export type CloseTicketData = {
|
|
1699
1872
|
body?: never;
|
|
1700
1873
|
path: {
|
|
1701
|
-
|
|
1702
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1703
|
-
*/
|
|
1704
|
-
cluster_id: string;
|
|
1705
|
-
/**
|
|
1706
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1707
|
-
*/
|
|
1708
|
-
fleet_name: string;
|
|
1874
|
+
ticket_id: string;
|
|
1709
1875
|
};
|
|
1710
1876
|
query?: never;
|
|
1711
|
-
url: '/
|
|
1877
|
+
url: '/tickets/{ticket_id}';
|
|
1712
1878
|
};
|
|
1713
|
-
export type
|
|
1879
|
+
export type CloseTicketResponses = {
|
|
1714
1880
|
/**
|
|
1715
|
-
*
|
|
1881
|
+
* Ticket closed.
|
|
1716
1882
|
*/
|
|
1717
|
-
200:
|
|
1883
|
+
200: Ticket;
|
|
1718
1884
|
};
|
|
1719
|
-
export type
|
|
1720
|
-
export type
|
|
1885
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1886
|
+
export type GetTicketData = {
|
|
1721
1887
|
body?: never;
|
|
1722
1888
|
path: {
|
|
1723
|
-
|
|
1724
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1725
|
-
*/
|
|
1726
|
-
cluster_id: string;
|
|
1727
|
-
/**
|
|
1728
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1729
|
-
*/
|
|
1730
|
-
fleet_name: string;
|
|
1889
|
+
ticket_id: string;
|
|
1731
1890
|
};
|
|
1732
1891
|
query?: never;
|
|
1733
|
-
url: '/
|
|
1892
|
+
url: '/tickets/{ticket_id}';
|
|
1734
1893
|
};
|
|
1735
|
-
export type
|
|
1894
|
+
export type GetTicketResponses = {
|
|
1736
1895
|
/**
|
|
1737
|
-
*
|
|
1896
|
+
* Ticket with messages (internal notes excluded).
|
|
1738
1897
|
*/
|
|
1739
|
-
200:
|
|
1898
|
+
200: Ticket;
|
|
1740
1899
|
};
|
|
1741
|
-
export type
|
|
1742
|
-
export type
|
|
1743
|
-
body:
|
|
1744
|
-
path: {
|
|
1745
|
-
/**
|
|
1746
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1747
|
-
*/
|
|
1748
|
-
cluster_id: string;
|
|
1900
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1901
|
+
export type ReplyTicketData = {
|
|
1902
|
+
body: {
|
|
1749
1903
|
/**
|
|
1750
|
-
*
|
|
1904
|
+
* JSON-encoded TicketMessageInput.
|
|
1751
1905
|
*/
|
|
1752
|
-
|
|
1906
|
+
payload?: string;
|
|
1907
|
+
attachments?: Array<Blob | File>;
|
|
1908
|
+
};
|
|
1909
|
+
path: {
|
|
1910
|
+
ticket_id: string;
|
|
1753
1911
|
};
|
|
1754
1912
|
query?: never;
|
|
1755
|
-
url: '/
|
|
1913
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1756
1914
|
};
|
|
1757
|
-
export type
|
|
1915
|
+
export type ReplyTicketErrors = {
|
|
1758
1916
|
/**
|
|
1759
|
-
*
|
|
1917
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1760
1918
|
*/
|
|
1761
|
-
|
|
1919
|
+
409: unknown;
|
|
1762
1920
|
};
|
|
1763
|
-
export type
|
|
1764
|
-
export type UpdateFleetResponses = {
|
|
1921
|
+
export type ReplyTicketResponses = {
|
|
1765
1922
|
/**
|
|
1766
|
-
*
|
|
1923
|
+
* Reply appended.
|
|
1767
1924
|
*/
|
|
1768
|
-
200:
|
|
1925
|
+
200: TicketMessage;
|
|
1769
1926
|
};
|
|
1770
|
-
export type
|
|
1771
|
-
export type
|
|
1927
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1928
|
+
export type GetTicketAttachmentData = {
|
|
1772
1929
|
body?: never;
|
|
1773
1930
|
path: {
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
*/
|
|
1777
|
-
cluster_id: string;
|
|
1931
|
+
ticket_id: string;
|
|
1932
|
+
attachment_id: string;
|
|
1778
1933
|
};
|
|
1779
1934
|
query?: never;
|
|
1780
|
-
url: '/
|
|
1781
|
-
};
|
|
1782
|
-
export type QueryClusterErrors = {
|
|
1783
|
-
/**
|
|
1784
|
-
* Not authenticated
|
|
1785
|
-
*/
|
|
1786
|
-
401: unknown;
|
|
1935
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1787
1936
|
};
|
|
1788
|
-
export type
|
|
1937
|
+
export type GetTicketAttachmentResponses = {
|
|
1789
1938
|
/**
|
|
1790
|
-
*
|
|
1939
|
+
* Attachment binary stream.
|
|
1791
1940
|
*/
|
|
1792
|
-
200:
|
|
1941
|
+
200: Blob | File;
|
|
1793
1942
|
};
|
|
1794
|
-
export type
|
|
1943
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1944
|
+
export type ListRepositoriesData = {
|
|
1795
1945
|
body?: never;
|
|
1796
1946
|
path?: never;
|
|
1797
1947
|
query?: never;
|
|
1798
|
-
url: '/
|
|
1948
|
+
url: '/registry';
|
|
1799
1949
|
};
|
|
1800
|
-
export type
|
|
1950
|
+
export type ListRepositoriesErrors = {
|
|
1801
1951
|
/**
|
|
1802
1952
|
* Not authenticated
|
|
1803
1953
|
*/
|
|
1804
1954
|
401: unknown;
|
|
1805
|
-
};
|
|
1806
|
-
export type ListClustersResponses = {
|
|
1807
|
-
/**
|
|
1808
|
-
* An array of clusters
|
|
1809
|
-
*/
|
|
1810
|
-
200: Array<Cluster>;
|
|
1811
|
-
};
|
|
1812
|
-
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
1813
|
-
export type CreateClusterData = {
|
|
1814
|
-
body: ClusterCreateInput;
|
|
1815
|
-
path?: never;
|
|
1816
|
-
query?: never;
|
|
1817
|
-
url: '/clusters';
|
|
1818
|
-
};
|
|
1819
|
-
export type CreateClusterErrors = {
|
|
1820
1955
|
/**
|
|
1821
|
-
*
|
|
1956
|
+
* Internal server error
|
|
1822
1957
|
*/
|
|
1823
|
-
|
|
1958
|
+
500: unknown;
|
|
1824
1959
|
};
|
|
1825
|
-
export type
|
|
1826
|
-
export type CreateClusterResponses = {
|
|
1960
|
+
export type ListRepositoriesResponses = {
|
|
1827
1961
|
/**
|
|
1828
|
-
*
|
|
1962
|
+
* List of repositories
|
|
1829
1963
|
*/
|
|
1830
|
-
200:
|
|
1964
|
+
200: Array<RegistryRepository>;
|
|
1831
1965
|
};
|
|
1832
|
-
export type
|
|
1833
|
-
export type
|
|
1966
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1967
|
+
export type ListTagsData = {
|
|
1834
1968
|
body?: never;
|
|
1835
1969
|
path: {
|
|
1836
1970
|
/**
|
|
1837
|
-
*
|
|
1971
|
+
* Region where the repository is located
|
|
1838
1972
|
*/
|
|
1839
|
-
|
|
1973
|
+
region: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Name of the repository
|
|
1976
|
+
*/
|
|
1977
|
+
repository: string;
|
|
1840
1978
|
};
|
|
1841
1979
|
query?: never;
|
|
1842
|
-
url: '/
|
|
1980
|
+
url: '/registry/{region}/{repository}';
|
|
1843
1981
|
};
|
|
1844
|
-
export type
|
|
1982
|
+
export type ListTagsErrors = {
|
|
1845
1983
|
/**
|
|
1846
|
-
*
|
|
1984
|
+
* Not authenticated
|
|
1847
1985
|
*/
|
|
1848
|
-
|
|
1986
|
+
401: unknown;
|
|
1987
|
+
/**
|
|
1988
|
+
* Repository not found
|
|
1989
|
+
*/
|
|
1990
|
+
404: unknown;
|
|
1991
|
+
/**
|
|
1992
|
+
* Internal server error
|
|
1993
|
+
*/
|
|
1994
|
+
500: unknown;
|
|
1849
1995
|
};
|
|
1850
|
-
export type
|
|
1851
|
-
|
|
1996
|
+
export type ListTagsResponses = {
|
|
1997
|
+
/**
|
|
1998
|
+
* Repository with tags
|
|
1999
|
+
*/
|
|
2000
|
+
200: RegistryRepositoryWithTags;
|
|
2001
|
+
};
|
|
2002
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2003
|
+
export type DeleteTagData = {
|
|
1852
2004
|
body?: never;
|
|
1853
2005
|
path: {
|
|
1854
2006
|
/**
|
|
1855
|
-
*
|
|
2007
|
+
* Region where the repository is located
|
|
1856
2008
|
*/
|
|
1857
|
-
|
|
2009
|
+
region: string;
|
|
2010
|
+
/**
|
|
2011
|
+
* Name of the repository
|
|
2012
|
+
*/
|
|
2013
|
+
repository: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* Name of the tag
|
|
2016
|
+
*/
|
|
2017
|
+
tag: string;
|
|
1858
2018
|
};
|
|
1859
2019
|
query?: never;
|
|
1860
|
-
url: '/
|
|
2020
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1861
2021
|
};
|
|
1862
|
-
export type
|
|
2022
|
+
export type DeleteTagErrors = {
|
|
1863
2023
|
/**
|
|
1864
|
-
*
|
|
2024
|
+
* Not authenticated
|
|
1865
2025
|
*/
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
cluster_id: string;
|
|
1876
|
-
};
|
|
1877
|
-
query?: never;
|
|
1878
|
-
url: '/clusters/{cluster_id}';
|
|
2026
|
+
401: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Tag not found
|
|
2029
|
+
*/
|
|
2030
|
+
404: unknown;
|
|
2031
|
+
/**
|
|
2032
|
+
* Internal server error
|
|
2033
|
+
*/
|
|
2034
|
+
500: unknown;
|
|
1879
2035
|
};
|
|
1880
|
-
export type
|
|
2036
|
+
export type DeleteTagResponses = {
|
|
1881
2037
|
/**
|
|
1882
|
-
*
|
|
2038
|
+
* Tag successfully deleted
|
|
1883
2039
|
*/
|
|
1884
|
-
200:
|
|
2040
|
+
200: unknown;
|
|
1885
2041
|
};
|
|
1886
|
-
export type
|
|
1887
|
-
export type GetJoinInformationData = {
|
|
2042
|
+
export type GetTagData = {
|
|
1888
2043
|
body?: never;
|
|
1889
2044
|
path: {
|
|
1890
2045
|
/**
|
|
1891
|
-
*
|
|
2046
|
+
* Region where the repository is located
|
|
1892
2047
|
*/
|
|
1893
|
-
|
|
2048
|
+
region: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Name of the repository
|
|
2051
|
+
*/
|
|
2052
|
+
repository: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Name of the tag
|
|
2055
|
+
*/
|
|
2056
|
+
tag: string;
|
|
1894
2057
|
};
|
|
1895
2058
|
query?: never;
|
|
1896
|
-
url: '/
|
|
2059
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1897
2060
|
};
|
|
1898
|
-
export type
|
|
2061
|
+
export type GetTagErrors = {
|
|
1899
2062
|
/**
|
|
1900
2063
|
* Not authenticated
|
|
1901
2064
|
*/
|
|
1902
2065
|
401: unknown;
|
|
2066
|
+
/**
|
|
2067
|
+
* Tag not found
|
|
2068
|
+
*/
|
|
2069
|
+
404: unknown;
|
|
2070
|
+
/**
|
|
2071
|
+
* Internal server error
|
|
2072
|
+
*/
|
|
2073
|
+
500: unknown;
|
|
1903
2074
|
};
|
|
1904
|
-
export type
|
|
2075
|
+
export type GetTagResponses = {
|
|
1905
2076
|
/**
|
|
1906
|
-
*
|
|
2077
|
+
* Tag details
|
|
1907
2078
|
*/
|
|
1908
|
-
200:
|
|
2079
|
+
200: RegistryTag;
|
|
1909
2080
|
};
|
|
1910
|
-
export type
|
|
1911
|
-
export type
|
|
2081
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2082
|
+
export type GetOrganizationData = {
|
|
1912
2083
|
body?: never;
|
|
1913
2084
|
path?: never;
|
|
1914
2085
|
query?: never;
|
|
1915
|
-
url: '/
|
|
2086
|
+
url: '/organization';
|
|
1916
2087
|
};
|
|
1917
|
-
export type
|
|
2088
|
+
export type GetOrganizationResponses = {
|
|
1918
2089
|
/**
|
|
1919
|
-
*
|
|
2090
|
+
* Returns a single object containing organization details.
|
|
1920
2091
|
*/
|
|
1921
|
-
|
|
2092
|
+
200: Organization;
|
|
1922
2093
|
};
|
|
1923
|
-
export type
|
|
2094
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2095
|
+
export type CreateOrganizationData = {
|
|
2096
|
+
body: OrganizationCreateInput;
|
|
2097
|
+
path?: never;
|
|
2098
|
+
query?: never;
|
|
2099
|
+
url: '/organization';
|
|
2100
|
+
};
|
|
2101
|
+
export type CreateOrganizationResponses = {
|
|
1924
2102
|
/**
|
|
1925
|
-
*
|
|
2103
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2104
|
+
*
|
|
1926
2105
|
*/
|
|
1927
|
-
200:
|
|
2106
|
+
200: OrganizationCreateOutput;
|
|
1928
2107
|
};
|
|
1929
|
-
export type
|
|
1930
|
-
export type
|
|
2108
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2109
|
+
export type PostMcpData = {
|
|
2110
|
+
/**
|
|
2111
|
+
* JSON-RPC 2.0 request payload
|
|
2112
|
+
*/
|
|
1931
2113
|
body: {
|
|
2114
|
+
jsonrpc?: string;
|
|
2115
|
+
method?: string;
|
|
2116
|
+
id?: string | number;
|
|
1932
2117
|
/**
|
|
1933
|
-
*
|
|
2118
|
+
* Method-specific parameters
|
|
1934
2119
|
*/
|
|
1935
|
-
|
|
2120
|
+
params?: {
|
|
2121
|
+
[key: string]: unknown;
|
|
2122
|
+
};
|
|
1936
2123
|
};
|
|
1937
2124
|
path?: never;
|
|
1938
2125
|
query?: never;
|
|
1939
|
-
url: '/
|
|
2126
|
+
url: '/mcp';
|
|
1940
2127
|
};
|
|
1941
|
-
export type
|
|
2128
|
+
export type PostMcpErrors = {
|
|
1942
2129
|
/**
|
|
1943
|
-
*
|
|
2130
|
+
* Not authenticated
|
|
1944
2131
|
*/
|
|
1945
|
-
|
|
2132
|
+
401: unknown;
|
|
1946
2133
|
};
|
|
1947
|
-
export type
|
|
1948
|
-
export type GetInviteData = {
|
|
1949
|
-
body?: never;
|
|
1950
|
-
path: {
|
|
1951
|
-
/**
|
|
1952
|
-
* Invitation code
|
|
1953
|
-
*/
|
|
1954
|
-
code: string;
|
|
1955
|
-
};
|
|
1956
|
-
query?: never;
|
|
1957
|
-
url: '/invites/{code}';
|
|
1958
|
-
};
|
|
1959
|
-
export type GetInviteResponses = {
|
|
2134
|
+
export type PostMcpResponses = {
|
|
1960
2135
|
/**
|
|
1961
|
-
*
|
|
2136
|
+
* JSON-RPC 2.0 success or error response
|
|
1962
2137
|
*/
|
|
1963
|
-
200:
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
2138
|
+
200: {
|
|
2139
|
+
jsonrpc?: string;
|
|
2140
|
+
id?: string | number;
|
|
2141
|
+
result?: {
|
|
2142
|
+
[key: string]: unknown;
|
|
2143
|
+
};
|
|
2144
|
+
error?: {
|
|
2145
|
+
code?: number;
|
|
2146
|
+
message?: string;
|
|
2147
|
+
};
|
|
1973
2148
|
};
|
|
1974
|
-
query?: never;
|
|
1975
|
-
url: '/invites/{email}';
|
|
1976
|
-
};
|
|
1977
|
-
export type DeleteInviteResponses = {
|
|
1978
|
-
/**
|
|
1979
|
-
* Successfully deleted.
|
|
1980
|
-
*/
|
|
1981
|
-
200: unknown;
|
|
1982
2149
|
};
|
|
2150
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1983
2151
|
export type ListMarketplaceChartsData = {
|
|
1984
2152
|
body?: never;
|
|
1985
2153
|
path?: never;
|
|
@@ -2027,570 +2195,730 @@ export type GetMarketplaceChartFilesResponses = {
|
|
|
2027
2195
|
200: MarketplaceListingFiles;
|
|
2028
2196
|
};
|
|
2029
2197
|
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2030
|
-
export type
|
|
2031
|
-
|
|
2032
|
-
* JSON-RPC 2.0 request payload
|
|
2033
|
-
*/
|
|
2034
|
-
body: {
|
|
2035
|
-
jsonrpc?: string;
|
|
2036
|
-
method?: string;
|
|
2037
|
-
id?: string | number;
|
|
2038
|
-
/**
|
|
2039
|
-
* Method-specific parameters
|
|
2040
|
-
*/
|
|
2041
|
-
params?: {
|
|
2042
|
-
[key: string]: unknown;
|
|
2043
|
-
};
|
|
2044
|
-
};
|
|
2198
|
+
export type ListInvitesData = {
|
|
2199
|
+
body?: never;
|
|
2045
2200
|
path?: never;
|
|
2046
2201
|
query?: never;
|
|
2047
|
-
url: '/
|
|
2202
|
+
url: '/invites';
|
|
2048
2203
|
};
|
|
2049
|
-
export type
|
|
2204
|
+
export type ListInvitesErrors = {
|
|
2050
2205
|
/**
|
|
2051
2206
|
* Not authenticated
|
|
2052
2207
|
*/
|
|
2053
2208
|
401: unknown;
|
|
2054
2209
|
};
|
|
2055
|
-
export type
|
|
2210
|
+
export type ListInvitesResponses = {
|
|
2056
2211
|
/**
|
|
2057
|
-
*
|
|
2212
|
+
* An array of invites
|
|
2058
2213
|
*/
|
|
2059
|
-
200:
|
|
2060
|
-
jsonrpc?: string;
|
|
2061
|
-
id?: string | number;
|
|
2062
|
-
result?: {
|
|
2063
|
-
[key: string]: unknown;
|
|
2064
|
-
};
|
|
2065
|
-
error?: {
|
|
2066
|
-
code?: number;
|
|
2067
|
-
message?: string;
|
|
2068
|
-
};
|
|
2069
|
-
};
|
|
2214
|
+
200: Array<Invite>;
|
|
2070
2215
|
};
|
|
2071
|
-
export type
|
|
2072
|
-
export type
|
|
2073
|
-
body
|
|
2216
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2217
|
+
export type CreateInviteData = {
|
|
2218
|
+
body: InviteCreateInput;
|
|
2074
2219
|
path?: never;
|
|
2075
2220
|
query?: never;
|
|
2076
|
-
url: '/
|
|
2221
|
+
url: '/invites';
|
|
2077
2222
|
};
|
|
2078
|
-
export type
|
|
2223
|
+
export type CreateInviteResponses = {
|
|
2079
2224
|
/**
|
|
2080
|
-
*
|
|
2225
|
+
* Successfully created. Returns created invite details.
|
|
2081
2226
|
*/
|
|
2082
|
-
200:
|
|
2227
|
+
200: Invite;
|
|
2083
2228
|
};
|
|
2084
|
-
export type
|
|
2085
|
-
export type
|
|
2086
|
-
body
|
|
2087
|
-
path
|
|
2229
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2230
|
+
export type GetInviteData = {
|
|
2231
|
+
body?: never;
|
|
2232
|
+
path: {
|
|
2233
|
+
/**
|
|
2234
|
+
* Invitation code
|
|
2235
|
+
*/
|
|
2236
|
+
code: string;
|
|
2237
|
+
};
|
|
2088
2238
|
query?: never;
|
|
2089
|
-
url: '/
|
|
2239
|
+
url: '/invites/{code}';
|
|
2090
2240
|
};
|
|
2091
|
-
export type
|
|
2241
|
+
export type GetInviteResponses = {
|
|
2092
2242
|
/**
|
|
2093
|
-
*
|
|
2243
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2244
|
+
*/
|
|
2245
|
+
200: {
|
|
2246
|
+
/**
|
|
2247
|
+
* Email address the invite was issued to.
|
|
2248
|
+
*/
|
|
2249
|
+
email?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* Identifier of the organization the invite grants access to.
|
|
2252
|
+
*/
|
|
2253
|
+
organization_id?: string;
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2257
|
+
export type DeleteInviteData = {
|
|
2258
|
+
body?: never;
|
|
2259
|
+
path: {
|
|
2260
|
+
/**
|
|
2261
|
+
* User email address
|
|
2262
|
+
*/
|
|
2263
|
+
email: string;
|
|
2264
|
+
};
|
|
2265
|
+
query?: never;
|
|
2266
|
+
url: '/invites/{email}';
|
|
2267
|
+
};
|
|
2268
|
+
export type DeleteInviteResponses = {
|
|
2269
|
+
/**
|
|
2270
|
+
* Successfully deleted.
|
|
2094
2271
|
*/
|
|
2095
2272
|
200: unknown;
|
|
2096
2273
|
};
|
|
2097
|
-
export type
|
|
2274
|
+
export type QueryClusterData = {
|
|
2098
2275
|
body?: never;
|
|
2099
|
-
path
|
|
2276
|
+
path: {
|
|
2277
|
+
/**
|
|
2278
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2279
|
+
*/
|
|
2280
|
+
cluster_id: string;
|
|
2281
|
+
};
|
|
2100
2282
|
query?: never;
|
|
2101
|
-
url: '/
|
|
2283
|
+
url: '/clusters/{cluster_id}/query';
|
|
2102
2284
|
};
|
|
2103
|
-
export type
|
|
2285
|
+
export type QueryClusterErrors = {
|
|
2104
2286
|
/**
|
|
2105
2287
|
* Not authenticated
|
|
2106
2288
|
*/
|
|
2107
2289
|
401: unknown;
|
|
2108
|
-
/**
|
|
2109
|
-
* Internal server error
|
|
2110
|
-
*/
|
|
2111
|
-
500: unknown;
|
|
2112
2290
|
};
|
|
2113
|
-
export type
|
|
2291
|
+
export type QueryClusterResponses = {
|
|
2114
2292
|
/**
|
|
2115
|
-
*
|
|
2293
|
+
* Kubernetes API response
|
|
2116
2294
|
*/
|
|
2117
|
-
200:
|
|
2295
|
+
200: unknown;
|
|
2118
2296
|
};
|
|
2119
|
-
export type
|
|
2120
|
-
export type ListTagsData = {
|
|
2297
|
+
export type ListFleetsData = {
|
|
2121
2298
|
body?: never;
|
|
2122
2299
|
path: {
|
|
2123
2300
|
/**
|
|
2124
|
-
*
|
|
2125
|
-
*/
|
|
2126
|
-
region: string;
|
|
2127
|
-
/**
|
|
2128
|
-
* Name of the repository
|
|
2301
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2129
2302
|
*/
|
|
2130
|
-
|
|
2303
|
+
cluster_id: string;
|
|
2131
2304
|
};
|
|
2132
2305
|
query?: never;
|
|
2133
|
-
url: '/
|
|
2306
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2134
2307
|
};
|
|
2135
|
-
export type
|
|
2308
|
+
export type ListFleetsErrors = {
|
|
2136
2309
|
/**
|
|
2137
2310
|
* Not authenticated
|
|
2138
2311
|
*/
|
|
2139
2312
|
401: unknown;
|
|
2313
|
+
};
|
|
2314
|
+
export type ListFleetsResponses = {
|
|
2140
2315
|
/**
|
|
2141
|
-
*
|
|
2316
|
+
* An array of fleets
|
|
2142
2317
|
*/
|
|
2143
|
-
|
|
2318
|
+
200: Array<Fleet>;
|
|
2319
|
+
};
|
|
2320
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2321
|
+
export type CreateFleetData = {
|
|
2322
|
+
body: FleetCreateInput;
|
|
2323
|
+
path: {
|
|
2324
|
+
/**
|
|
2325
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2326
|
+
*/
|
|
2327
|
+
cluster_id: string;
|
|
2328
|
+
};
|
|
2329
|
+
query?: never;
|
|
2330
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2331
|
+
};
|
|
2332
|
+
export type CreateFleetErrors = {
|
|
2144
2333
|
/**
|
|
2145
|
-
*
|
|
2334
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2146
2335
|
*/
|
|
2147
|
-
|
|
2336
|
+
402: string;
|
|
2337
|
+
/**
|
|
2338
|
+
* 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.
|
|
2339
|
+
*/
|
|
2340
|
+
409: string;
|
|
2148
2341
|
};
|
|
2149
|
-
export type
|
|
2342
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2343
|
+
export type CreateFleetResponses = {
|
|
2150
2344
|
/**
|
|
2151
|
-
*
|
|
2345
|
+
* Successfully created. Returns created Fleet ID.
|
|
2152
2346
|
*/
|
|
2153
|
-
200:
|
|
2347
|
+
200: string;
|
|
2154
2348
|
};
|
|
2155
|
-
export type
|
|
2156
|
-
export type
|
|
2349
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2350
|
+
export type DeleteFleetData = {
|
|
2157
2351
|
body?: never;
|
|
2158
2352
|
path: {
|
|
2159
2353
|
/**
|
|
2160
|
-
*
|
|
2354
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2161
2355
|
*/
|
|
2162
|
-
|
|
2356
|
+
cluster_id: string;
|
|
2163
2357
|
/**
|
|
2164
|
-
*
|
|
2358
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2165
2359
|
*/
|
|
2166
|
-
|
|
2360
|
+
fleet_name: string;
|
|
2361
|
+
};
|
|
2362
|
+
query?: never;
|
|
2363
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2364
|
+
};
|
|
2365
|
+
export type DeleteFleetErrors = {
|
|
2366
|
+
/**
|
|
2367
|
+
* 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.
|
|
2368
|
+
*/
|
|
2369
|
+
409: string;
|
|
2370
|
+
};
|
|
2371
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2372
|
+
export type DeleteFleetResponses = {
|
|
2373
|
+
/**
|
|
2374
|
+
* Successfully deleted.
|
|
2375
|
+
*/
|
|
2376
|
+
200: string;
|
|
2377
|
+
};
|
|
2378
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2379
|
+
export type GetFleetData = {
|
|
2380
|
+
body?: never;
|
|
2381
|
+
path: {
|
|
2167
2382
|
/**
|
|
2168
|
-
*
|
|
2383
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2169
2384
|
*/
|
|
2170
|
-
|
|
2385
|
+
cluster_id: string;
|
|
2386
|
+
/**
|
|
2387
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2388
|
+
*/
|
|
2389
|
+
fleet_name: string;
|
|
2171
2390
|
};
|
|
2172
2391
|
query?: never;
|
|
2173
|
-
url: '/
|
|
2392
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2174
2393
|
};
|
|
2175
|
-
export type
|
|
2394
|
+
export type GetFleetResponses = {
|
|
2176
2395
|
/**
|
|
2177
|
-
*
|
|
2396
|
+
* Returns a single object containing fleet details.
|
|
2178
2397
|
*/
|
|
2179
|
-
|
|
2398
|
+
200: Fleet;
|
|
2399
|
+
};
|
|
2400
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2401
|
+
export type UpdateFleetData = {
|
|
2402
|
+
body: FleetUpdateInput;
|
|
2403
|
+
path: {
|
|
2404
|
+
/**
|
|
2405
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2406
|
+
*/
|
|
2407
|
+
cluster_id: string;
|
|
2408
|
+
/**
|
|
2409
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2410
|
+
*/
|
|
2411
|
+
fleet_name: string;
|
|
2412
|
+
};
|
|
2413
|
+
query?: never;
|
|
2414
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2415
|
+
};
|
|
2416
|
+
export type UpdateFleetErrors = {
|
|
2180
2417
|
/**
|
|
2181
|
-
*
|
|
2418
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2182
2419
|
*/
|
|
2183
|
-
|
|
2420
|
+
402: string;
|
|
2184
2421
|
/**
|
|
2185
|
-
*
|
|
2422
|
+
* 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.
|
|
2186
2423
|
*/
|
|
2187
|
-
|
|
2424
|
+
409: string;
|
|
2188
2425
|
};
|
|
2189
|
-
export type
|
|
2426
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2427
|
+
export type UpdateFleetResponses = {
|
|
2190
2428
|
/**
|
|
2191
|
-
*
|
|
2429
|
+
* Successfully updated.
|
|
2192
2430
|
*/
|
|
2193
|
-
200:
|
|
2431
|
+
200: string;
|
|
2194
2432
|
};
|
|
2195
|
-
export type
|
|
2433
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2434
|
+
export type ListChartsData = {
|
|
2196
2435
|
body?: never;
|
|
2197
2436
|
path: {
|
|
2198
2437
|
/**
|
|
2199
|
-
*
|
|
2200
|
-
*/
|
|
2201
|
-
region: string;
|
|
2202
|
-
/**
|
|
2203
|
-
* Name of the repository
|
|
2204
|
-
*/
|
|
2205
|
-
repository: string;
|
|
2206
|
-
/**
|
|
2207
|
-
* Name of the tag
|
|
2438
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2208
2439
|
*/
|
|
2209
|
-
|
|
2440
|
+
cluster_id: string;
|
|
2210
2441
|
};
|
|
2211
2442
|
query?: never;
|
|
2212
|
-
url: '/
|
|
2443
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2213
2444
|
};
|
|
2214
|
-
export type
|
|
2445
|
+
export type ListChartsErrors = {
|
|
2215
2446
|
/**
|
|
2216
2447
|
* Not authenticated
|
|
2217
2448
|
*/
|
|
2218
2449
|
401: unknown;
|
|
2450
|
+
};
|
|
2451
|
+
export type ListChartsResponses = {
|
|
2219
2452
|
/**
|
|
2220
|
-
*
|
|
2453
|
+
* An array of charts
|
|
2221
2454
|
*/
|
|
2222
|
-
|
|
2455
|
+
200: Array<Chart>;
|
|
2456
|
+
};
|
|
2457
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2458
|
+
export type CreateChartData = {
|
|
2459
|
+
body: ChartCreateInput;
|
|
2460
|
+
path: {
|
|
2461
|
+
/**
|
|
2462
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2463
|
+
*/
|
|
2464
|
+
cluster_id: string;
|
|
2465
|
+
};
|
|
2466
|
+
query?: never;
|
|
2467
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2468
|
+
};
|
|
2469
|
+
export type CreateChartErrors = {
|
|
2223
2470
|
/**
|
|
2224
|
-
*
|
|
2471
|
+
* 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.
|
|
2225
2472
|
*/
|
|
2226
|
-
|
|
2473
|
+
409: string;
|
|
2227
2474
|
};
|
|
2228
|
-
export type
|
|
2475
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2476
|
+
export type CreateChartResponses = {
|
|
2229
2477
|
/**
|
|
2230
|
-
*
|
|
2478
|
+
* Successfully created. Returns created Chart ID.
|
|
2231
2479
|
*/
|
|
2232
|
-
200:
|
|
2480
|
+
200: string;
|
|
2233
2481
|
};
|
|
2234
|
-
export type
|
|
2235
|
-
export type
|
|
2482
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2483
|
+
export type DeleteChartData = {
|
|
2236
2484
|
body?: never;
|
|
2237
|
-
path
|
|
2485
|
+
path: {
|
|
2486
|
+
/**
|
|
2487
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2488
|
+
*/
|
|
2489
|
+
cluster_id: string;
|
|
2490
|
+
/**
|
|
2491
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2492
|
+
*/
|
|
2493
|
+
chart_name: string;
|
|
2494
|
+
};
|
|
2238
2495
|
query?: never;
|
|
2239
|
-
url: '/
|
|
2496
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2240
2497
|
};
|
|
2241
|
-
export type
|
|
2498
|
+
export type DeleteChartErrors = {
|
|
2242
2499
|
/**
|
|
2243
|
-
*
|
|
2500
|
+
* 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.
|
|
2244
2501
|
*/
|
|
2245
|
-
|
|
2502
|
+
409: string;
|
|
2246
2503
|
};
|
|
2247
|
-
export type
|
|
2248
|
-
export type
|
|
2249
|
-
|
|
2504
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2505
|
+
export type DeleteChartResponses = {
|
|
2506
|
+
/**
|
|
2507
|
+
* Successfully deleted.
|
|
2508
|
+
*/
|
|
2509
|
+
200: string;
|
|
2510
|
+
};
|
|
2511
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2512
|
+
export type GetChartData = {
|
|
2513
|
+
body?: never;
|
|
2514
|
+
path: {
|
|
2250
2515
|
/**
|
|
2251
|
-
*
|
|
2516
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2252
2517
|
*/
|
|
2253
|
-
|
|
2254
|
-
|
|
2518
|
+
cluster_id: string;
|
|
2519
|
+
/**
|
|
2520
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2521
|
+
*/
|
|
2522
|
+
chart_name: string;
|
|
2255
2523
|
};
|
|
2256
|
-
path?: never;
|
|
2257
2524
|
query?: never;
|
|
2258
|
-
url: '/
|
|
2525
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2259
2526
|
};
|
|
2260
|
-
export type
|
|
2527
|
+
export type GetChartResponses = {
|
|
2261
2528
|
/**
|
|
2262
|
-
*
|
|
2529
|
+
* Returns a single object containing chart details.
|
|
2263
2530
|
*/
|
|
2264
|
-
200:
|
|
2531
|
+
200: Chart;
|
|
2265
2532
|
};
|
|
2266
|
-
export type
|
|
2267
|
-
export type
|
|
2268
|
-
body
|
|
2533
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2534
|
+
export type UpdateChartData = {
|
|
2535
|
+
body: ChartUpdateInput;
|
|
2269
2536
|
path: {
|
|
2270
|
-
|
|
2537
|
+
/**
|
|
2538
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2539
|
+
*/
|
|
2540
|
+
cluster_id: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2543
|
+
*/
|
|
2544
|
+
chart_name: string;
|
|
2271
2545
|
};
|
|
2272
2546
|
query?: never;
|
|
2273
|
-
url: '/
|
|
2547
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2274
2548
|
};
|
|
2275
|
-
export type
|
|
2549
|
+
export type UpdateChartErrors = {
|
|
2276
2550
|
/**
|
|
2277
|
-
*
|
|
2551
|
+
* 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.
|
|
2278
2552
|
*/
|
|
2279
|
-
|
|
2553
|
+
409: string;
|
|
2280
2554
|
};
|
|
2281
|
-
export type
|
|
2282
|
-
export type
|
|
2555
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2556
|
+
export type UpdateChartResponses = {
|
|
2557
|
+
/**
|
|
2558
|
+
* Successfully updated.
|
|
2559
|
+
*/
|
|
2560
|
+
200: string;
|
|
2561
|
+
};
|
|
2562
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2563
|
+
export type ListClustersData = {
|
|
2283
2564
|
body?: never;
|
|
2284
|
-
path
|
|
2285
|
-
ticket_id: string;
|
|
2286
|
-
};
|
|
2565
|
+
path?: never;
|
|
2287
2566
|
query?: never;
|
|
2288
|
-
url: '/
|
|
2567
|
+
url: '/clusters';
|
|
2289
2568
|
};
|
|
2290
|
-
export type
|
|
2569
|
+
export type ListClustersErrors = {
|
|
2291
2570
|
/**
|
|
2292
|
-
*
|
|
2571
|
+
* Not authenticated
|
|
2293
2572
|
*/
|
|
2294
|
-
|
|
2573
|
+
401: unknown;
|
|
2295
2574
|
};
|
|
2296
|
-
export type
|
|
2297
|
-
|
|
2298
|
-
|
|
2575
|
+
export type ListClustersResponses = {
|
|
2576
|
+
/**
|
|
2577
|
+
* An array of clusters
|
|
2578
|
+
*/
|
|
2579
|
+
200: Array<Cluster>;
|
|
2580
|
+
};
|
|
2581
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2582
|
+
export type CreateClusterData = {
|
|
2583
|
+
body: ClusterCreateInput;
|
|
2584
|
+
path?: never;
|
|
2585
|
+
query?: never;
|
|
2586
|
+
url: '/clusters';
|
|
2587
|
+
};
|
|
2588
|
+
export type CreateClusterErrors = {
|
|
2589
|
+
/**
|
|
2590
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2591
|
+
*/
|
|
2592
|
+
402: string;
|
|
2593
|
+
};
|
|
2594
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2595
|
+
export type CreateClusterResponses = {
|
|
2596
|
+
/**
|
|
2597
|
+
* Successfully created. Returns created Cluster ID.
|
|
2598
|
+
*/
|
|
2599
|
+
200: string;
|
|
2600
|
+
};
|
|
2601
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2602
|
+
export type DeleteClusterData = {
|
|
2603
|
+
body?: never;
|
|
2604
|
+
path: {
|
|
2299
2605
|
/**
|
|
2300
|
-
*
|
|
2606
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2301
2607
|
*/
|
|
2302
|
-
|
|
2303
|
-
attachments?: Array<Blob | File>;
|
|
2304
|
-
};
|
|
2305
|
-
path: {
|
|
2306
|
-
ticket_id: string;
|
|
2608
|
+
cluster_id: string;
|
|
2307
2609
|
};
|
|
2308
2610
|
query?: never;
|
|
2309
|
-
url: '/
|
|
2611
|
+
url: '/clusters/{cluster_id}';
|
|
2310
2612
|
};
|
|
2311
|
-
export type
|
|
2613
|
+
export type DeleteClusterErrors = {
|
|
2312
2614
|
/**
|
|
2313
|
-
*
|
|
2615
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
2314
2616
|
*/
|
|
2315
|
-
|
|
2617
|
+
404: unknown;
|
|
2618
|
+
/**
|
|
2619
|
+
* 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.
|
|
2620
|
+
*/
|
|
2621
|
+
409: string;
|
|
2622
|
+
/**
|
|
2623
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2624
|
+
*/
|
|
2625
|
+
503: unknown;
|
|
2316
2626
|
};
|
|
2317
|
-
export type
|
|
2627
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2628
|
+
export type DeleteClusterResponses = {
|
|
2318
2629
|
/**
|
|
2319
|
-
*
|
|
2630
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2320
2631
|
*/
|
|
2321
|
-
200:
|
|
2632
|
+
200: string;
|
|
2322
2633
|
};
|
|
2323
|
-
export type
|
|
2324
|
-
export type
|
|
2634
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2635
|
+
export type GetClusterData = {
|
|
2325
2636
|
body?: never;
|
|
2326
2637
|
path: {
|
|
2327
|
-
|
|
2328
|
-
|
|
2638
|
+
/**
|
|
2639
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2640
|
+
*/
|
|
2641
|
+
cluster_id: string;
|
|
2642
|
+
};
|
|
2643
|
+
query?: never;
|
|
2644
|
+
url: '/clusters/{cluster_id}';
|
|
2645
|
+
};
|
|
2646
|
+
export type GetClusterResponses = {
|
|
2647
|
+
/**
|
|
2648
|
+
* Returns a single object containing cluster details.
|
|
2649
|
+
*/
|
|
2650
|
+
200: Cluster;
|
|
2651
|
+
};
|
|
2652
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2653
|
+
export type UpdateClusterData = {
|
|
2654
|
+
body: ClusterUpdateInput;
|
|
2655
|
+
path: {
|
|
2656
|
+
/**
|
|
2657
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2658
|
+
*/
|
|
2659
|
+
cluster_id: string;
|
|
2329
2660
|
};
|
|
2330
2661
|
query?: never;
|
|
2331
|
-
url: '/
|
|
2662
|
+
url: '/clusters/{cluster_id}';
|
|
2332
2663
|
};
|
|
2333
|
-
export type
|
|
2664
|
+
export type UpdateClusterErrors = {
|
|
2334
2665
|
/**
|
|
2335
|
-
*
|
|
2666
|
+
* 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.
|
|
2336
2667
|
*/
|
|
2337
|
-
|
|
2668
|
+
409: string;
|
|
2338
2669
|
};
|
|
2339
|
-
export type
|
|
2340
|
-
export type
|
|
2670
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2671
|
+
export type UpdateClusterResponses = {
|
|
2672
|
+
/**
|
|
2673
|
+
* Successfully updated. Returns updated cluster details.
|
|
2674
|
+
*/
|
|
2675
|
+
200: Cluster;
|
|
2676
|
+
};
|
|
2677
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2678
|
+
export type GetJoinInformationData = {
|
|
2341
2679
|
body?: never;
|
|
2342
|
-
path
|
|
2680
|
+
path: {
|
|
2681
|
+
/**
|
|
2682
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2683
|
+
*/
|
|
2684
|
+
cluster_id: string;
|
|
2685
|
+
};
|
|
2343
2686
|
query?: never;
|
|
2344
|
-
url: '/
|
|
2687
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2345
2688
|
};
|
|
2346
|
-
export type
|
|
2689
|
+
export type GetJoinInformationErrors = {
|
|
2347
2690
|
/**
|
|
2348
2691
|
* Not authenticated
|
|
2349
2692
|
*/
|
|
2350
2693
|
401: unknown;
|
|
2694
|
+
/**
|
|
2695
|
+
* 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.
|
|
2696
|
+
*/
|
|
2697
|
+
409: string;
|
|
2351
2698
|
};
|
|
2352
|
-
export type
|
|
2699
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2700
|
+
export type GetJoinInformationResponses = {
|
|
2353
2701
|
/**
|
|
2354
|
-
*
|
|
2702
|
+
* An object of cluster join information
|
|
2355
2703
|
*/
|
|
2356
|
-
200:
|
|
2704
|
+
200: ClusterJoinInformation;
|
|
2357
2705
|
};
|
|
2358
|
-
export type
|
|
2359
|
-
export type
|
|
2360
|
-
body
|
|
2706
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2707
|
+
export type GetUsageData = {
|
|
2708
|
+
body?: never;
|
|
2361
2709
|
path?: never;
|
|
2362
|
-
query?:
|
|
2363
|
-
|
|
2710
|
+
query?: {
|
|
2711
|
+
/**
|
|
2712
|
+
* 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)
|
|
2713
|
+
*/
|
|
2714
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2715
|
+
};
|
|
2716
|
+
url: '/billing/usage';
|
|
2364
2717
|
};
|
|
2365
|
-
export type
|
|
2718
|
+
export type GetUsageErrors = {
|
|
2366
2719
|
/**
|
|
2367
2720
|
* Not authenticated
|
|
2368
2721
|
*/
|
|
2369
2722
|
401: unknown;
|
|
2370
2723
|
};
|
|
2371
|
-
export type
|
|
2724
|
+
export type GetUsageResponses = {
|
|
2372
2725
|
/**
|
|
2373
|
-
*
|
|
2726
|
+
* Usage data with facets for filtering
|
|
2374
2727
|
*/
|
|
2375
|
-
200:
|
|
2728
|
+
200: UsageResponse;
|
|
2376
2729
|
};
|
|
2377
|
-
export type
|
|
2378
|
-
export type
|
|
2730
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2731
|
+
export type GetPaymentMethodSecretData = {
|
|
2379
2732
|
body?: never;
|
|
2380
|
-
path
|
|
2381
|
-
/**
|
|
2382
|
-
* Generated unique identifier of the access token.
|
|
2383
|
-
*/
|
|
2384
|
-
token_id: string;
|
|
2385
|
-
};
|
|
2733
|
+
path?: never;
|
|
2386
2734
|
query?: never;
|
|
2387
|
-
url: '/
|
|
2735
|
+
url: '/billing/payment-method';
|
|
2388
2736
|
};
|
|
2389
|
-
export type
|
|
2737
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2390
2738
|
/**
|
|
2391
|
-
*
|
|
2739
|
+
* 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.
|
|
2740
|
+
*
|
|
2392
2741
|
*/
|
|
2393
|
-
200:
|
|
2394
|
-
};
|
|
2395
|
-
export type GetTokenData = {
|
|
2396
|
-
body?: never;
|
|
2397
|
-
path: {
|
|
2742
|
+
200: {
|
|
2398
2743
|
/**
|
|
2399
|
-
*
|
|
2744
|
+
* The client secret.
|
|
2400
2745
|
*/
|
|
2401
|
-
|
|
2746
|
+
id?: string;
|
|
2402
2747
|
};
|
|
2748
|
+
};
|
|
2749
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2750
|
+
export type ListPaymentMethodsData = {
|
|
2751
|
+
body?: never;
|
|
2752
|
+
path?: never;
|
|
2403
2753
|
query?: never;
|
|
2404
|
-
url: '/
|
|
2754
|
+
url: '/billing/payment-methods';
|
|
2405
2755
|
};
|
|
2406
|
-
export type
|
|
2756
|
+
export type ListPaymentMethodsErrors = {
|
|
2407
2757
|
/**
|
|
2408
2758
|
* Not authenticated
|
|
2409
2759
|
*/
|
|
2410
2760
|
401: unknown;
|
|
2411
2761
|
};
|
|
2412
|
-
export type
|
|
2762
|
+
export type ListPaymentMethodsResponses = {
|
|
2413
2763
|
/**
|
|
2414
|
-
*
|
|
2764
|
+
* An array of payment methods.
|
|
2415
2765
|
*/
|
|
2416
|
-
200:
|
|
2766
|
+
200: Array<PaymentMethod>;
|
|
2417
2767
|
};
|
|
2418
|
-
export type
|
|
2419
|
-
export type
|
|
2420
|
-
body
|
|
2768
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2769
|
+
export type SetDefaultPaymentMethodData = {
|
|
2770
|
+
body?: never;
|
|
2421
2771
|
path: {
|
|
2422
2772
|
/**
|
|
2423
|
-
*
|
|
2773
|
+
* Stripe payment method identifier.
|
|
2424
2774
|
*/
|
|
2425
|
-
|
|
2775
|
+
paymentMethodId: string;
|
|
2426
2776
|
};
|
|
2427
2777
|
query?: never;
|
|
2428
|
-
url: '/
|
|
2778
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2429
2779
|
};
|
|
2430
|
-
export type
|
|
2780
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2781
|
+
/**
|
|
2782
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2783
|
+
*/
|
|
2784
|
+
400: unknown;
|
|
2431
2785
|
/**
|
|
2432
2786
|
* Not authenticated
|
|
2433
2787
|
*/
|
|
2434
2788
|
401: unknown;
|
|
2789
|
+
/**
|
|
2790
|
+
* Payment method not found.
|
|
2791
|
+
*/
|
|
2792
|
+
404: unknown;
|
|
2435
2793
|
};
|
|
2436
|
-
export type
|
|
2794
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2437
2795
|
/**
|
|
2438
|
-
*
|
|
2796
|
+
* Default payment method updated.
|
|
2439
2797
|
*/
|
|
2440
|
-
|
|
2798
|
+
204: void;
|
|
2441
2799
|
};
|
|
2442
|
-
export type
|
|
2443
|
-
export type
|
|
2800
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2801
|
+
export type DeletePaymentMethodData = {
|
|
2444
2802
|
body?: never;
|
|
2445
2803
|
path: {
|
|
2446
2804
|
/**
|
|
2447
|
-
*
|
|
2805
|
+
* Stripe payment method identifier.
|
|
2448
2806
|
*/
|
|
2449
|
-
|
|
2807
|
+
paymentMethodId: string;
|
|
2450
2808
|
};
|
|
2451
2809
|
query?: never;
|
|
2452
|
-
url: '/
|
|
2810
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2453
2811
|
};
|
|
2454
|
-
export type
|
|
2812
|
+
export type DeletePaymentMethodErrors = {
|
|
2813
|
+
/**
|
|
2814
|
+
* The bank transfer payment method cannot be removed.
|
|
2815
|
+
*/
|
|
2816
|
+
400: unknown;
|
|
2455
2817
|
/**
|
|
2456
2818
|
* Not authenticated
|
|
2457
2819
|
*/
|
|
2458
2820
|
401: unknown;
|
|
2459
|
-
};
|
|
2460
|
-
export type RegenerateTokenResponses = {
|
|
2461
2821
|
/**
|
|
2462
|
-
*
|
|
2822
|
+
* Payment method not found.
|
|
2463
2823
|
*/
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
path: {
|
|
2470
|
-
/**
|
|
2471
|
-
* User email address.
|
|
2472
|
-
*/
|
|
2473
|
-
email: string;
|
|
2474
|
-
};
|
|
2475
|
-
query?: never;
|
|
2476
|
-
url: '/users/organizations/{email}';
|
|
2824
|
+
404: unknown;
|
|
2825
|
+
/**
|
|
2826
|
+
* Cannot delete the only remaining payment method.
|
|
2827
|
+
*/
|
|
2828
|
+
409: unknown;
|
|
2477
2829
|
};
|
|
2478
|
-
export type
|
|
2830
|
+
export type DeletePaymentMethodResponses = {
|
|
2479
2831
|
/**
|
|
2480
|
-
*
|
|
2832
|
+
* Payment method deleted.
|
|
2481
2833
|
*/
|
|
2482
|
-
|
|
2483
|
-
/**
|
|
2484
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2485
|
-
*/
|
|
2486
|
-
realm?: string;
|
|
2487
|
-
/**
|
|
2488
|
-
* Human-readable name of the organization
|
|
2489
|
-
*/
|
|
2490
|
-
displayName?: string;
|
|
2491
|
-
}>;
|
|
2834
|
+
204: void;
|
|
2492
2835
|
};
|
|
2493
|
-
export type
|
|
2494
|
-
export type
|
|
2836
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2837
|
+
export type ListInvoicesData = {
|
|
2495
2838
|
body?: never;
|
|
2496
2839
|
path?: never;
|
|
2497
2840
|
query?: never;
|
|
2498
|
-
url: '/
|
|
2841
|
+
url: '/billing/invoices';
|
|
2499
2842
|
};
|
|
2500
|
-
export type
|
|
2843
|
+
export type ListInvoicesErrors = {
|
|
2501
2844
|
/**
|
|
2502
2845
|
* Not authenticated
|
|
2503
2846
|
*/
|
|
2504
2847
|
401: unknown;
|
|
2505
2848
|
};
|
|
2506
|
-
export type
|
|
2849
|
+
export type ListInvoicesResponses = {
|
|
2507
2850
|
/**
|
|
2508
|
-
* An array of
|
|
2851
|
+
* An array of usage records.
|
|
2509
2852
|
*/
|
|
2510
|
-
200: Array<
|
|
2853
|
+
200: Array<Invoice>;
|
|
2511
2854
|
};
|
|
2512
|
-
export type
|
|
2513
|
-
export type
|
|
2514
|
-
body
|
|
2855
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2856
|
+
export type GetContactData = {
|
|
2857
|
+
body?: never;
|
|
2515
2858
|
path?: never;
|
|
2516
2859
|
query?: never;
|
|
2517
|
-
url: '/
|
|
2860
|
+
url: '/billing/contact';
|
|
2518
2861
|
};
|
|
2519
|
-
export type
|
|
2862
|
+
export type GetContactResponses = {
|
|
2520
2863
|
/**
|
|
2521
|
-
*
|
|
2864
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2522
2865
|
*/
|
|
2523
|
-
200:
|
|
2866
|
+
200: BillingContact;
|
|
2524
2867
|
};
|
|
2525
|
-
export type
|
|
2526
|
-
export type
|
|
2527
|
-
body
|
|
2528
|
-
path
|
|
2529
|
-
/**
|
|
2530
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2531
|
-
*/
|
|
2532
|
-
user_id: string;
|
|
2533
|
-
};
|
|
2868
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2869
|
+
export type UpdateContactData = {
|
|
2870
|
+
body: BillingContact;
|
|
2871
|
+
path?: never;
|
|
2534
2872
|
query?: never;
|
|
2535
|
-
url: '/
|
|
2873
|
+
url: '/billing/contact';
|
|
2536
2874
|
};
|
|
2537
|
-
export type
|
|
2875
|
+
export type UpdateContactResponses = {
|
|
2538
2876
|
/**
|
|
2539
|
-
*
|
|
2877
|
+
* Successfully updated. Returns updated organization details.
|
|
2540
2878
|
*/
|
|
2541
|
-
|
|
2879
|
+
200: BillingContact;
|
|
2880
|
+
};
|
|
2881
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2882
|
+
export type GetCreditsData = {
|
|
2883
|
+
body?: never;
|
|
2884
|
+
path?: never;
|
|
2885
|
+
query?: never;
|
|
2886
|
+
url: '/billing/credits';
|
|
2887
|
+
};
|
|
2888
|
+
export type GetCreditsErrors = {
|
|
2542
2889
|
/**
|
|
2543
2890
|
* Not authenticated
|
|
2544
2891
|
*/
|
|
2545
2892
|
401: unknown;
|
|
2546
2893
|
};
|
|
2547
|
-
export type
|
|
2894
|
+
export type GetCreditsResponses = {
|
|
2548
2895
|
/**
|
|
2549
|
-
*
|
|
2896
|
+
* An array of the applied promotional credits records.
|
|
2550
2897
|
*/
|
|
2551
|
-
200:
|
|
2898
|
+
200: Array<BillingCredits>;
|
|
2552
2899
|
};
|
|
2553
|
-
export type
|
|
2554
|
-
export type
|
|
2555
|
-
body
|
|
2556
|
-
path: {
|
|
2900
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2901
|
+
export type RedeemCreditsData = {
|
|
2902
|
+
body: {
|
|
2557
2903
|
/**
|
|
2558
|
-
*
|
|
2904
|
+
* Promotional code to redeem
|
|
2559
2905
|
*/
|
|
2560
|
-
|
|
2906
|
+
code?: string;
|
|
2561
2907
|
};
|
|
2908
|
+
path?: never;
|
|
2562
2909
|
query?: never;
|
|
2563
|
-
url: '/
|
|
2910
|
+
url: '/billing/credits';
|
|
2564
2911
|
};
|
|
2565
|
-
export type
|
|
2912
|
+
export type RedeemCreditsErrors = {
|
|
2566
2913
|
/**
|
|
2567
2914
|
* Not authenticated
|
|
2568
2915
|
*/
|
|
2569
2916
|
401: unknown;
|
|
2570
2917
|
};
|
|
2571
|
-
export type
|
|
2572
|
-
/**
|
|
2573
|
-
* User profile information
|
|
2574
|
-
*/
|
|
2575
|
-
200: User;
|
|
2576
|
-
};
|
|
2577
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2578
|
-
export type UpdateUserData = {
|
|
2579
|
-
body: UserUpdateInput;
|
|
2580
|
-
path: {
|
|
2581
|
-
/**
|
|
2582
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2583
|
-
*/
|
|
2584
|
-
user_id: string;
|
|
2585
|
-
};
|
|
2586
|
-
query?: never;
|
|
2587
|
-
url: '/users/{user_id}';
|
|
2588
|
-
};
|
|
2589
|
-
export type UpdateUserResponses = {
|
|
2918
|
+
export type RedeemCreditsResponses = {
|
|
2590
2919
|
/**
|
|
2591
|
-
* Successfully created
|
|
2920
|
+
* Successfully created a new organization.
|
|
2592
2921
|
*/
|
|
2593
|
-
200:
|
|
2922
|
+
200: unknown;
|
|
2594
2923
|
};
|
|
2595
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2596
2924
|
//# sourceMappingURL=types.gen.d.ts.map
|