@cloudfleet/sdk 0.0.1-6244af0 → 0.0.1-62b9986
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 +420 -386
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +428 -382
- 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 +455 -97
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +649 -172
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +237 -215
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +338 -312
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1056 -712
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1681 -1470
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +494 -330
- 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' | 'enterprise';
|
|
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.
|
|
177
205
|
*/
|
|
178
|
-
|
|
206
|
+
region: string;
|
|
207
|
+
/**
|
|
208
|
+
* Cluster networking configuration. Immutable after creation.
|
|
209
|
+
*/
|
|
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.
|
|
@@ -245,19 +305,69 @@ export type Cluster = {
|
|
|
245
305
|
/**
|
|
246
306
|
* Tier of the cluster.
|
|
247
307
|
*/
|
|
248
|
-
tier: 'basic' | 'pro';
|
|
308
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
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.
|
|
336
|
+
*/
|
|
337
|
+
region: string;
|
|
338
|
+
/**
|
|
339
|
+
* Cluster networking configuration. Immutable after creation.
|
|
251
340
|
*/
|
|
252
|
-
|
|
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' | 'enterprise';
|
|
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.
|
|
@@ -310,28 +443,28 @@ export type FleetCreateInput = {
|
|
|
310
443
|
cpu?: number;
|
|
311
444
|
};
|
|
312
445
|
gcp?: {
|
|
313
|
-
enabled
|
|
446
|
+
enabled: boolean;
|
|
314
447
|
/**
|
|
315
448
|
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
316
449
|
*/
|
|
317
450
|
project?: string;
|
|
318
451
|
};
|
|
319
452
|
hetzner?: {
|
|
320
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
321
454
|
/**
|
|
322
|
-
* Hetzner Cloud API token with read
|
|
455
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
323
456
|
*/
|
|
324
457
|
apiKey?: string;
|
|
325
458
|
};
|
|
326
459
|
aws?: {
|
|
327
|
-
enabled
|
|
460
|
+
enabled: boolean;
|
|
328
461
|
/**
|
|
329
462
|
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
330
463
|
*/
|
|
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.
|
|
@@ -371,38 +507,38 @@ export type Fleet = {
|
|
|
371
507
|
cpu?: number;
|
|
372
508
|
};
|
|
373
509
|
gcp?: {
|
|
374
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
375
511
|
/**
|
|
376
512
|
* 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.
|
|
377
513
|
*/
|
|
378
514
|
project?: string;
|
|
379
515
|
};
|
|
380
516
|
hetzner?: {
|
|
381
|
-
enabled
|
|
517
|
+
enabled: boolean;
|
|
382
518
|
/**
|
|
383
519
|
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
384
520
|
*/
|
|
385
521
|
apiKey?: string;
|
|
386
522
|
};
|
|
387
523
|
aws?: {
|
|
388
|
-
enabled
|
|
524
|
+
enabled: boolean;
|
|
389
525
|
/**
|
|
390
526
|
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
391
527
|
*/
|
|
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
|
-
scalingProfile
|
|
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.
|
|
@@ -432,28 +587,28 @@ export type FleetUpdateInput = {
|
|
|
432
587
|
cpu?: number;
|
|
433
588
|
};
|
|
434
589
|
gcp?: {
|
|
435
|
-
enabled
|
|
590
|
+
enabled: boolean;
|
|
436
591
|
/**
|
|
437
592
|
* 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.
|
|
438
593
|
*/
|
|
439
594
|
project?: string;
|
|
440
595
|
};
|
|
441
596
|
hetzner?: {
|
|
442
|
-
enabled
|
|
597
|
+
enabled: boolean;
|
|
443
598
|
/**
|
|
444
|
-
* Hetzner Cloud API token with read
|
|
599
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
445
600
|
*/
|
|
446
601
|
apiKey?: string;
|
|
447
602
|
};
|
|
448
603
|
aws?: {
|
|
449
|
-
enabled
|
|
604
|
+
enabled: boolean;
|
|
450
605
|
/**
|
|
451
606
|
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
452
607
|
*/
|
|
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,10 +629,20 @@ 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
634
|
scalingProfile?: 'aggressive' | 'conservative';
|
|
480
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';
|
|
645
|
+
};
|
|
481
646
|
export type Invite = {
|
|
482
647
|
/**
|
|
483
648
|
* Unique identifier of the invitation.
|
|
@@ -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
|
*/
|
|
@@ -673,6 +856,14 @@ export type Organization = {
|
|
|
673
856
|
* Available number of Pro clusters that can be created.
|
|
674
857
|
*/
|
|
675
858
|
pro_clusters_available: number;
|
|
859
|
+
/**
|
|
860
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
861
|
+
*/
|
|
862
|
+
enterprise_clusters_max: number;
|
|
863
|
+
/**
|
|
864
|
+
* Available number of Enterprise clusters that can be created.
|
|
865
|
+
*/
|
|
866
|
+
enterprise_clusters_available: number;
|
|
676
867
|
/**
|
|
677
868
|
* Maximum number of fleets that can be created per cluster.
|
|
678
869
|
*/
|
|
@@ -707,36 +898,52 @@ export type Organization = {
|
|
|
707
898
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
708
899
|
*/
|
|
709
900
|
status: 'active' | 'closed' | 'suspended';
|
|
901
|
+
/**
|
|
902
|
+
* 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.
|
|
903
|
+
*/
|
|
904
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
710
905
|
};
|
|
711
906
|
export type PaymentMethod = {
|
|
712
907
|
/**
|
|
713
|
-
*
|
|
908
|
+
* 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
909
|
*/
|
|
715
910
|
id: string;
|
|
716
911
|
/**
|
|
717
|
-
*
|
|
718
|
-
*/
|
|
719
|
-
setup: boolean;
|
|
720
|
-
/**
|
|
721
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
912
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
722
913
|
*/
|
|
723
|
-
type: 'card';
|
|
914
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
724
915
|
/**
|
|
725
|
-
* Last 4 digits of the payment card number.
|
|
916
|
+
* 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
917
|
*/
|
|
727
918
|
last4: string;
|
|
728
919
|
/**
|
|
729
|
-
* Two-digit number representing the card's expiration month.
|
|
920
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
730
921
|
*/
|
|
731
922
|
exp_month: number;
|
|
732
923
|
/**
|
|
733
|
-
* Four-digit number representing the card's expiration year.
|
|
924
|
+
* 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
925
|
*/
|
|
735
926
|
exp_year: number;
|
|
736
927
|
/**
|
|
737
|
-
* Payment card brand
|
|
928
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
929
|
+
*/
|
|
930
|
+
brand: string;
|
|
931
|
+
/**
|
|
932
|
+
* 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.
|
|
933
|
+
*/
|
|
934
|
+
iban: string;
|
|
935
|
+
/**
|
|
936
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
937
|
+
*/
|
|
938
|
+
bic: string;
|
|
939
|
+
/**
|
|
940
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
941
|
+
*/
|
|
942
|
+
account_holder_name: string;
|
|
943
|
+
/**
|
|
944
|
+
* 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
945
|
*/
|
|
739
|
-
|
|
946
|
+
is_default: boolean;
|
|
740
947
|
};
|
|
741
948
|
export type PlatformQuota = {
|
|
742
949
|
/**
|
|
@@ -755,6 +962,14 @@ export type PlatformQuota = {
|
|
|
755
962
|
* Available number of Pro clusters that can be created.
|
|
756
963
|
*/
|
|
757
964
|
pro_clusters_available: number;
|
|
965
|
+
/**
|
|
966
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
967
|
+
*/
|
|
968
|
+
enterprise_clusters_max: number;
|
|
969
|
+
/**
|
|
970
|
+
* Available number of Enterprise clusters that can be created.
|
|
971
|
+
*/
|
|
972
|
+
enterprise_clusters_available: number;
|
|
758
973
|
/**
|
|
759
974
|
* Maximum number of fleets that can be created per cluster.
|
|
760
975
|
*/
|
|
@@ -1235,7 +1450,7 @@ export type UsageFacets = {
|
|
|
1235
1450
|
/**
|
|
1236
1451
|
* List of unique products
|
|
1237
1452
|
*/
|
|
1238
|
-
product?: Array<
|
|
1453
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1239
1454
|
};
|
|
1240
1455
|
export type UsageResponse = {
|
|
1241
1456
|
/**
|
|
@@ -1253,7 +1468,7 @@ export type UsageResponse = {
|
|
|
1253
1468
|
/**
|
|
1254
1469
|
* The product the usage is associated with
|
|
1255
1470
|
*/
|
|
1256
|
-
product:
|
|
1471
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1257
1472
|
/**
|
|
1258
1473
|
* Consumption
|
|
1259
1474
|
*/
|
|
@@ -1278,7 +1493,7 @@ export type UsageResponse = {
|
|
|
1278
1493
|
/**
|
|
1279
1494
|
* List of unique products
|
|
1280
1495
|
*/
|
|
1281
|
-
product?: Array<
|
|
1496
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1282
1497
|
};
|
|
1283
1498
|
};
|
|
1284
1499
|
export type Usage = {
|
|
@@ -1293,7 +1508,7 @@ export type Usage = {
|
|
|
1293
1508
|
/**
|
|
1294
1509
|
* The product the usage is associated with
|
|
1295
1510
|
*/
|
|
1296
|
-
product:
|
|
1511
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1297
1512
|
/**
|
|
1298
1513
|
* Consumption
|
|
1299
1514
|
*/
|
|
@@ -1328,14 +1543,6 @@ export type UserCreateInput = {
|
|
|
1328
1543
|
* User password. Must be at least 8 characters long.
|
|
1329
1544
|
*/
|
|
1330
1545
|
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
1546
|
};
|
|
1340
1547
|
export type User = {
|
|
1341
1548
|
/**
|
|
@@ -1389,525 +1596,621 @@ export type UserUpdateInput = {
|
|
|
1389
1596
|
*/
|
|
1390
1597
|
status?: 'active' | 'inactive';
|
|
1391
1598
|
};
|
|
1392
|
-
export type
|
|
1599
|
+
export type ListUserOrganizationsData = {
|
|
1393
1600
|
body?: never;
|
|
1394
|
-
path
|
|
1395
|
-
query?: {
|
|
1601
|
+
path: {
|
|
1396
1602
|
/**
|
|
1397
|
-
*
|
|
1603
|
+
* User email address.
|
|
1398
1604
|
*/
|
|
1399
|
-
|
|
1605
|
+
email: string;
|
|
1400
1606
|
};
|
|
1401
|
-
|
|
1402
|
-
};
|
|
1403
|
-
export type GetUsageErrors = {
|
|
1404
|
-
/**
|
|
1405
|
-
* Not authenticated
|
|
1406
|
-
*/
|
|
1407
|
-
401: unknown;
|
|
1607
|
+
query?: never;
|
|
1608
|
+
url: '/users/organizations/{email}';
|
|
1408
1609
|
};
|
|
1409
|
-
export type
|
|
1610
|
+
export type ListUserOrganizationsResponses = {
|
|
1410
1611
|
/**
|
|
1411
|
-
*
|
|
1612
|
+
* An array of organizations the user belongs to.
|
|
1412
1613
|
*/
|
|
1413
|
-
200:
|
|
1614
|
+
200: Array<{
|
|
1615
|
+
/**
|
|
1616
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1617
|
+
*/
|
|
1618
|
+
realm?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* Human-readable name of the organization
|
|
1621
|
+
*/
|
|
1622
|
+
displayName?: string;
|
|
1623
|
+
}>;
|
|
1414
1624
|
};
|
|
1415
|
-
export type
|
|
1416
|
-
export type
|
|
1625
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1626
|
+
export type ListUsersData = {
|
|
1417
1627
|
body?: never;
|
|
1418
1628
|
path?: never;
|
|
1419
1629
|
query?: never;
|
|
1420
|
-
url: '/
|
|
1630
|
+
url: '/users';
|
|
1421
1631
|
};
|
|
1422
|
-
export type
|
|
1632
|
+
export type ListUsersErrors = {
|
|
1423
1633
|
/**
|
|
1424
|
-
*
|
|
1634
|
+
* Not authenticated
|
|
1425
1635
|
*/
|
|
1426
|
-
|
|
1636
|
+
401: unknown;
|
|
1427
1637
|
};
|
|
1428
|
-
export type
|
|
1638
|
+
export type ListUsersResponses = {
|
|
1429
1639
|
/**
|
|
1430
|
-
*
|
|
1640
|
+
* An array of users
|
|
1431
1641
|
*/
|
|
1432
|
-
200:
|
|
1642
|
+
200: Array<User>;
|
|
1433
1643
|
};
|
|
1434
|
-
export type
|
|
1435
|
-
export type
|
|
1436
|
-
body
|
|
1644
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1645
|
+
export type CreateUserData = {
|
|
1646
|
+
body: UserCreateInput;
|
|
1437
1647
|
path?: never;
|
|
1438
1648
|
query?: never;
|
|
1439
|
-
url: '/
|
|
1649
|
+
url: '/users';
|
|
1440
1650
|
};
|
|
1441
|
-
export type
|
|
1651
|
+
export type CreateUserResponses = {
|
|
1442
1652
|
/**
|
|
1443
|
-
*
|
|
1444
|
-
*
|
|
1653
|
+
* Successfully created. Returns created user details.
|
|
1445
1654
|
*/
|
|
1446
|
-
200:
|
|
1655
|
+
200: User;
|
|
1656
|
+
};
|
|
1657
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1658
|
+
export type DeleteUserData = {
|
|
1659
|
+
body?: never;
|
|
1660
|
+
path: {
|
|
1447
1661
|
/**
|
|
1448
|
-
*
|
|
1662
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1449
1663
|
*/
|
|
1450
|
-
|
|
1664
|
+
user_id: string;
|
|
1451
1665
|
};
|
|
1452
|
-
};
|
|
1453
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1454
|
-
export type ListInvoicesData = {
|
|
1455
|
-
body?: never;
|
|
1456
|
-
path?: never;
|
|
1457
1666
|
query?: never;
|
|
1458
|
-
url: '/
|
|
1667
|
+
url: '/users/{user_id}';
|
|
1459
1668
|
};
|
|
1460
|
-
export type
|
|
1669
|
+
export type DeleteUserErrors = {
|
|
1670
|
+
/**
|
|
1671
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1672
|
+
*/
|
|
1673
|
+
400: unknown;
|
|
1461
1674
|
/**
|
|
1462
1675
|
* Not authenticated
|
|
1463
1676
|
*/
|
|
1464
1677
|
401: unknown;
|
|
1465
1678
|
};
|
|
1466
|
-
export type
|
|
1679
|
+
export type DeleteUserResponses = {
|
|
1467
1680
|
/**
|
|
1468
|
-
*
|
|
1681
|
+
* User profile information
|
|
1469
1682
|
*/
|
|
1470
|
-
200:
|
|
1683
|
+
200: User;
|
|
1471
1684
|
};
|
|
1472
|
-
export type
|
|
1473
|
-
export type
|
|
1685
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1686
|
+
export type GetUserData = {
|
|
1474
1687
|
body?: never;
|
|
1475
|
-
path
|
|
1688
|
+
path: {
|
|
1689
|
+
/**
|
|
1690
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1691
|
+
*/
|
|
1692
|
+
user_id: string;
|
|
1693
|
+
};
|
|
1476
1694
|
query?: never;
|
|
1477
|
-
url: '/
|
|
1695
|
+
url: '/users/{user_id}';
|
|
1478
1696
|
};
|
|
1479
|
-
export type
|
|
1697
|
+
export type GetUserErrors = {
|
|
1480
1698
|
/**
|
|
1481
|
-
*
|
|
1699
|
+
* Not authenticated
|
|
1482
1700
|
*/
|
|
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';
|
|
1701
|
+
401: unknown;
|
|
1491
1702
|
};
|
|
1492
|
-
export type
|
|
1703
|
+
export type GetUserResponses = {
|
|
1493
1704
|
/**
|
|
1494
|
-
*
|
|
1705
|
+
* User profile information
|
|
1495
1706
|
*/
|
|
1496
|
-
200:
|
|
1707
|
+
200: User;
|
|
1497
1708
|
};
|
|
1498
|
-
export type
|
|
1499
|
-
export type
|
|
1709
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1710
|
+
export type UpdateUserData = {
|
|
1711
|
+
body: UserUpdateInput;
|
|
1712
|
+
path: {
|
|
1713
|
+
/**
|
|
1714
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1715
|
+
*/
|
|
1716
|
+
user_id: string;
|
|
1717
|
+
};
|
|
1718
|
+
query?: never;
|
|
1719
|
+
url: '/users/{user_id}';
|
|
1720
|
+
};
|
|
1721
|
+
export type UpdateUserResponses = {
|
|
1722
|
+
/**
|
|
1723
|
+
* Successfully created. Returns created user details.
|
|
1724
|
+
*/
|
|
1725
|
+
200: User;
|
|
1726
|
+
};
|
|
1727
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1728
|
+
export type ListTokensData = {
|
|
1500
1729
|
body?: never;
|
|
1501
1730
|
path?: never;
|
|
1502
1731
|
query?: never;
|
|
1503
|
-
url: '/
|
|
1732
|
+
url: '/tokens';
|
|
1504
1733
|
};
|
|
1505
|
-
export type
|
|
1734
|
+
export type ListTokensErrors = {
|
|
1506
1735
|
/**
|
|
1507
1736
|
* Not authenticated
|
|
1508
1737
|
*/
|
|
1509
1738
|
401: unknown;
|
|
1510
1739
|
};
|
|
1511
|
-
export type
|
|
1740
|
+
export type ListTokensResponses = {
|
|
1512
1741
|
/**
|
|
1513
|
-
*
|
|
1742
|
+
* Returns a list of access token details with masked secrets.
|
|
1514
1743
|
*/
|
|
1515
|
-
200: Array<
|
|
1744
|
+
200: Array<Token>;
|
|
1516
1745
|
};
|
|
1517
|
-
export type
|
|
1518
|
-
export type
|
|
1519
|
-
body:
|
|
1520
|
-
/**
|
|
1521
|
-
* Promotional code to redeem
|
|
1522
|
-
*/
|
|
1523
|
-
code?: string;
|
|
1524
|
-
};
|
|
1746
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1747
|
+
export type CreateTokenData = {
|
|
1748
|
+
body: TokenCreateInput;
|
|
1525
1749
|
path?: never;
|
|
1526
1750
|
query?: never;
|
|
1527
|
-
url: '/
|
|
1751
|
+
url: '/tokens';
|
|
1528
1752
|
};
|
|
1529
|
-
export type
|
|
1753
|
+
export type CreateTokenErrors = {
|
|
1530
1754
|
/**
|
|
1531
1755
|
* Not authenticated
|
|
1532
1756
|
*/
|
|
1533
1757
|
401: unknown;
|
|
1534
1758
|
};
|
|
1535
|
-
export type
|
|
1759
|
+
export type CreateTokenResponses = {
|
|
1536
1760
|
/**
|
|
1537
|
-
* Successfully created
|
|
1761
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1762
|
+
*/
|
|
1763
|
+
200: Token;
|
|
1764
|
+
};
|
|
1765
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1766
|
+
export type DeleteTokenData = {
|
|
1767
|
+
body?: never;
|
|
1768
|
+
path: {
|
|
1769
|
+
/**
|
|
1770
|
+
* Generated unique identifier of the access token.
|
|
1771
|
+
*/
|
|
1772
|
+
token_id: string;
|
|
1773
|
+
};
|
|
1774
|
+
query?: never;
|
|
1775
|
+
url: '/tokens/{token_id}';
|
|
1776
|
+
};
|
|
1777
|
+
export type DeleteTokenResponses = {
|
|
1778
|
+
/**
|
|
1779
|
+
* Successfully deleted.
|
|
1538
1780
|
*/
|
|
1539
1781
|
200: unknown;
|
|
1540
1782
|
};
|
|
1541
|
-
export type
|
|
1783
|
+
export type GetTokenData = {
|
|
1542
1784
|
body?: never;
|
|
1543
1785
|
path: {
|
|
1544
1786
|
/**
|
|
1545
|
-
*
|
|
1787
|
+
* Generated unique identifier of the access token.
|
|
1546
1788
|
*/
|
|
1547
|
-
|
|
1789
|
+
token_id: string;
|
|
1548
1790
|
};
|
|
1549
1791
|
query?: never;
|
|
1550
|
-
url: '/
|
|
1792
|
+
url: '/tokens/{token_id}';
|
|
1551
1793
|
};
|
|
1552
|
-
export type
|
|
1794
|
+
export type GetTokenErrors = {
|
|
1553
1795
|
/**
|
|
1554
1796
|
* Not authenticated
|
|
1555
1797
|
*/
|
|
1556
1798
|
401: unknown;
|
|
1557
1799
|
};
|
|
1558
|
-
export type
|
|
1800
|
+
export type GetTokenResponses = {
|
|
1559
1801
|
/**
|
|
1560
|
-
*
|
|
1802
|
+
* Returns access token details with masked secret.
|
|
1561
1803
|
*/
|
|
1562
|
-
200:
|
|
1804
|
+
200: Token;
|
|
1563
1805
|
};
|
|
1564
|
-
export type
|
|
1565
|
-
export type
|
|
1566
|
-
body:
|
|
1806
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1807
|
+
export type UpdateTokenData = {
|
|
1808
|
+
body: TokenUpdateInput;
|
|
1567
1809
|
path: {
|
|
1568
1810
|
/**
|
|
1569
|
-
*
|
|
1811
|
+
* Generated unique identifier of the access token.
|
|
1570
1812
|
*/
|
|
1571
|
-
|
|
1813
|
+
token_id: string;
|
|
1572
1814
|
};
|
|
1573
1815
|
query?: never;
|
|
1574
|
-
url: '/
|
|
1816
|
+
url: '/tokens/{token_id}';
|
|
1575
1817
|
};
|
|
1576
|
-
export type
|
|
1818
|
+
export type UpdateTokenErrors = {
|
|
1577
1819
|
/**
|
|
1578
|
-
*
|
|
1820
|
+
* Not authenticated
|
|
1579
1821
|
*/
|
|
1580
|
-
|
|
1822
|
+
401: unknown;
|
|
1581
1823
|
};
|
|
1582
|
-
export type
|
|
1583
|
-
|
|
1824
|
+
export type UpdateTokenResponses = {
|
|
1825
|
+
/**
|
|
1826
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1827
|
+
*/
|
|
1828
|
+
200: Token;
|
|
1829
|
+
};
|
|
1830
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1831
|
+
export type RegenerateTokenData = {
|
|
1584
1832
|
body?: never;
|
|
1585
1833
|
path: {
|
|
1586
1834
|
/**
|
|
1587
|
-
*
|
|
1588
|
-
*/
|
|
1589
|
-
cluster_id: string;
|
|
1590
|
-
/**
|
|
1591
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1835
|
+
* Generated unique identifier of the access token.
|
|
1592
1836
|
*/
|
|
1593
|
-
|
|
1837
|
+
token_id: string;
|
|
1594
1838
|
};
|
|
1595
1839
|
query?: never;
|
|
1596
|
-
url: '/
|
|
1840
|
+
url: '/tokens/{token_id}/secret';
|
|
1597
1841
|
};
|
|
1598
|
-
export type
|
|
1842
|
+
export type RegenerateTokenErrors = {
|
|
1599
1843
|
/**
|
|
1600
|
-
*
|
|
1844
|
+
* Not authenticated
|
|
1601
1845
|
*/
|
|
1602
|
-
|
|
1846
|
+
401: unknown;
|
|
1603
1847
|
};
|
|
1604
|
-
export type
|
|
1605
|
-
|
|
1848
|
+
export type RegenerateTokenResponses = {
|
|
1849
|
+
/**
|
|
1850
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1851
|
+
*/
|
|
1852
|
+
200: Token;
|
|
1853
|
+
};
|
|
1854
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1855
|
+
export type ListTicketsData = {
|
|
1606
1856
|
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
|
-
};
|
|
1857
|
+
path?: never;
|
|
1617
1858
|
query?: never;
|
|
1618
|
-
url: '/
|
|
1859
|
+
url: '/tickets';
|
|
1619
1860
|
};
|
|
1620
|
-
export type
|
|
1861
|
+
export type ListTicketsResponses = {
|
|
1621
1862
|
/**
|
|
1622
|
-
*
|
|
1863
|
+
* Tickets for the organization.
|
|
1623
1864
|
*/
|
|
1624
|
-
200:
|
|
1865
|
+
200: TicketListResponse;
|
|
1625
1866
|
};
|
|
1626
|
-
export type
|
|
1627
|
-
export type
|
|
1628
|
-
body:
|
|
1629
|
-
path: {
|
|
1630
|
-
/**
|
|
1631
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1632
|
-
*/
|
|
1633
|
-
cluster_id: string;
|
|
1867
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1868
|
+
export type CreateTicketData = {
|
|
1869
|
+
body: {
|
|
1634
1870
|
/**
|
|
1635
|
-
*
|
|
1871
|
+
* JSON-encoded TicketCreateInput.
|
|
1636
1872
|
*/
|
|
1637
|
-
|
|
1873
|
+
payload?: string;
|
|
1874
|
+
attachments?: Array<Blob | File>;
|
|
1638
1875
|
};
|
|
1876
|
+
path?: never;
|
|
1639
1877
|
query?: never;
|
|
1640
|
-
url: '/
|
|
1878
|
+
url: '/tickets';
|
|
1641
1879
|
};
|
|
1642
|
-
export type
|
|
1880
|
+
export type CreateTicketResponses = {
|
|
1643
1881
|
/**
|
|
1644
|
-
*
|
|
1882
|
+
* Ticket created.
|
|
1645
1883
|
*/
|
|
1646
|
-
200:
|
|
1884
|
+
200: Ticket;
|
|
1647
1885
|
};
|
|
1648
|
-
export type
|
|
1649
|
-
export type
|
|
1886
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1887
|
+
export type CloseTicketData = {
|
|
1650
1888
|
body?: never;
|
|
1651
1889
|
path: {
|
|
1652
|
-
|
|
1653
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1654
|
-
*/
|
|
1655
|
-
cluster_id: string;
|
|
1890
|
+
ticket_id: string;
|
|
1656
1891
|
};
|
|
1657
1892
|
query?: never;
|
|
1658
|
-
url: '/
|
|
1893
|
+
url: '/tickets/{ticket_id}';
|
|
1659
1894
|
};
|
|
1660
|
-
export type
|
|
1895
|
+
export type CloseTicketResponses = {
|
|
1661
1896
|
/**
|
|
1662
|
-
*
|
|
1897
|
+
* Ticket closed.
|
|
1663
1898
|
*/
|
|
1664
|
-
|
|
1899
|
+
200: Ticket;
|
|
1665
1900
|
};
|
|
1666
|
-
export type
|
|
1901
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1902
|
+
export type GetTicketData = {
|
|
1903
|
+
body?: never;
|
|
1904
|
+
path: {
|
|
1905
|
+
ticket_id: string;
|
|
1906
|
+
};
|
|
1907
|
+
query?: never;
|
|
1908
|
+
url: '/tickets/{ticket_id}';
|
|
1909
|
+
};
|
|
1910
|
+
export type GetTicketResponses = {
|
|
1667
1911
|
/**
|
|
1668
|
-
*
|
|
1912
|
+
* Ticket with messages (internal notes excluded).
|
|
1669
1913
|
*/
|
|
1670
|
-
200:
|
|
1914
|
+
200: Ticket;
|
|
1671
1915
|
};
|
|
1672
|
-
export type
|
|
1673
|
-
export type
|
|
1674
|
-
body:
|
|
1675
|
-
path: {
|
|
1916
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1917
|
+
export type ReplyTicketData = {
|
|
1918
|
+
body: {
|
|
1676
1919
|
/**
|
|
1677
|
-
*
|
|
1920
|
+
* JSON-encoded TicketMessageInput.
|
|
1678
1921
|
*/
|
|
1679
|
-
|
|
1922
|
+
payload?: string;
|
|
1923
|
+
attachments?: Array<Blob | File>;
|
|
1924
|
+
};
|
|
1925
|
+
path: {
|
|
1926
|
+
ticket_id: string;
|
|
1680
1927
|
};
|
|
1681
1928
|
query?: never;
|
|
1682
|
-
url: '/
|
|
1929
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1683
1930
|
};
|
|
1684
|
-
export type
|
|
1931
|
+
export type ReplyTicketErrors = {
|
|
1685
1932
|
/**
|
|
1686
|
-
*
|
|
1933
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1687
1934
|
*/
|
|
1688
|
-
|
|
1935
|
+
409: unknown;
|
|
1689
1936
|
};
|
|
1690
|
-
export type
|
|
1691
|
-
export type CreateFleetResponses = {
|
|
1937
|
+
export type ReplyTicketResponses = {
|
|
1692
1938
|
/**
|
|
1693
|
-
*
|
|
1939
|
+
* Reply appended.
|
|
1694
1940
|
*/
|
|
1695
|
-
200:
|
|
1941
|
+
200: TicketMessage;
|
|
1696
1942
|
};
|
|
1697
|
-
export type
|
|
1698
|
-
export type
|
|
1943
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1944
|
+
export type GetTicketAttachmentData = {
|
|
1699
1945
|
body?: never;
|
|
1700
1946
|
path: {
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
*/
|
|
1704
|
-
cluster_id: string;
|
|
1705
|
-
/**
|
|
1706
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1707
|
-
*/
|
|
1708
|
-
fleet_name: string;
|
|
1947
|
+
ticket_id: string;
|
|
1948
|
+
attachment_id: string;
|
|
1709
1949
|
};
|
|
1710
1950
|
query?: never;
|
|
1711
|
-
url: '/
|
|
1951
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1712
1952
|
};
|
|
1713
|
-
export type
|
|
1953
|
+
export type GetTicketAttachmentResponses = {
|
|
1714
1954
|
/**
|
|
1715
|
-
*
|
|
1955
|
+
* Attachment binary stream.
|
|
1716
1956
|
*/
|
|
1717
|
-
200:
|
|
1957
|
+
200: Blob | File;
|
|
1718
1958
|
};
|
|
1719
|
-
export type
|
|
1720
|
-
export type
|
|
1959
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1960
|
+
export type ListRepositoriesData = {
|
|
1721
1961
|
body?: never;
|
|
1722
|
-
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;
|
|
1731
|
-
};
|
|
1962
|
+
path?: never;
|
|
1732
1963
|
query?: never;
|
|
1733
|
-
url: '/
|
|
1964
|
+
url: '/registry';
|
|
1734
1965
|
};
|
|
1735
|
-
export type
|
|
1966
|
+
export type ListRepositoriesErrors = {
|
|
1736
1967
|
/**
|
|
1737
|
-
*
|
|
1968
|
+
* Not authenticated
|
|
1738
1969
|
*/
|
|
1739
|
-
|
|
1970
|
+
401: unknown;
|
|
1971
|
+
/**
|
|
1972
|
+
* Internal server error
|
|
1973
|
+
*/
|
|
1974
|
+
500: unknown;
|
|
1740
1975
|
};
|
|
1741
|
-
export type
|
|
1742
|
-
|
|
1743
|
-
|
|
1976
|
+
export type ListRepositoriesResponses = {
|
|
1977
|
+
/**
|
|
1978
|
+
* List of repositories
|
|
1979
|
+
*/
|
|
1980
|
+
200: Array<RegistryRepository>;
|
|
1981
|
+
};
|
|
1982
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1983
|
+
export type ListTagsData = {
|
|
1984
|
+
body?: never;
|
|
1744
1985
|
path: {
|
|
1745
1986
|
/**
|
|
1746
|
-
*
|
|
1987
|
+
* Region where the repository is located
|
|
1747
1988
|
*/
|
|
1748
|
-
|
|
1989
|
+
region: string;
|
|
1749
1990
|
/**
|
|
1750
|
-
*
|
|
1991
|
+
* Name of the repository
|
|
1751
1992
|
*/
|
|
1752
|
-
|
|
1993
|
+
repository: string;
|
|
1753
1994
|
};
|
|
1754
1995
|
query?: never;
|
|
1755
|
-
url: '/
|
|
1996
|
+
url: '/registry/{region}/{repository}';
|
|
1756
1997
|
};
|
|
1757
|
-
export type
|
|
1998
|
+
export type ListTagsErrors = {
|
|
1758
1999
|
/**
|
|
1759
|
-
*
|
|
2000
|
+
* Not authenticated
|
|
1760
2001
|
*/
|
|
1761
|
-
|
|
2002
|
+
401: unknown;
|
|
2003
|
+
/**
|
|
2004
|
+
* Repository not found
|
|
2005
|
+
*/
|
|
2006
|
+
404: unknown;
|
|
2007
|
+
/**
|
|
2008
|
+
* Internal server error
|
|
2009
|
+
*/
|
|
2010
|
+
500: unknown;
|
|
1762
2011
|
};
|
|
1763
|
-
export type
|
|
1764
|
-
export type UpdateFleetResponses = {
|
|
2012
|
+
export type ListTagsResponses = {
|
|
1765
2013
|
/**
|
|
1766
|
-
*
|
|
2014
|
+
* Repository with tags
|
|
1767
2015
|
*/
|
|
1768
|
-
200:
|
|
2016
|
+
200: RegistryRepositoryWithTags;
|
|
1769
2017
|
};
|
|
1770
|
-
export type
|
|
1771
|
-
export type
|
|
2018
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2019
|
+
export type DeleteTagData = {
|
|
1772
2020
|
body?: never;
|
|
1773
2021
|
path: {
|
|
1774
2022
|
/**
|
|
1775
|
-
*
|
|
2023
|
+
* Region where the repository is located
|
|
1776
2024
|
*/
|
|
1777
|
-
|
|
2025
|
+
region: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* Name of the repository
|
|
2028
|
+
*/
|
|
2029
|
+
repository: string;
|
|
2030
|
+
/**
|
|
2031
|
+
* Name of the tag
|
|
2032
|
+
*/
|
|
2033
|
+
tag: string;
|
|
1778
2034
|
};
|
|
1779
2035
|
query?: never;
|
|
1780
|
-
url: '/
|
|
2036
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1781
2037
|
};
|
|
1782
|
-
export type
|
|
2038
|
+
export type DeleteTagErrors = {
|
|
1783
2039
|
/**
|
|
1784
2040
|
* Not authenticated
|
|
1785
2041
|
*/
|
|
1786
2042
|
401: unknown;
|
|
2043
|
+
/**
|
|
2044
|
+
* Tag not found
|
|
2045
|
+
*/
|
|
2046
|
+
404: unknown;
|
|
2047
|
+
/**
|
|
2048
|
+
* Internal server error
|
|
2049
|
+
*/
|
|
2050
|
+
500: unknown;
|
|
1787
2051
|
};
|
|
1788
|
-
export type
|
|
2052
|
+
export type DeleteTagResponses = {
|
|
1789
2053
|
/**
|
|
1790
|
-
*
|
|
2054
|
+
* Tag successfully deleted
|
|
1791
2055
|
*/
|
|
1792
2056
|
200: unknown;
|
|
1793
2057
|
};
|
|
1794
|
-
export type
|
|
2058
|
+
export type GetTagData = {
|
|
1795
2059
|
body?: never;
|
|
1796
|
-
path
|
|
2060
|
+
path: {
|
|
2061
|
+
/**
|
|
2062
|
+
* Region where the repository is located
|
|
2063
|
+
*/
|
|
2064
|
+
region: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* Name of the repository
|
|
2067
|
+
*/
|
|
2068
|
+
repository: string;
|
|
2069
|
+
/**
|
|
2070
|
+
* Name of the tag
|
|
2071
|
+
*/
|
|
2072
|
+
tag: string;
|
|
2073
|
+
};
|
|
1797
2074
|
query?: never;
|
|
1798
|
-
url: '/
|
|
2075
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1799
2076
|
};
|
|
1800
|
-
export type
|
|
2077
|
+
export type GetTagErrors = {
|
|
1801
2078
|
/**
|
|
1802
2079
|
* Not authenticated
|
|
1803
2080
|
*/
|
|
1804
2081
|
401: unknown;
|
|
2082
|
+
/**
|
|
2083
|
+
* Tag not found
|
|
2084
|
+
*/
|
|
2085
|
+
404: unknown;
|
|
2086
|
+
/**
|
|
2087
|
+
* Internal server error
|
|
2088
|
+
*/
|
|
2089
|
+
500: unknown;
|
|
1805
2090
|
};
|
|
1806
|
-
export type
|
|
2091
|
+
export type GetTagResponses = {
|
|
1807
2092
|
/**
|
|
1808
|
-
*
|
|
2093
|
+
* Tag details
|
|
1809
2094
|
*/
|
|
1810
|
-
200:
|
|
2095
|
+
200: RegistryTag;
|
|
1811
2096
|
};
|
|
1812
|
-
export type
|
|
1813
|
-
export type
|
|
1814
|
-
body
|
|
2097
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2098
|
+
export type GetOrganizationData = {
|
|
2099
|
+
body?: never;
|
|
1815
2100
|
path?: never;
|
|
1816
2101
|
query?: never;
|
|
1817
|
-
url: '/
|
|
2102
|
+
url: '/organization';
|
|
1818
2103
|
};
|
|
1819
|
-
export type
|
|
2104
|
+
export type GetOrganizationResponses = {
|
|
1820
2105
|
/**
|
|
1821
|
-
*
|
|
2106
|
+
* Returns a single object containing organization details.
|
|
1822
2107
|
*/
|
|
1823
|
-
|
|
2108
|
+
200: Organization;
|
|
1824
2109
|
};
|
|
1825
|
-
export type
|
|
1826
|
-
export type
|
|
2110
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2111
|
+
export type CreateOrganizationData = {
|
|
2112
|
+
body: OrganizationCreateInput;
|
|
2113
|
+
path?: never;
|
|
2114
|
+
query?: never;
|
|
2115
|
+
url: '/organization';
|
|
2116
|
+
};
|
|
2117
|
+
export type CreateOrganizationResponses = {
|
|
1827
2118
|
/**
|
|
1828
|
-
*
|
|
2119
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2120
|
+
*
|
|
1829
2121
|
*/
|
|
1830
|
-
200:
|
|
2122
|
+
200: OrganizationCreateOutput;
|
|
1831
2123
|
};
|
|
1832
|
-
export type
|
|
1833
|
-
export type
|
|
1834
|
-
|
|
1835
|
-
|
|
2124
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2125
|
+
export type PostMcpData = {
|
|
2126
|
+
/**
|
|
2127
|
+
* JSON-RPC 2.0 request payload
|
|
2128
|
+
*/
|
|
2129
|
+
body: {
|
|
2130
|
+
jsonrpc?: string;
|
|
2131
|
+
method?: string;
|
|
2132
|
+
id?: string | number;
|
|
1836
2133
|
/**
|
|
1837
|
-
*
|
|
2134
|
+
* Method-specific parameters
|
|
1838
2135
|
*/
|
|
1839
|
-
|
|
2136
|
+
params?: {
|
|
2137
|
+
[key: string]: unknown;
|
|
2138
|
+
};
|
|
1840
2139
|
};
|
|
2140
|
+
path?: never;
|
|
1841
2141
|
query?: never;
|
|
1842
|
-
url: '/
|
|
2142
|
+
url: '/mcp';
|
|
1843
2143
|
};
|
|
1844
|
-
export type
|
|
2144
|
+
export type PostMcpErrors = {
|
|
1845
2145
|
/**
|
|
1846
|
-
*
|
|
2146
|
+
* Not authenticated
|
|
1847
2147
|
*/
|
|
1848
|
-
|
|
2148
|
+
401: unknown;
|
|
1849
2149
|
};
|
|
1850
|
-
export type
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
2150
|
+
export type PostMcpResponses = {
|
|
2151
|
+
/**
|
|
2152
|
+
* JSON-RPC 2.0 success or error response
|
|
2153
|
+
*/
|
|
2154
|
+
200: {
|
|
2155
|
+
jsonrpc?: string;
|
|
2156
|
+
id?: string | number;
|
|
2157
|
+
result?: {
|
|
2158
|
+
[key: string]: unknown;
|
|
2159
|
+
};
|
|
2160
|
+
error?: {
|
|
2161
|
+
code?: number;
|
|
2162
|
+
message?: string;
|
|
2163
|
+
};
|
|
1858
2164
|
};
|
|
2165
|
+
};
|
|
2166
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2167
|
+
export type ListMarketplaceChartsData = {
|
|
2168
|
+
body?: never;
|
|
2169
|
+
path?: never;
|
|
1859
2170
|
query?: never;
|
|
1860
|
-
url: '/
|
|
2171
|
+
url: '/marketplace';
|
|
1861
2172
|
};
|
|
1862
|
-
export type
|
|
2173
|
+
export type ListMarketplaceChartsErrors = {
|
|
1863
2174
|
/**
|
|
1864
|
-
*
|
|
2175
|
+
* Not authenticated
|
|
1865
2176
|
*/
|
|
1866
|
-
|
|
1867
|
-
};
|
|
1868
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1869
|
-
export type UpdateClusterData = {
|
|
1870
|
-
body: ClusterUpdateInput;
|
|
1871
|
-
path: {
|
|
1872
|
-
/**
|
|
1873
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1874
|
-
*/
|
|
1875
|
-
cluster_id: string;
|
|
1876
|
-
};
|
|
1877
|
-
query?: never;
|
|
1878
|
-
url: '/clusters/{cluster_id}';
|
|
2177
|
+
401: unknown;
|
|
1879
2178
|
};
|
|
1880
|
-
export type
|
|
2179
|
+
export type ListMarketplaceChartsResponses = {
|
|
1881
2180
|
/**
|
|
1882
|
-
*
|
|
2181
|
+
* An array of chart listings in the marketplace.
|
|
1883
2182
|
*/
|
|
1884
|
-
200:
|
|
2183
|
+
200: Array<MarketplaceListing>;
|
|
1885
2184
|
};
|
|
1886
|
-
export type
|
|
1887
|
-
export type
|
|
2185
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2186
|
+
export type GetMarketplaceChartFilesData = {
|
|
1888
2187
|
body?: never;
|
|
1889
2188
|
path: {
|
|
1890
2189
|
/**
|
|
1891
|
-
*
|
|
2190
|
+
* Name of the chart in the marketplace.
|
|
1892
2191
|
*/
|
|
1893
|
-
|
|
2192
|
+
chart_name: string;
|
|
2193
|
+
/**
|
|
2194
|
+
* 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).
|
|
2195
|
+
*/
|
|
2196
|
+
version_channel: string;
|
|
1894
2197
|
};
|
|
1895
2198
|
query?: never;
|
|
1896
|
-
url: '/
|
|
2199
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1897
2200
|
};
|
|
1898
|
-
export type
|
|
2201
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1899
2202
|
/**
|
|
1900
|
-
*
|
|
2203
|
+
* Chart not found or no version matches the channel
|
|
1901
2204
|
*/
|
|
1902
|
-
|
|
2205
|
+
404: unknown;
|
|
1903
2206
|
};
|
|
1904
|
-
export type
|
|
2207
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1905
2208
|
/**
|
|
1906
|
-
*
|
|
2209
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1907
2210
|
*/
|
|
1908
|
-
200:
|
|
2211
|
+
200: MarketplaceListingFiles;
|
|
1909
2212
|
};
|
|
1910
|
-
export type
|
|
2213
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1911
2214
|
export type ListInvitesData = {
|
|
1912
2215
|
body?: never;
|
|
1913
2216
|
path?: never;
|
|
@@ -1928,12 +2231,7 @@ export type ListInvitesResponses = {
|
|
|
1928
2231
|
};
|
|
1929
2232
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1930
2233
|
export type CreateInviteData = {
|
|
1931
|
-
body:
|
|
1932
|
-
/**
|
|
1933
|
-
* User email address
|
|
1934
|
-
*/
|
|
1935
|
-
email?: string;
|
|
1936
|
-
};
|
|
2234
|
+
body: InviteCreateInput;
|
|
1937
2235
|
path?: never;
|
|
1938
2236
|
query?: never;
|
|
1939
2237
|
url: '/invites';
|
|
@@ -1958,9 +2256,18 @@ export type GetInviteData = {
|
|
|
1958
2256
|
};
|
|
1959
2257
|
export type GetInviteResponses = {
|
|
1960
2258
|
/**
|
|
1961
|
-
* Returns
|
|
2259
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1962
2260
|
*/
|
|
1963
|
-
200:
|
|
2261
|
+
200: {
|
|
2262
|
+
/**
|
|
2263
|
+
* Email address the invite was issued to.
|
|
2264
|
+
*/
|
|
2265
|
+
email?: string;
|
|
2266
|
+
/**
|
|
2267
|
+
* Identifier of the organization the invite grants access to.
|
|
2268
|
+
*/
|
|
2269
|
+
organization_id?: string;
|
|
2270
|
+
};
|
|
1964
2271
|
};
|
|
1965
2272
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1966
2273
|
export type DeleteInviteData = {
|
|
@@ -1980,617 +2287,654 @@ export type DeleteInviteResponses = {
|
|
|
1980
2287
|
*/
|
|
1981
2288
|
200: unknown;
|
|
1982
2289
|
};
|
|
1983
|
-
export type
|
|
2290
|
+
export type QueryClusterData = {
|
|
1984
2291
|
body?: never;
|
|
1985
|
-
path
|
|
2292
|
+
path: {
|
|
2293
|
+
/**
|
|
2294
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2295
|
+
*/
|
|
2296
|
+
cluster_id: string;
|
|
2297
|
+
};
|
|
1986
2298
|
query?: never;
|
|
1987
|
-
url: '/
|
|
2299
|
+
url: '/clusters/{cluster_id}/query';
|
|
1988
2300
|
};
|
|
1989
|
-
export type
|
|
2301
|
+
export type QueryClusterErrors = {
|
|
1990
2302
|
/**
|
|
1991
2303
|
* Not authenticated
|
|
1992
2304
|
*/
|
|
1993
2305
|
401: unknown;
|
|
1994
2306
|
};
|
|
1995
|
-
export type
|
|
2307
|
+
export type QueryClusterResponses = {
|
|
1996
2308
|
/**
|
|
1997
|
-
*
|
|
2309
|
+
* Kubernetes API response
|
|
1998
2310
|
*/
|
|
1999
|
-
200:
|
|
2311
|
+
200: unknown;
|
|
2000
2312
|
};
|
|
2001
|
-
export type
|
|
2002
|
-
export type GetMarketplaceChartFilesData = {
|
|
2313
|
+
export type ListFleetsData = {
|
|
2003
2314
|
body?: never;
|
|
2004
2315
|
path: {
|
|
2005
2316
|
/**
|
|
2006
|
-
*
|
|
2007
|
-
*/
|
|
2008
|
-
chart_name: string;
|
|
2009
|
-
/**
|
|
2010
|
-
* 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).
|
|
2317
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2011
2318
|
*/
|
|
2012
|
-
|
|
2319
|
+
cluster_id: string;
|
|
2013
2320
|
};
|
|
2014
2321
|
query?: never;
|
|
2015
|
-
url: '/
|
|
2322
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2016
2323
|
};
|
|
2017
|
-
export type
|
|
2324
|
+
export type ListFleetsErrors = {
|
|
2018
2325
|
/**
|
|
2019
|
-
*
|
|
2326
|
+
* Not authenticated
|
|
2020
2327
|
*/
|
|
2021
|
-
|
|
2328
|
+
401: unknown;
|
|
2022
2329
|
};
|
|
2023
|
-
export type
|
|
2330
|
+
export type ListFleetsResponses = {
|
|
2024
2331
|
/**
|
|
2025
|
-
*
|
|
2332
|
+
* An array of fleets
|
|
2026
2333
|
*/
|
|
2027
|
-
200:
|
|
2334
|
+
200: Array<Fleet>;
|
|
2028
2335
|
};
|
|
2029
|
-
export type
|
|
2030
|
-
export type
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
*/
|
|
2034
|
-
body: {
|
|
2035
|
-
jsonrpc?: string;
|
|
2036
|
-
method?: string;
|
|
2037
|
-
id?: string | number;
|
|
2336
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2337
|
+
export type CreateFleetData = {
|
|
2338
|
+
body: FleetCreateInput;
|
|
2339
|
+
path: {
|
|
2038
2340
|
/**
|
|
2039
|
-
*
|
|
2341
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2040
2342
|
*/
|
|
2041
|
-
|
|
2042
|
-
[key: string]: unknown;
|
|
2043
|
-
};
|
|
2343
|
+
cluster_id: string;
|
|
2044
2344
|
};
|
|
2045
|
-
path?: never;
|
|
2046
2345
|
query?: never;
|
|
2047
|
-
url: '/
|
|
2346
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2048
2347
|
};
|
|
2049
|
-
export type
|
|
2348
|
+
export type CreateFleetErrors = {
|
|
2050
2349
|
/**
|
|
2051
|
-
*
|
|
2350
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2052
2351
|
*/
|
|
2053
|
-
|
|
2352
|
+
402: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* 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.
|
|
2355
|
+
*/
|
|
2356
|
+
409: string;
|
|
2054
2357
|
};
|
|
2055
|
-
export type
|
|
2358
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2359
|
+
export type CreateFleetResponses = {
|
|
2056
2360
|
/**
|
|
2057
|
-
*
|
|
2361
|
+
* Successfully created. Returns created Fleet ID.
|
|
2058
2362
|
*/
|
|
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
|
-
};
|
|
2363
|
+
200: string;
|
|
2070
2364
|
};
|
|
2071
|
-
export type
|
|
2072
|
-
export type
|
|
2365
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2366
|
+
export type DeleteFleetData = {
|
|
2073
2367
|
body?: never;
|
|
2074
|
-
path
|
|
2368
|
+
path: {
|
|
2369
|
+
/**
|
|
2370
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2371
|
+
*/
|
|
2372
|
+
cluster_id: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2375
|
+
*/
|
|
2376
|
+
fleet_name: string;
|
|
2377
|
+
};
|
|
2075
2378
|
query?: never;
|
|
2076
|
-
url: '/
|
|
2379
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2077
2380
|
};
|
|
2078
|
-
export type
|
|
2381
|
+
export type DeleteFleetErrors = {
|
|
2079
2382
|
/**
|
|
2080
|
-
*
|
|
2383
|
+
* 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.
|
|
2081
2384
|
*/
|
|
2082
|
-
|
|
2385
|
+
409: string;
|
|
2083
2386
|
};
|
|
2084
|
-
export type
|
|
2085
|
-
export type
|
|
2086
|
-
|
|
2087
|
-
|
|
2387
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2388
|
+
export type DeleteFleetResponses = {
|
|
2389
|
+
/**
|
|
2390
|
+
* Successfully deleted.
|
|
2391
|
+
*/
|
|
2392
|
+
200: string;
|
|
2393
|
+
};
|
|
2394
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2395
|
+
export type GetFleetData = {
|
|
2396
|
+
body?: never;
|
|
2397
|
+
path: {
|
|
2398
|
+
/**
|
|
2399
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2400
|
+
*/
|
|
2401
|
+
cluster_id: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2404
|
+
*/
|
|
2405
|
+
fleet_name: string;
|
|
2406
|
+
};
|
|
2088
2407
|
query?: never;
|
|
2089
|
-
url: '/
|
|
2408
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2090
2409
|
};
|
|
2091
|
-
export type
|
|
2410
|
+
export type GetFleetResponses = {
|
|
2092
2411
|
/**
|
|
2093
|
-
*
|
|
2412
|
+
* Returns a single object containing fleet details.
|
|
2094
2413
|
*/
|
|
2095
|
-
200:
|
|
2414
|
+
200: Fleet;
|
|
2096
2415
|
};
|
|
2097
|
-
export type
|
|
2098
|
-
|
|
2099
|
-
|
|
2416
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2417
|
+
export type UpdateFleetData = {
|
|
2418
|
+
body: FleetUpdateInput;
|
|
2419
|
+
path: {
|
|
2420
|
+
/**
|
|
2421
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2422
|
+
*/
|
|
2423
|
+
cluster_id: string;
|
|
2424
|
+
/**
|
|
2425
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2426
|
+
*/
|
|
2427
|
+
fleet_name: string;
|
|
2428
|
+
};
|
|
2100
2429
|
query?: never;
|
|
2101
|
-
url: '/
|
|
2430
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2102
2431
|
};
|
|
2103
|
-
export type
|
|
2432
|
+
export type UpdateFleetErrors = {
|
|
2104
2433
|
/**
|
|
2105
|
-
*
|
|
2434
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2106
2435
|
*/
|
|
2107
|
-
|
|
2436
|
+
402: string;
|
|
2108
2437
|
/**
|
|
2109
|
-
*
|
|
2438
|
+
* 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
2439
|
*/
|
|
2111
|
-
|
|
2440
|
+
409: string;
|
|
2112
2441
|
};
|
|
2113
|
-
export type
|
|
2442
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2443
|
+
export type UpdateFleetResponses = {
|
|
2114
2444
|
/**
|
|
2115
|
-
*
|
|
2445
|
+
* Successfully updated.
|
|
2116
2446
|
*/
|
|
2117
|
-
200:
|
|
2447
|
+
200: string;
|
|
2118
2448
|
};
|
|
2119
|
-
export type
|
|
2120
|
-
export type
|
|
2449
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2450
|
+
export type ListChartsData = {
|
|
2121
2451
|
body?: never;
|
|
2122
2452
|
path: {
|
|
2123
2453
|
/**
|
|
2124
|
-
*
|
|
2125
|
-
*/
|
|
2126
|
-
region: string;
|
|
2127
|
-
/**
|
|
2128
|
-
* Name of the repository
|
|
2454
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2129
2455
|
*/
|
|
2130
|
-
|
|
2456
|
+
cluster_id: string;
|
|
2131
2457
|
};
|
|
2132
2458
|
query?: never;
|
|
2133
|
-
url: '/
|
|
2459
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2134
2460
|
};
|
|
2135
|
-
export type
|
|
2461
|
+
export type ListChartsErrors = {
|
|
2136
2462
|
/**
|
|
2137
2463
|
* Not authenticated
|
|
2138
2464
|
*/
|
|
2139
2465
|
401: unknown;
|
|
2466
|
+
};
|
|
2467
|
+
export type ListChartsResponses = {
|
|
2140
2468
|
/**
|
|
2141
|
-
*
|
|
2469
|
+
* An array of charts
|
|
2142
2470
|
*/
|
|
2143
|
-
|
|
2471
|
+
200: Array<Chart>;
|
|
2472
|
+
};
|
|
2473
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2474
|
+
export type CreateChartData = {
|
|
2475
|
+
body: ChartCreateInput;
|
|
2476
|
+
path: {
|
|
2477
|
+
/**
|
|
2478
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2479
|
+
*/
|
|
2480
|
+
cluster_id: string;
|
|
2481
|
+
};
|
|
2482
|
+
query?: never;
|
|
2483
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2484
|
+
};
|
|
2485
|
+
export type CreateChartErrors = {
|
|
2144
2486
|
/**
|
|
2145
|
-
*
|
|
2487
|
+
* 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.
|
|
2146
2488
|
*/
|
|
2147
|
-
|
|
2489
|
+
409: string;
|
|
2148
2490
|
};
|
|
2149
|
-
export type
|
|
2491
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2492
|
+
export type CreateChartResponses = {
|
|
2150
2493
|
/**
|
|
2151
|
-
*
|
|
2494
|
+
* Successfully created. Returns created Chart ID.
|
|
2152
2495
|
*/
|
|
2153
|
-
200:
|
|
2496
|
+
200: string;
|
|
2154
2497
|
};
|
|
2155
|
-
export type
|
|
2156
|
-
export type
|
|
2498
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2499
|
+
export type DeleteChartData = {
|
|
2157
2500
|
body?: never;
|
|
2158
2501
|
path: {
|
|
2159
2502
|
/**
|
|
2160
|
-
*
|
|
2161
|
-
*/
|
|
2162
|
-
region: string;
|
|
2163
|
-
/**
|
|
2164
|
-
* Name of the repository
|
|
2503
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2165
2504
|
*/
|
|
2166
|
-
|
|
2505
|
+
cluster_id: string;
|
|
2167
2506
|
/**
|
|
2168
|
-
*
|
|
2507
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2169
2508
|
*/
|
|
2170
|
-
|
|
2509
|
+
chart_name: string;
|
|
2171
2510
|
};
|
|
2172
2511
|
query?: never;
|
|
2173
|
-
url: '/
|
|
2512
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2174
2513
|
};
|
|
2175
|
-
export type
|
|
2176
|
-
/**
|
|
2177
|
-
* Not authenticated
|
|
2178
|
-
*/
|
|
2179
|
-
401: unknown;
|
|
2180
|
-
/**
|
|
2181
|
-
* Tag not found
|
|
2182
|
-
*/
|
|
2183
|
-
404: unknown;
|
|
2514
|
+
export type DeleteChartErrors = {
|
|
2184
2515
|
/**
|
|
2185
|
-
*
|
|
2516
|
+
* 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
2517
|
*/
|
|
2187
|
-
|
|
2518
|
+
409: string;
|
|
2188
2519
|
};
|
|
2189
|
-
export type
|
|
2520
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2521
|
+
export type DeleteChartResponses = {
|
|
2190
2522
|
/**
|
|
2191
|
-
*
|
|
2523
|
+
* Successfully deleted.
|
|
2192
2524
|
*/
|
|
2193
|
-
200:
|
|
2525
|
+
200: string;
|
|
2194
2526
|
};
|
|
2195
|
-
export type
|
|
2527
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2528
|
+
export type GetChartData = {
|
|
2196
2529
|
body?: never;
|
|
2197
2530
|
path: {
|
|
2198
2531
|
/**
|
|
2199
|
-
*
|
|
2200
|
-
*/
|
|
2201
|
-
region: string;
|
|
2202
|
-
/**
|
|
2203
|
-
* Name of the repository
|
|
2532
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2204
2533
|
*/
|
|
2205
|
-
|
|
2534
|
+
cluster_id: string;
|
|
2206
2535
|
/**
|
|
2207
|
-
*
|
|
2536
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2208
2537
|
*/
|
|
2209
|
-
|
|
2538
|
+
chart_name: string;
|
|
2210
2539
|
};
|
|
2211
2540
|
query?: never;
|
|
2212
|
-
url: '/
|
|
2541
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2213
2542
|
};
|
|
2214
|
-
export type
|
|
2215
|
-
/**
|
|
2216
|
-
* Not authenticated
|
|
2217
|
-
*/
|
|
2218
|
-
401: unknown;
|
|
2543
|
+
export type GetChartResponses = {
|
|
2219
2544
|
/**
|
|
2220
|
-
*
|
|
2545
|
+
* Returns a single object containing chart details.
|
|
2221
2546
|
*/
|
|
2222
|
-
|
|
2547
|
+
200: Chart;
|
|
2548
|
+
};
|
|
2549
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2550
|
+
export type UpdateChartData = {
|
|
2551
|
+
body: ChartUpdateInput;
|
|
2552
|
+
path: {
|
|
2553
|
+
/**
|
|
2554
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2555
|
+
*/
|
|
2556
|
+
cluster_id: string;
|
|
2557
|
+
/**
|
|
2558
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2559
|
+
*/
|
|
2560
|
+
chart_name: string;
|
|
2561
|
+
};
|
|
2562
|
+
query?: never;
|
|
2563
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2564
|
+
};
|
|
2565
|
+
export type UpdateChartErrors = {
|
|
2223
2566
|
/**
|
|
2224
|
-
*
|
|
2567
|
+
* 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
2568
|
*/
|
|
2226
|
-
|
|
2569
|
+
409: string;
|
|
2227
2570
|
};
|
|
2228
|
-
export type
|
|
2571
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2572
|
+
export type UpdateChartResponses = {
|
|
2229
2573
|
/**
|
|
2230
|
-
*
|
|
2574
|
+
* Successfully updated.
|
|
2231
2575
|
*/
|
|
2232
|
-
200:
|
|
2576
|
+
200: string;
|
|
2233
2577
|
};
|
|
2234
|
-
export type
|
|
2235
|
-
export type
|
|
2578
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2579
|
+
export type ListClustersData = {
|
|
2236
2580
|
body?: never;
|
|
2237
2581
|
path?: never;
|
|
2238
2582
|
query?: never;
|
|
2239
|
-
url: '/
|
|
2583
|
+
url: '/clusters';
|
|
2240
2584
|
};
|
|
2241
|
-
export type
|
|
2585
|
+
export type ListClustersErrors = {
|
|
2242
2586
|
/**
|
|
2243
|
-
*
|
|
2587
|
+
* Not authenticated
|
|
2244
2588
|
*/
|
|
2245
|
-
|
|
2589
|
+
401: unknown;
|
|
2246
2590
|
};
|
|
2247
|
-
export type
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2591
|
+
export type ListClustersResponses = {
|
|
2592
|
+
/**
|
|
2593
|
+
* An array of clusters
|
|
2594
|
+
*/
|
|
2595
|
+
200: Array<Cluster>;
|
|
2596
|
+
};
|
|
2597
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2598
|
+
export type CreateClusterData = {
|
|
2599
|
+
body: ClusterCreateInput;
|
|
2256
2600
|
path?: never;
|
|
2257
2601
|
query?: never;
|
|
2258
|
-
url: '/
|
|
2602
|
+
url: '/clusters';
|
|
2259
2603
|
};
|
|
2260
|
-
export type
|
|
2604
|
+
export type CreateClusterErrors = {
|
|
2261
2605
|
/**
|
|
2262
|
-
*
|
|
2606
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2263
2607
|
*/
|
|
2264
|
-
|
|
2265
|
-
};
|
|
2266
|
-
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2267
|
-
export type CloseTicketData = {
|
|
2268
|
-
body?: never;
|
|
2269
|
-
path: {
|
|
2270
|
-
ticket_id: string;
|
|
2271
|
-
};
|
|
2272
|
-
query?: never;
|
|
2273
|
-
url: '/tickets/{ticket_id}';
|
|
2608
|
+
402: string;
|
|
2274
2609
|
};
|
|
2275
|
-
export type
|
|
2610
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2611
|
+
export type CreateClusterResponses = {
|
|
2276
2612
|
/**
|
|
2277
|
-
*
|
|
2613
|
+
* Successfully created. Returns created Cluster ID.
|
|
2278
2614
|
*/
|
|
2279
|
-
200:
|
|
2615
|
+
200: string;
|
|
2280
2616
|
};
|
|
2281
|
-
export type
|
|
2282
|
-
export type
|
|
2617
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2618
|
+
export type DeleteClusterData = {
|
|
2283
2619
|
body?: never;
|
|
2284
2620
|
path: {
|
|
2285
|
-
|
|
2621
|
+
/**
|
|
2622
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2623
|
+
*/
|
|
2624
|
+
cluster_id: string;
|
|
2286
2625
|
};
|
|
2287
2626
|
query?: never;
|
|
2288
|
-
url: '/
|
|
2627
|
+
url: '/clusters/{cluster_id}';
|
|
2289
2628
|
};
|
|
2290
|
-
export type
|
|
2629
|
+
export type DeleteClusterErrors = {
|
|
2291
2630
|
/**
|
|
2292
|
-
*
|
|
2631
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
2293
2632
|
*/
|
|
2294
|
-
|
|
2633
|
+
404: unknown;
|
|
2634
|
+
/**
|
|
2635
|
+
* 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.
|
|
2636
|
+
*/
|
|
2637
|
+
409: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2640
|
+
*/
|
|
2641
|
+
503: unknown;
|
|
2295
2642
|
};
|
|
2296
|
-
export type
|
|
2297
|
-
export type
|
|
2298
|
-
|
|
2643
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2644
|
+
export type DeleteClusterResponses = {
|
|
2645
|
+
/**
|
|
2646
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2647
|
+
*/
|
|
2648
|
+
200: string;
|
|
2649
|
+
};
|
|
2650
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2651
|
+
export type GetClusterData = {
|
|
2652
|
+
body?: never;
|
|
2653
|
+
path: {
|
|
2299
2654
|
/**
|
|
2300
|
-
*
|
|
2655
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2301
2656
|
*/
|
|
2302
|
-
|
|
2303
|
-
attachments?: Array<Blob | File>;
|
|
2304
|
-
};
|
|
2305
|
-
path: {
|
|
2306
|
-
ticket_id: string;
|
|
2657
|
+
cluster_id: string;
|
|
2307
2658
|
};
|
|
2308
2659
|
query?: never;
|
|
2309
|
-
url: '/
|
|
2310
|
-
};
|
|
2311
|
-
export type ReplyTicketErrors = {
|
|
2312
|
-
/**
|
|
2313
|
-
* Ticket is closed. Open a new ticket instead.
|
|
2314
|
-
*/
|
|
2315
|
-
409: unknown;
|
|
2660
|
+
url: '/clusters/{cluster_id}';
|
|
2316
2661
|
};
|
|
2317
|
-
export type
|
|
2662
|
+
export type GetClusterResponses = {
|
|
2318
2663
|
/**
|
|
2319
|
-
*
|
|
2664
|
+
* Returns a single object containing cluster details.
|
|
2320
2665
|
*/
|
|
2321
|
-
200:
|
|
2666
|
+
200: Cluster;
|
|
2322
2667
|
};
|
|
2323
|
-
export type
|
|
2324
|
-
export type
|
|
2325
|
-
body
|
|
2668
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2669
|
+
export type UpdateClusterData = {
|
|
2670
|
+
body: ClusterUpdateInput;
|
|
2326
2671
|
path: {
|
|
2327
|
-
|
|
2328
|
-
|
|
2672
|
+
/**
|
|
2673
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2674
|
+
*/
|
|
2675
|
+
cluster_id: string;
|
|
2329
2676
|
};
|
|
2330
2677
|
query?: never;
|
|
2331
|
-
url: '/
|
|
2678
|
+
url: '/clusters/{cluster_id}';
|
|
2332
2679
|
};
|
|
2333
|
-
export type
|
|
2680
|
+
export type UpdateClusterErrors = {
|
|
2334
2681
|
/**
|
|
2335
|
-
*
|
|
2682
|
+
* 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
2683
|
*/
|
|
2337
|
-
|
|
2684
|
+
409: string;
|
|
2338
2685
|
};
|
|
2339
|
-
export type
|
|
2340
|
-
export type
|
|
2686
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2687
|
+
export type UpdateClusterResponses = {
|
|
2688
|
+
/**
|
|
2689
|
+
* Successfully updated. Returns updated cluster details.
|
|
2690
|
+
*/
|
|
2691
|
+
200: Cluster;
|
|
2692
|
+
};
|
|
2693
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2694
|
+
export type GetJoinInformationData = {
|
|
2341
2695
|
body?: never;
|
|
2342
|
-
path
|
|
2696
|
+
path: {
|
|
2697
|
+
/**
|
|
2698
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2699
|
+
*/
|
|
2700
|
+
cluster_id: string;
|
|
2701
|
+
};
|
|
2343
2702
|
query?: never;
|
|
2344
|
-
url: '/
|
|
2703
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2345
2704
|
};
|
|
2346
|
-
export type
|
|
2705
|
+
export type GetJoinInformationErrors = {
|
|
2347
2706
|
/**
|
|
2348
2707
|
* Not authenticated
|
|
2349
2708
|
*/
|
|
2350
2709
|
401: unknown;
|
|
2710
|
+
/**
|
|
2711
|
+
* 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.
|
|
2712
|
+
*/
|
|
2713
|
+
409: string;
|
|
2351
2714
|
};
|
|
2352
|
-
export type
|
|
2715
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2716
|
+
export type GetJoinInformationResponses = {
|
|
2353
2717
|
/**
|
|
2354
|
-
*
|
|
2718
|
+
* An object of cluster join information
|
|
2355
2719
|
*/
|
|
2356
|
-
200:
|
|
2720
|
+
200: ClusterJoinInformation;
|
|
2357
2721
|
};
|
|
2358
|
-
export type
|
|
2359
|
-
export type
|
|
2360
|
-
body
|
|
2722
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2723
|
+
export type GetUsageData = {
|
|
2724
|
+
body?: never;
|
|
2361
2725
|
path?: never;
|
|
2362
|
-
query?:
|
|
2363
|
-
|
|
2726
|
+
query?: {
|
|
2727
|
+
/**
|
|
2728
|
+
* 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)
|
|
2729
|
+
*/
|
|
2730
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2731
|
+
};
|
|
2732
|
+
url: '/billing/usage';
|
|
2364
2733
|
};
|
|
2365
|
-
export type
|
|
2734
|
+
export type GetUsageErrors = {
|
|
2366
2735
|
/**
|
|
2367
2736
|
* Not authenticated
|
|
2368
2737
|
*/
|
|
2369
2738
|
401: unknown;
|
|
2370
2739
|
};
|
|
2371
|
-
export type
|
|
2740
|
+
export type GetUsageResponses = {
|
|
2372
2741
|
/**
|
|
2373
|
-
*
|
|
2742
|
+
* Usage data with facets for filtering
|
|
2374
2743
|
*/
|
|
2375
|
-
200:
|
|
2744
|
+
200: UsageResponse;
|
|
2376
2745
|
};
|
|
2377
|
-
export type
|
|
2378
|
-
export type
|
|
2746
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2747
|
+
export type GetPaymentMethodSecretData = {
|
|
2379
2748
|
body?: never;
|
|
2380
|
-
path
|
|
2381
|
-
/**
|
|
2382
|
-
* Generated unique identifier of the access token.
|
|
2383
|
-
*/
|
|
2384
|
-
token_id: string;
|
|
2385
|
-
};
|
|
2749
|
+
path?: never;
|
|
2386
2750
|
query?: never;
|
|
2387
|
-
url: '/
|
|
2751
|
+
url: '/billing/payment-method';
|
|
2388
2752
|
};
|
|
2389
|
-
export type
|
|
2753
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2390
2754
|
/**
|
|
2391
|
-
*
|
|
2755
|
+
* 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.
|
|
2756
|
+
*
|
|
2392
2757
|
*/
|
|
2393
|
-
200:
|
|
2394
|
-
};
|
|
2395
|
-
export type GetTokenData = {
|
|
2396
|
-
body?: never;
|
|
2397
|
-
path: {
|
|
2758
|
+
200: {
|
|
2398
2759
|
/**
|
|
2399
|
-
*
|
|
2760
|
+
* The client secret.
|
|
2400
2761
|
*/
|
|
2401
|
-
|
|
2762
|
+
id?: string;
|
|
2402
2763
|
};
|
|
2764
|
+
};
|
|
2765
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2766
|
+
export type ListPaymentMethodsData = {
|
|
2767
|
+
body?: never;
|
|
2768
|
+
path?: never;
|
|
2403
2769
|
query?: never;
|
|
2404
|
-
url: '/
|
|
2770
|
+
url: '/billing/payment-methods';
|
|
2405
2771
|
};
|
|
2406
|
-
export type
|
|
2772
|
+
export type ListPaymentMethodsErrors = {
|
|
2407
2773
|
/**
|
|
2408
2774
|
* Not authenticated
|
|
2409
2775
|
*/
|
|
2410
2776
|
401: unknown;
|
|
2411
2777
|
};
|
|
2412
|
-
export type
|
|
2778
|
+
export type ListPaymentMethodsResponses = {
|
|
2413
2779
|
/**
|
|
2414
|
-
*
|
|
2780
|
+
* An array of payment methods.
|
|
2415
2781
|
*/
|
|
2416
|
-
200:
|
|
2782
|
+
200: Array<PaymentMethod>;
|
|
2417
2783
|
};
|
|
2418
|
-
export type
|
|
2419
|
-
export type
|
|
2420
|
-
body
|
|
2784
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2785
|
+
export type SetDefaultPaymentMethodData = {
|
|
2786
|
+
body?: never;
|
|
2421
2787
|
path: {
|
|
2422
2788
|
/**
|
|
2423
|
-
*
|
|
2789
|
+
* Stripe payment method identifier.
|
|
2424
2790
|
*/
|
|
2425
|
-
|
|
2791
|
+
paymentMethodId: string;
|
|
2426
2792
|
};
|
|
2427
2793
|
query?: never;
|
|
2428
|
-
url: '/
|
|
2794
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2429
2795
|
};
|
|
2430
|
-
export type
|
|
2796
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2797
|
+
/**
|
|
2798
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2799
|
+
*/
|
|
2800
|
+
400: unknown;
|
|
2431
2801
|
/**
|
|
2432
2802
|
* Not authenticated
|
|
2433
2803
|
*/
|
|
2434
2804
|
401: unknown;
|
|
2805
|
+
/**
|
|
2806
|
+
* Payment method not found.
|
|
2807
|
+
*/
|
|
2808
|
+
404: unknown;
|
|
2435
2809
|
};
|
|
2436
|
-
export type
|
|
2810
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2437
2811
|
/**
|
|
2438
|
-
*
|
|
2812
|
+
* Default payment method updated.
|
|
2439
2813
|
*/
|
|
2440
|
-
|
|
2814
|
+
204: void;
|
|
2441
2815
|
};
|
|
2442
|
-
export type
|
|
2443
|
-
export type
|
|
2816
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2817
|
+
export type DeletePaymentMethodData = {
|
|
2444
2818
|
body?: never;
|
|
2445
2819
|
path: {
|
|
2446
2820
|
/**
|
|
2447
|
-
*
|
|
2821
|
+
* Stripe payment method identifier.
|
|
2448
2822
|
*/
|
|
2449
|
-
|
|
2823
|
+
paymentMethodId: string;
|
|
2450
2824
|
};
|
|
2451
2825
|
query?: never;
|
|
2452
|
-
url: '/
|
|
2826
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2453
2827
|
};
|
|
2454
|
-
export type
|
|
2828
|
+
export type DeletePaymentMethodErrors = {
|
|
2829
|
+
/**
|
|
2830
|
+
* The bank transfer payment method cannot be removed.
|
|
2831
|
+
*/
|
|
2832
|
+
400: unknown;
|
|
2455
2833
|
/**
|
|
2456
2834
|
* Not authenticated
|
|
2457
2835
|
*/
|
|
2458
2836
|
401: unknown;
|
|
2459
|
-
};
|
|
2460
|
-
export type RegenerateTokenResponses = {
|
|
2461
2837
|
/**
|
|
2462
|
-
*
|
|
2838
|
+
* Payment method not found.
|
|
2463
2839
|
*/
|
|
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}';
|
|
2840
|
+
404: unknown;
|
|
2841
|
+
/**
|
|
2842
|
+
* Cannot delete the only remaining payment method.
|
|
2843
|
+
*/
|
|
2844
|
+
409: unknown;
|
|
2477
2845
|
};
|
|
2478
|
-
export type
|
|
2846
|
+
export type DeletePaymentMethodResponses = {
|
|
2479
2847
|
/**
|
|
2480
|
-
*
|
|
2848
|
+
* Payment method deleted.
|
|
2481
2849
|
*/
|
|
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
|
-
}>;
|
|
2850
|
+
204: void;
|
|
2492
2851
|
};
|
|
2493
|
-
export type
|
|
2494
|
-
export type
|
|
2852
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2853
|
+
export type ListInvoicesData = {
|
|
2495
2854
|
body?: never;
|
|
2496
2855
|
path?: never;
|
|
2497
2856
|
query?: never;
|
|
2498
|
-
url: '/
|
|
2857
|
+
url: '/billing/invoices';
|
|
2499
2858
|
};
|
|
2500
|
-
export type
|
|
2859
|
+
export type ListInvoicesErrors = {
|
|
2501
2860
|
/**
|
|
2502
2861
|
* Not authenticated
|
|
2503
2862
|
*/
|
|
2504
2863
|
401: unknown;
|
|
2505
2864
|
};
|
|
2506
|
-
export type
|
|
2865
|
+
export type ListInvoicesResponses = {
|
|
2507
2866
|
/**
|
|
2508
|
-
* An array of
|
|
2867
|
+
* An array of usage records.
|
|
2509
2868
|
*/
|
|
2510
|
-
200: Array<
|
|
2869
|
+
200: Array<Invoice>;
|
|
2511
2870
|
};
|
|
2512
|
-
export type
|
|
2513
|
-
export type
|
|
2514
|
-
body
|
|
2871
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2872
|
+
export type GetContactData = {
|
|
2873
|
+
body?: never;
|
|
2515
2874
|
path?: never;
|
|
2516
2875
|
query?: never;
|
|
2517
|
-
url: '/
|
|
2876
|
+
url: '/billing/contact';
|
|
2518
2877
|
};
|
|
2519
|
-
export type
|
|
2878
|
+
export type GetContactResponses = {
|
|
2520
2879
|
/**
|
|
2521
|
-
*
|
|
2880
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2522
2881
|
*/
|
|
2523
|
-
200:
|
|
2882
|
+
200: BillingContact;
|
|
2524
2883
|
};
|
|
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
|
-
};
|
|
2884
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2885
|
+
export type UpdateContactData = {
|
|
2886
|
+
body: BillingContact;
|
|
2887
|
+
path?: never;
|
|
2534
2888
|
query?: never;
|
|
2535
|
-
url: '/
|
|
2889
|
+
url: '/billing/contact';
|
|
2536
2890
|
};
|
|
2537
|
-
export type
|
|
2891
|
+
export type UpdateContactResponses = {
|
|
2538
2892
|
/**
|
|
2539
|
-
*
|
|
2893
|
+
* Successfully updated. Returns updated organization details.
|
|
2540
2894
|
*/
|
|
2541
|
-
|
|
2895
|
+
200: BillingContact;
|
|
2896
|
+
};
|
|
2897
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2898
|
+
export type GetCreditsData = {
|
|
2899
|
+
body?: never;
|
|
2900
|
+
path?: never;
|
|
2901
|
+
query?: never;
|
|
2902
|
+
url: '/billing/credits';
|
|
2903
|
+
};
|
|
2904
|
+
export type GetCreditsErrors = {
|
|
2542
2905
|
/**
|
|
2543
2906
|
* Not authenticated
|
|
2544
2907
|
*/
|
|
2545
2908
|
401: unknown;
|
|
2546
2909
|
};
|
|
2547
|
-
export type
|
|
2910
|
+
export type GetCreditsResponses = {
|
|
2548
2911
|
/**
|
|
2549
|
-
*
|
|
2912
|
+
* An array of the applied promotional credits records.
|
|
2550
2913
|
*/
|
|
2551
|
-
200:
|
|
2914
|
+
200: Array<BillingCredits>;
|
|
2552
2915
|
};
|
|
2553
|
-
export type
|
|
2554
|
-
export type
|
|
2555
|
-
body
|
|
2556
|
-
path: {
|
|
2916
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2917
|
+
export type RedeemCreditsData = {
|
|
2918
|
+
body: {
|
|
2557
2919
|
/**
|
|
2558
|
-
*
|
|
2920
|
+
* Promotional code to redeem
|
|
2559
2921
|
*/
|
|
2560
|
-
|
|
2922
|
+
code?: string;
|
|
2561
2923
|
};
|
|
2924
|
+
path?: never;
|
|
2562
2925
|
query?: never;
|
|
2563
|
-
url: '/
|
|
2926
|
+
url: '/billing/credits';
|
|
2564
2927
|
};
|
|
2565
|
-
export type
|
|
2928
|
+
export type RedeemCreditsErrors = {
|
|
2566
2929
|
/**
|
|
2567
2930
|
* Not authenticated
|
|
2568
2931
|
*/
|
|
2569
2932
|
401: unknown;
|
|
2570
2933
|
};
|
|
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 = {
|
|
2934
|
+
export type RedeemCreditsResponses = {
|
|
2590
2935
|
/**
|
|
2591
|
-
* Successfully created
|
|
2936
|
+
* Successfully created a new organization.
|
|
2592
2937
|
*/
|
|
2593
|
-
200:
|
|
2938
|
+
200: unknown;
|
|
2594
2939
|
};
|
|
2595
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2596
2940
|
//# sourceMappingURL=types.gen.d.ts.map
|