@cloudfleet/sdk 0.0.1-bbca6e3 → 0.0.1-bc8a6a1
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 +498 -595
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +458 -410
- 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 +366 -178
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +499 -229
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +244 -220
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +353 -318
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +998 -803
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1562 -1316
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +466 -314
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -13
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
3
|
};
|
|
4
|
+
export type BasicPriceConsentInput = {
|
|
5
|
+
/**
|
|
6
|
+
* The administrator's decision on the new Basic price. `accepted` continues to paid billing when the signup credit runs out; `rejected` opts out (clusters are suspended, never charged). A `rejected` org can later be flipped back to `accepted`.
|
|
7
|
+
*/
|
|
8
|
+
decision: 'accepted' | 'rejected';
|
|
9
|
+
};
|
|
10
|
+
export type BasicPriceConsent = {
|
|
11
|
+
/**
|
|
12
|
+
* Consent status for the new Basic price. `not_applicable` when the organization is not in scope for the migration. `pending` when the organization must opt in but no admin has decided yet. `accepted` / `rejected` reflect the recorded decision.
|
|
13
|
+
*/
|
|
14
|
+
status: 'not_applicable' | 'pending' | 'accepted' | 'rejected';
|
|
15
|
+
/**
|
|
16
|
+
* When the current decision was recorded. Absent while `not_applicable` or `pending`.
|
|
17
|
+
*/
|
|
18
|
+
decided_at?: string;
|
|
19
|
+
/**
|
|
20
|
+
* User id of the administrator who recorded the current decision. Absent while `not_applicable` or `pending`.
|
|
21
|
+
*/
|
|
22
|
+
decided_by?: string;
|
|
23
|
+
};
|
|
4
24
|
export type BillingContact = {
|
|
5
25
|
/**
|
|
6
26
|
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
@@ -163,6 +183,9 @@ export type ChartUpdateInput = {
|
|
|
163
183
|
*/
|
|
164
184
|
version_channel: string;
|
|
165
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
188
|
+
*/
|
|
166
189
|
export type ClusterCreateInput = {
|
|
167
190
|
/**
|
|
168
191
|
* Name of the cluster.
|
|
@@ -171,15 +194,61 @@ export type ClusterCreateInput = {
|
|
|
171
194
|
/**
|
|
172
195
|
* Tier of the cluster.
|
|
173
196
|
*/
|
|
174
|
-
tier
|
|
197
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
198
|
+
/**
|
|
199
|
+
* Version of the kubernetes cluster.
|
|
200
|
+
*/
|
|
201
|
+
version_channel?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Release channel for the cluster's control plane.
|
|
204
|
+
*/
|
|
205
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
206
|
+
/**
|
|
207
|
+
* Cluster feature toggles.
|
|
208
|
+
*/
|
|
209
|
+
features?: {
|
|
210
|
+
/**
|
|
211
|
+
* GPU sharing strategy.
|
|
212
|
+
*/
|
|
213
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
214
|
+
/**
|
|
215
|
+
* Maximum number of pods that may share a single GPU.
|
|
216
|
+
*/
|
|
217
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
218
|
+
/**
|
|
219
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
220
|
+
*/
|
|
221
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
222
|
+
};
|
|
175
223
|
/**
|
|
176
224
|
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
177
225
|
*/
|
|
178
226
|
region: string;
|
|
179
227
|
/**
|
|
180
|
-
*
|
|
228
|
+
* Cluster networking configuration. Immutable after creation.
|
|
181
229
|
*/
|
|
182
|
-
|
|
230
|
+
networking?: {
|
|
231
|
+
/**
|
|
232
|
+
* CIDR block for pod IPs.
|
|
233
|
+
*/
|
|
234
|
+
pod_cidr?: string;
|
|
235
|
+
/**
|
|
236
|
+
* CIDR block for service IPs.
|
|
237
|
+
*/
|
|
238
|
+
service_cidr?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
241
|
+
*/
|
|
242
|
+
dual_stack?: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
245
|
+
*/
|
|
246
|
+
pod_cidr_v6?: string;
|
|
247
|
+
/**
|
|
248
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
249
|
+
*/
|
|
250
|
+
service_cidr_v6?: string;
|
|
251
|
+
};
|
|
183
252
|
};
|
|
184
253
|
export type ClusterJoinInformation = {
|
|
185
254
|
/**
|
|
@@ -202,6 +271,10 @@ export type ClusterJoinInformation = {
|
|
|
202
271
|
* Authentication key for the cluster.
|
|
203
272
|
*/
|
|
204
273
|
auth_key: string;
|
|
274
|
+
/**
|
|
275
|
+
* Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.
|
|
276
|
+
*/
|
|
277
|
+
login_server: string;
|
|
205
278
|
/**
|
|
206
279
|
* Bootstrap token for the cluster.
|
|
207
280
|
*/
|
|
@@ -245,6 +318,9 @@ export type ClusterJoinInformation = {
|
|
|
245
318
|
gcp_workload_identity_provider: string;
|
|
246
319
|
};
|
|
247
320
|
};
|
|
321
|
+
/**
|
|
322
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
323
|
+
*/
|
|
248
324
|
export type Cluster = {
|
|
249
325
|
/**
|
|
250
326
|
* Name of the cluster.
|
|
@@ -253,19 +329,69 @@ export type Cluster = {
|
|
|
253
329
|
/**
|
|
254
330
|
* Tier of the cluster.
|
|
255
331
|
*/
|
|
256
|
-
tier: 'basic' | 'pro';
|
|
332
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
333
|
+
/**
|
|
334
|
+
* Version of the kubernetes cluster.
|
|
335
|
+
*/
|
|
336
|
+
version_channel: string;
|
|
337
|
+
/**
|
|
338
|
+
* Release channel for the cluster's control plane.
|
|
339
|
+
*/
|
|
340
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
341
|
+
/**
|
|
342
|
+
* Cluster feature toggles.
|
|
343
|
+
*/
|
|
344
|
+
features: {
|
|
345
|
+
/**
|
|
346
|
+
* GPU sharing strategy.
|
|
347
|
+
*/
|
|
348
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
349
|
+
/**
|
|
350
|
+
* Maximum number of pods that may share a single GPU.
|
|
351
|
+
*/
|
|
352
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
353
|
+
/**
|
|
354
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
355
|
+
*/
|
|
356
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
357
|
+
};
|
|
257
358
|
/**
|
|
258
359
|
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
259
360
|
*/
|
|
260
361
|
region: string;
|
|
362
|
+
/**
|
|
363
|
+
* Cluster networking configuration. Immutable after creation.
|
|
364
|
+
*/
|
|
365
|
+
networking: {
|
|
366
|
+
/**
|
|
367
|
+
* CIDR block for pod IPs.
|
|
368
|
+
*/
|
|
369
|
+
pod_cidr: string;
|
|
370
|
+
/**
|
|
371
|
+
* CIDR block for service IPs.
|
|
372
|
+
*/
|
|
373
|
+
service_cidr: string;
|
|
374
|
+
/**
|
|
375
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
376
|
+
*/
|
|
377
|
+
dual_stack: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
380
|
+
*/
|
|
381
|
+
pod_cidr_v6: string;
|
|
382
|
+
/**
|
|
383
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
384
|
+
*/
|
|
385
|
+
service_cidr_v6: string;
|
|
386
|
+
};
|
|
261
387
|
/**
|
|
262
388
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
263
389
|
*/
|
|
264
390
|
id: string;
|
|
265
391
|
/**
|
|
266
|
-
* Status of the cluster.
|
|
392
|
+
* Status of the cluster.
|
|
267
393
|
*/
|
|
268
|
-
status: '
|
|
394
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
269
395
|
endpoint?: string | '';
|
|
270
396
|
endpoint_public?: string | '';
|
|
271
397
|
/**
|
|
@@ -287,26 +413,49 @@ export type Cluster = {
|
|
|
287
413
|
/**
|
|
288
414
|
* Indicates if the cluster is ready to be used.
|
|
289
415
|
*/
|
|
290
|
-
ready
|
|
291
|
-
/**
|
|
292
|
-
* Version of the kubernetes cluster.
|
|
293
|
-
*/
|
|
294
|
-
version_channel?: string;
|
|
416
|
+
ready: boolean;
|
|
295
417
|
};
|
|
418
|
+
/**
|
|
419
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
420
|
+
*/
|
|
296
421
|
export type ClusterUpdateInput = {
|
|
297
422
|
/**
|
|
298
423
|
* Name of the cluster.
|
|
299
424
|
*/
|
|
300
|
-
name
|
|
425
|
+
name: string;
|
|
301
426
|
/**
|
|
302
427
|
* Tier of the cluster.
|
|
303
428
|
*/
|
|
304
|
-
tier
|
|
429
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
305
430
|
/**
|
|
306
431
|
* Version of the kubernetes cluster.
|
|
307
432
|
*/
|
|
308
433
|
version_channel?: string;
|
|
434
|
+
/**
|
|
435
|
+
* Release channel for the cluster's control plane.
|
|
436
|
+
*/
|
|
437
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
438
|
+
/**
|
|
439
|
+
* Cluster feature toggles.
|
|
440
|
+
*/
|
|
441
|
+
features?: {
|
|
442
|
+
/**
|
|
443
|
+
* GPU sharing strategy.
|
|
444
|
+
*/
|
|
445
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
446
|
+
/**
|
|
447
|
+
* Maximum number of pods that may share a single GPU.
|
|
448
|
+
*/
|
|
449
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
450
|
+
/**
|
|
451
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
452
|
+
*/
|
|
453
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
454
|
+
};
|
|
309
455
|
};
|
|
456
|
+
/**
|
|
457
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
458
|
+
*/
|
|
310
459
|
export type FleetCreateInput = {
|
|
311
460
|
/**
|
|
312
461
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -327,7 +476,7 @@ export type FleetCreateInput = {
|
|
|
327
476
|
hetzner?: {
|
|
328
477
|
enabled: boolean;
|
|
329
478
|
/**
|
|
330
|
-
* Hetzner Cloud API token with read
|
|
479
|
+
* 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.
|
|
331
480
|
*/
|
|
332
481
|
apiKey?: string;
|
|
333
482
|
};
|
|
@@ -339,7 +488,7 @@ export type FleetCreateInput = {
|
|
|
339
488
|
controllerRoleArn?: string;
|
|
340
489
|
};
|
|
341
490
|
/**
|
|
342
|
-
* 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.
|
|
491
|
+
* 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.
|
|
343
492
|
*/
|
|
344
493
|
constraints?: {
|
|
345
494
|
/**
|
|
@@ -360,7 +509,7 @@ export type FleetCreateInput = {
|
|
|
360
509
|
'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'>;
|
|
361
510
|
};
|
|
362
511
|
/**
|
|
363
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
512
|
+
* 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`).
|
|
364
513
|
*/
|
|
365
514
|
scalingProfile?: 'aggressive' | 'conservative';
|
|
366
515
|
/**
|
|
@@ -368,6 +517,9 @@ export type FleetCreateInput = {
|
|
|
368
517
|
*/
|
|
369
518
|
id: string;
|
|
370
519
|
};
|
|
520
|
+
/**
|
|
521
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
522
|
+
*/
|
|
371
523
|
export type Fleet = {
|
|
372
524
|
/**
|
|
373
525
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -400,17 +552,17 @@ export type Fleet = {
|
|
|
400
552
|
controllerRoleArn?: string;
|
|
401
553
|
};
|
|
402
554
|
/**
|
|
403
|
-
* 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.
|
|
555
|
+
* 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.
|
|
404
556
|
*/
|
|
405
|
-
constraints
|
|
557
|
+
constraints: {
|
|
406
558
|
/**
|
|
407
559
|
* Allowed values for `karpenter.sh/capacity-type`.
|
|
408
560
|
*/
|
|
409
|
-
'karpenter.sh/capacity-type'
|
|
561
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
410
562
|
/**
|
|
411
563
|
* Allowed values for `kubernetes.io/arch`.
|
|
412
564
|
*/
|
|
413
|
-
'kubernetes.io/arch'
|
|
565
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
414
566
|
/**
|
|
415
567
|
* Allowed values for `cfke.io/instance-family`.
|
|
416
568
|
*/
|
|
@@ -421,14 +573,33 @@ export type Fleet = {
|
|
|
421
573
|
'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'>;
|
|
422
574
|
};
|
|
423
575
|
/**
|
|
424
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
576
|
+
* 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`).
|
|
425
577
|
*/
|
|
426
578
|
scalingProfile: 'aggressive' | 'conservative';
|
|
427
579
|
/**
|
|
428
580
|
* Unique identifier of the kubernetes fleet.
|
|
429
581
|
*/
|
|
430
582
|
id: string;
|
|
583
|
+
/**
|
|
584
|
+
* Indicates whether the fleet configuration is healthy.
|
|
585
|
+
*/
|
|
586
|
+
ready: boolean;
|
|
587
|
+
/**
|
|
588
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
589
|
+
*/
|
|
590
|
+
status_message?: string;
|
|
591
|
+
/**
|
|
592
|
+
* Creation date and time of the fleet.
|
|
593
|
+
*/
|
|
594
|
+
created_at: string;
|
|
595
|
+
/**
|
|
596
|
+
* Date and time the fleet was last updated.
|
|
597
|
+
*/
|
|
598
|
+
updated_at: string;
|
|
431
599
|
};
|
|
600
|
+
/**
|
|
601
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
602
|
+
*/
|
|
432
603
|
export type FleetUpdateInput = {
|
|
433
604
|
/**
|
|
434
605
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -449,7 +620,7 @@ export type FleetUpdateInput = {
|
|
|
449
620
|
hetzner?: {
|
|
450
621
|
enabled: boolean;
|
|
451
622
|
/**
|
|
452
|
-
* Hetzner Cloud API token with read
|
|
623
|
+
* 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.
|
|
453
624
|
*/
|
|
454
625
|
apiKey?: string;
|
|
455
626
|
};
|
|
@@ -461,7 +632,7 @@ export type FleetUpdateInput = {
|
|
|
461
632
|
controllerRoleArn?: string;
|
|
462
633
|
};
|
|
463
634
|
/**
|
|
464
|
-
* 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.
|
|
635
|
+
* 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.
|
|
465
636
|
*/
|
|
466
637
|
constraints?: {
|
|
467
638
|
/**
|
|
@@ -482,9 +653,9 @@ export type FleetUpdateInput = {
|
|
|
482
653
|
'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'>;
|
|
483
654
|
};
|
|
484
655
|
/**
|
|
485
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
656
|
+
* 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`).
|
|
486
657
|
*/
|
|
487
|
-
scalingProfile
|
|
658
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
488
659
|
};
|
|
489
660
|
export type InviteCreateInput = {
|
|
490
661
|
/**
|
|
@@ -709,6 +880,14 @@ export type Organization = {
|
|
|
709
880
|
* Available number of Pro clusters that can be created.
|
|
710
881
|
*/
|
|
711
882
|
pro_clusters_available: number;
|
|
883
|
+
/**
|
|
884
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
885
|
+
*/
|
|
886
|
+
enterprise_clusters_max: number;
|
|
887
|
+
/**
|
|
888
|
+
* Available number of Enterprise clusters that can be created.
|
|
889
|
+
*/
|
|
890
|
+
enterprise_clusters_available: number;
|
|
712
891
|
/**
|
|
713
892
|
* Maximum number of fleets that can be created per cluster.
|
|
714
893
|
*/
|
|
@@ -807,6 +986,14 @@ export type PlatformQuota = {
|
|
|
807
986
|
* Available number of Pro clusters that can be created.
|
|
808
987
|
*/
|
|
809
988
|
pro_clusters_available: number;
|
|
989
|
+
/**
|
|
990
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
991
|
+
*/
|
|
992
|
+
enterprise_clusters_max: number;
|
|
993
|
+
/**
|
|
994
|
+
* Available number of Enterprise clusters that can be created.
|
|
995
|
+
*/
|
|
996
|
+
enterprise_clusters_available: number;
|
|
810
997
|
/**
|
|
811
998
|
* Maximum number of fleets that can be created per cluster.
|
|
812
999
|
*/
|
|
@@ -1019,91 +1206,6 @@ export type TicketCreateInput = {
|
|
|
1019
1206
|
[key: string]: unknown;
|
|
1020
1207
|
};
|
|
1021
1208
|
};
|
|
1022
|
-
export type TicketListResponse = {
|
|
1023
|
-
/**
|
|
1024
|
-
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1025
|
-
*/
|
|
1026
|
-
items: Array<{
|
|
1027
|
-
/**
|
|
1028
|
-
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1029
|
-
*/
|
|
1030
|
-
id: string;
|
|
1031
|
-
/**
|
|
1032
|
-
* Current state of the ticket.
|
|
1033
|
-
*/
|
|
1034
|
-
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1035
|
-
/**
|
|
1036
|
-
* Ticket category.
|
|
1037
|
-
*/
|
|
1038
|
-
category: 'billing' | 'technical' | 'general';
|
|
1039
|
-
/**
|
|
1040
|
-
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1041
|
-
*/
|
|
1042
|
-
summary: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* Closure timestamp. Null while the ticket is open.
|
|
1045
|
-
*/
|
|
1046
|
-
closed_at?: string;
|
|
1047
|
-
/**
|
|
1048
|
-
* Creation date of the ticket. ISO 8601 UTC.
|
|
1049
|
-
*/
|
|
1050
|
-
date_created: string;
|
|
1051
|
-
/**
|
|
1052
|
-
* Last update date of the ticket. ISO 8601 UTC.
|
|
1053
|
-
*/
|
|
1054
|
-
date_updated: string;
|
|
1055
|
-
/**
|
|
1056
|
-
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1057
|
-
*/
|
|
1058
|
-
messages?: Array<{
|
|
1059
|
-
/**
|
|
1060
|
-
* Unique identifier of the message (Mongo ObjectId).
|
|
1061
|
-
*/
|
|
1062
|
-
id: string;
|
|
1063
|
-
/**
|
|
1064
|
-
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1065
|
-
*/
|
|
1066
|
-
type: 'customer_reply' | 'agent_reply';
|
|
1067
|
-
/**
|
|
1068
|
-
* Message body in markdown.
|
|
1069
|
-
*/
|
|
1070
|
-
body: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* First name of the author. Null when not provided.
|
|
1073
|
-
*/
|
|
1074
|
-
author_first_name?: string;
|
|
1075
|
-
/**
|
|
1076
|
-
* Last name of the author. Null when not provided.
|
|
1077
|
-
*/
|
|
1078
|
-
author_last_name?: string;
|
|
1079
|
-
/**
|
|
1080
|
-
* Attachments associated with this message.
|
|
1081
|
-
*/
|
|
1082
|
-
attachments?: Array<{
|
|
1083
|
-
/**
|
|
1084
|
-
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1085
|
-
*/
|
|
1086
|
-
id: string;
|
|
1087
|
-
/**
|
|
1088
|
-
* Original filename as uploaded.
|
|
1089
|
-
*/
|
|
1090
|
-
filename: string;
|
|
1091
|
-
/**
|
|
1092
|
-
* MIME content type of the attachment.
|
|
1093
|
-
*/
|
|
1094
|
-
content_type: string;
|
|
1095
|
-
/**
|
|
1096
|
-
* Size of the attachment in bytes.
|
|
1097
|
-
*/
|
|
1098
|
-
size: number;
|
|
1099
|
-
}>;
|
|
1100
|
-
/**
|
|
1101
|
-
* Creation date of the message. ISO 8601 UTC.
|
|
1102
|
-
*/
|
|
1103
|
-
date_created: string;
|
|
1104
|
-
}>;
|
|
1105
|
-
}>;
|
|
1106
|
-
};
|
|
1107
1209
|
export type TicketMessageInput = {
|
|
1108
1210
|
/**
|
|
1109
1211
|
* Reply body in markdown.
|
|
@@ -1287,7 +1389,7 @@ export type UsageFacets = {
|
|
|
1287
1389
|
/**
|
|
1288
1390
|
* List of unique products
|
|
1289
1391
|
*/
|
|
1290
|
-
product?: Array<
|
|
1392
|
+
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'>;
|
|
1291
1393
|
};
|
|
1292
1394
|
export type UsageResponse = {
|
|
1293
1395
|
/**
|
|
@@ -1305,7 +1407,7 @@ export type UsageResponse = {
|
|
|
1305
1407
|
/**
|
|
1306
1408
|
* The product the usage is associated with
|
|
1307
1409
|
*/
|
|
1308
|
-
product:
|
|
1410
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1309
1411
|
/**
|
|
1310
1412
|
* Consumption
|
|
1311
1413
|
*/
|
|
@@ -1330,7 +1432,7 @@ export type UsageResponse = {
|
|
|
1330
1432
|
/**
|
|
1331
1433
|
* List of unique products
|
|
1332
1434
|
*/
|
|
1333
|
-
product?: Array<
|
|
1435
|
+
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'>;
|
|
1334
1436
|
};
|
|
1335
1437
|
};
|
|
1336
1438
|
export type Usage = {
|
|
@@ -1345,7 +1447,7 @@ export type Usage = {
|
|
|
1345
1447
|
/**
|
|
1346
1448
|
* The product the usage is associated with
|
|
1347
1449
|
*/
|
|
1348
|
-
product:
|
|
1450
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1349
1451
|
/**
|
|
1350
1452
|
* Consumption
|
|
1351
1453
|
*/
|
|
@@ -1433,604 +1535,658 @@ export type UserUpdateInput = {
|
|
|
1433
1535
|
*/
|
|
1434
1536
|
status?: 'active' | 'inactive';
|
|
1435
1537
|
};
|
|
1436
|
-
export type
|
|
1538
|
+
export type ListUserOrganizationsData = {
|
|
1437
1539
|
body?: never;
|
|
1438
|
-
path
|
|
1439
|
-
query?: {
|
|
1540
|
+
path: {
|
|
1440
1541
|
/**
|
|
1441
|
-
*
|
|
1542
|
+
* User email address.
|
|
1442
1543
|
*/
|
|
1443
|
-
|
|
1544
|
+
email: string;
|
|
1444
1545
|
};
|
|
1445
|
-
url: '/billing/usage';
|
|
1446
|
-
};
|
|
1447
|
-
export type GetUsageErrors = {
|
|
1448
|
-
/**
|
|
1449
|
-
* Not authenticated
|
|
1450
|
-
*/
|
|
1451
|
-
401: unknown;
|
|
1452
|
-
};
|
|
1453
|
-
export type GetUsageResponses = {
|
|
1454
|
-
/**
|
|
1455
|
-
* Usage data with facets for filtering
|
|
1456
|
-
*/
|
|
1457
|
-
200: UsageResponse;
|
|
1458
|
-
};
|
|
1459
|
-
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1460
|
-
export type GetPaymentMethodSecretData = {
|
|
1461
|
-
body?: never;
|
|
1462
|
-
path?: never;
|
|
1463
1546
|
query?: never;
|
|
1464
|
-
url: '/
|
|
1547
|
+
url: '/users/organizations/{email}';
|
|
1465
1548
|
};
|
|
1466
|
-
export type
|
|
1549
|
+
export type ListUserOrganizationsResponses = {
|
|
1467
1550
|
/**
|
|
1468
|
-
*
|
|
1469
|
-
*
|
|
1551
|
+
* An array of organizations the user belongs to.
|
|
1470
1552
|
*/
|
|
1471
|
-
200: {
|
|
1553
|
+
200: Array<{
|
|
1472
1554
|
/**
|
|
1473
|
-
*
|
|
1555
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1474
1556
|
*/
|
|
1475
|
-
|
|
1476
|
-
|
|
1557
|
+
realm?: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* Human-readable name of the organization
|
|
1560
|
+
*/
|
|
1561
|
+
displayName?: string;
|
|
1562
|
+
}>;
|
|
1477
1563
|
};
|
|
1478
|
-
export type
|
|
1479
|
-
export type
|
|
1564
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1565
|
+
export type ListUsersData = {
|
|
1480
1566
|
body?: never;
|
|
1481
1567
|
path?: never;
|
|
1482
1568
|
query?: never;
|
|
1483
|
-
url: '/
|
|
1569
|
+
url: '/users';
|
|
1484
1570
|
};
|
|
1485
|
-
export type
|
|
1571
|
+
export type ListUsersErrors = {
|
|
1486
1572
|
/**
|
|
1487
1573
|
* Not authenticated
|
|
1488
1574
|
*/
|
|
1489
1575
|
401: unknown;
|
|
1490
1576
|
};
|
|
1491
|
-
export type
|
|
1577
|
+
export type ListUsersResponses = {
|
|
1492
1578
|
/**
|
|
1493
|
-
* An array of
|
|
1579
|
+
* An array of users
|
|
1494
1580
|
*/
|
|
1495
|
-
200: Array<
|
|
1581
|
+
200: Array<User>;
|
|
1496
1582
|
};
|
|
1497
|
-
export type
|
|
1498
|
-
export type
|
|
1583
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1584
|
+
export type CreateUserData = {
|
|
1585
|
+
body: UserCreateInput;
|
|
1586
|
+
path?: never;
|
|
1587
|
+
query?: never;
|
|
1588
|
+
url: '/users';
|
|
1589
|
+
};
|
|
1590
|
+
export type CreateUserResponses = {
|
|
1591
|
+
/**
|
|
1592
|
+
* Successfully created. Returns created user details.
|
|
1593
|
+
*/
|
|
1594
|
+
200: User;
|
|
1595
|
+
};
|
|
1596
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1597
|
+
export type DeleteUserData = {
|
|
1499
1598
|
body?: never;
|
|
1500
1599
|
path: {
|
|
1501
1600
|
/**
|
|
1502
|
-
*
|
|
1601
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1503
1602
|
*/
|
|
1504
|
-
|
|
1603
|
+
user_id: string;
|
|
1505
1604
|
};
|
|
1506
1605
|
query?: never;
|
|
1507
|
-
url: '/
|
|
1606
|
+
url: '/users/{user_id}';
|
|
1508
1607
|
};
|
|
1509
|
-
export type
|
|
1608
|
+
export type DeleteUserErrors = {
|
|
1510
1609
|
/**
|
|
1511
|
-
*
|
|
1610
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1512
1611
|
*/
|
|
1513
1612
|
400: unknown;
|
|
1514
1613
|
/**
|
|
1515
1614
|
* Not authenticated
|
|
1516
1615
|
*/
|
|
1517
1616
|
401: unknown;
|
|
1518
|
-
/**
|
|
1519
|
-
* Payment method not found.
|
|
1520
|
-
*/
|
|
1521
|
-
404: unknown;
|
|
1522
1617
|
};
|
|
1523
|
-
export type
|
|
1618
|
+
export type DeleteUserResponses = {
|
|
1524
1619
|
/**
|
|
1525
|
-
*
|
|
1620
|
+
* User profile information
|
|
1526
1621
|
*/
|
|
1527
|
-
|
|
1622
|
+
200: User;
|
|
1528
1623
|
};
|
|
1529
|
-
export type
|
|
1530
|
-
export type
|
|
1624
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1625
|
+
export type GetUserData = {
|
|
1531
1626
|
body?: never;
|
|
1532
1627
|
path: {
|
|
1533
1628
|
/**
|
|
1534
|
-
*
|
|
1629
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1535
1630
|
*/
|
|
1536
|
-
|
|
1631
|
+
user_id: string;
|
|
1537
1632
|
};
|
|
1538
1633
|
query?: never;
|
|
1539
|
-
url: '/
|
|
1634
|
+
url: '/users/{user_id}';
|
|
1540
1635
|
};
|
|
1541
|
-
export type
|
|
1542
|
-
/**
|
|
1543
|
-
* The bank transfer payment method cannot be removed.
|
|
1544
|
-
*/
|
|
1545
|
-
400: unknown;
|
|
1636
|
+
export type GetUserErrors = {
|
|
1546
1637
|
/**
|
|
1547
1638
|
* Not authenticated
|
|
1548
1639
|
*/
|
|
1549
1640
|
401: unknown;
|
|
1641
|
+
};
|
|
1642
|
+
export type GetUserResponses = {
|
|
1550
1643
|
/**
|
|
1551
|
-
*
|
|
1552
|
-
*/
|
|
1553
|
-
404: unknown;
|
|
1554
|
-
/**
|
|
1555
|
-
* Cannot delete the only remaining payment method.
|
|
1644
|
+
* User profile information
|
|
1556
1645
|
*/
|
|
1557
|
-
|
|
1646
|
+
200: User;
|
|
1558
1647
|
};
|
|
1559
|
-
export type
|
|
1648
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1649
|
+
export type UpdateUserData = {
|
|
1650
|
+
body: UserUpdateInput;
|
|
1651
|
+
path: {
|
|
1652
|
+
/**
|
|
1653
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1654
|
+
*/
|
|
1655
|
+
user_id: string;
|
|
1656
|
+
};
|
|
1657
|
+
query?: never;
|
|
1658
|
+
url: '/users/{user_id}';
|
|
1659
|
+
};
|
|
1660
|
+
export type UpdateUserResponses = {
|
|
1560
1661
|
/**
|
|
1561
|
-
*
|
|
1662
|
+
* Successfully created. Returns created user details.
|
|
1562
1663
|
*/
|
|
1563
|
-
|
|
1664
|
+
200: User;
|
|
1564
1665
|
};
|
|
1565
|
-
export type
|
|
1566
|
-
export type
|
|
1666
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1667
|
+
export type ListTokensData = {
|
|
1567
1668
|
body?: never;
|
|
1568
1669
|
path?: never;
|
|
1569
1670
|
query?: never;
|
|
1570
|
-
url: '/
|
|
1671
|
+
url: '/tokens';
|
|
1571
1672
|
};
|
|
1572
|
-
export type
|
|
1673
|
+
export type ListTokensErrors = {
|
|
1573
1674
|
/**
|
|
1574
1675
|
* Not authenticated
|
|
1575
1676
|
*/
|
|
1576
1677
|
401: unknown;
|
|
1577
1678
|
};
|
|
1578
|
-
export type
|
|
1679
|
+
export type ListTokensResponses = {
|
|
1579
1680
|
/**
|
|
1580
|
-
*
|
|
1681
|
+
* Returns a list of access token details with masked secrets.
|
|
1581
1682
|
*/
|
|
1582
|
-
200: Array<
|
|
1683
|
+
200: Array<Token>;
|
|
1583
1684
|
};
|
|
1584
|
-
export type
|
|
1585
|
-
export type
|
|
1586
|
-
body
|
|
1685
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1686
|
+
export type CreateTokenData = {
|
|
1687
|
+
body: TokenCreateInput;
|
|
1587
1688
|
path?: never;
|
|
1588
1689
|
query?: never;
|
|
1589
|
-
url: '/
|
|
1690
|
+
url: '/tokens';
|
|
1590
1691
|
};
|
|
1591
|
-
export type
|
|
1692
|
+
export type CreateTokenErrors = {
|
|
1592
1693
|
/**
|
|
1593
|
-
*
|
|
1694
|
+
* Not authenticated
|
|
1594
1695
|
*/
|
|
1595
|
-
|
|
1696
|
+
401: unknown;
|
|
1596
1697
|
};
|
|
1597
|
-
export type
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1698
|
+
export type CreateTokenResponses = {
|
|
1699
|
+
/**
|
|
1700
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1701
|
+
*/
|
|
1702
|
+
200: Token;
|
|
1703
|
+
};
|
|
1704
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1705
|
+
export type DeleteTokenData = {
|
|
1706
|
+
body?: never;
|
|
1707
|
+
path: {
|
|
1708
|
+
/**
|
|
1709
|
+
* Generated unique identifier of the access token.
|
|
1710
|
+
*/
|
|
1711
|
+
token_id: string;
|
|
1712
|
+
};
|
|
1601
1713
|
query?: never;
|
|
1602
|
-
url: '/
|
|
1714
|
+
url: '/tokens/{token_id}';
|
|
1603
1715
|
};
|
|
1604
|
-
export type
|
|
1716
|
+
export type DeleteTokenResponses = {
|
|
1605
1717
|
/**
|
|
1606
|
-
* Successfully
|
|
1718
|
+
* Successfully deleted.
|
|
1607
1719
|
*/
|
|
1608
|
-
200:
|
|
1720
|
+
200: unknown;
|
|
1609
1721
|
};
|
|
1610
|
-
export type
|
|
1611
|
-
export type GetCreditsData = {
|
|
1722
|
+
export type GetTokenData = {
|
|
1612
1723
|
body?: never;
|
|
1613
|
-
path
|
|
1724
|
+
path: {
|
|
1725
|
+
/**
|
|
1726
|
+
* Generated unique identifier of the access token.
|
|
1727
|
+
*/
|
|
1728
|
+
token_id: string;
|
|
1729
|
+
};
|
|
1614
1730
|
query?: never;
|
|
1615
|
-
url: '/
|
|
1731
|
+
url: '/tokens/{token_id}';
|
|
1616
1732
|
};
|
|
1617
|
-
export type
|
|
1733
|
+
export type GetTokenErrors = {
|
|
1618
1734
|
/**
|
|
1619
1735
|
* Not authenticated
|
|
1620
1736
|
*/
|
|
1621
1737
|
401: unknown;
|
|
1622
1738
|
};
|
|
1623
|
-
export type
|
|
1739
|
+
export type GetTokenResponses = {
|
|
1624
1740
|
/**
|
|
1625
|
-
*
|
|
1741
|
+
* Returns access token details with masked secret.
|
|
1626
1742
|
*/
|
|
1627
|
-
200:
|
|
1743
|
+
200: Token;
|
|
1628
1744
|
};
|
|
1629
|
-
export type
|
|
1630
|
-
export type
|
|
1631
|
-
body:
|
|
1745
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1746
|
+
export type UpdateTokenData = {
|
|
1747
|
+
body: TokenUpdateInput;
|
|
1748
|
+
path: {
|
|
1632
1749
|
/**
|
|
1633
|
-
*
|
|
1750
|
+
* Generated unique identifier of the access token.
|
|
1634
1751
|
*/
|
|
1635
|
-
|
|
1752
|
+
token_id: string;
|
|
1636
1753
|
};
|
|
1637
|
-
path?: never;
|
|
1638
1754
|
query?: never;
|
|
1639
|
-
url: '/
|
|
1755
|
+
url: '/tokens/{token_id}';
|
|
1640
1756
|
};
|
|
1641
|
-
export type
|
|
1757
|
+
export type UpdateTokenErrors = {
|
|
1642
1758
|
/**
|
|
1643
1759
|
* Not authenticated
|
|
1644
1760
|
*/
|
|
1645
1761
|
401: unknown;
|
|
1646
1762
|
};
|
|
1647
|
-
export type
|
|
1763
|
+
export type UpdateTokenResponses = {
|
|
1648
1764
|
/**
|
|
1649
|
-
* Successfully
|
|
1765
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1650
1766
|
*/
|
|
1651
|
-
200:
|
|
1767
|
+
200: Token;
|
|
1652
1768
|
};
|
|
1653
|
-
export type
|
|
1769
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1770
|
+
export type RegenerateTokenData = {
|
|
1654
1771
|
body?: never;
|
|
1655
1772
|
path: {
|
|
1656
1773
|
/**
|
|
1657
|
-
*
|
|
1774
|
+
* Generated unique identifier of the access token.
|
|
1658
1775
|
*/
|
|
1659
|
-
|
|
1776
|
+
token_id: string;
|
|
1660
1777
|
};
|
|
1661
1778
|
query?: never;
|
|
1662
|
-
url: '/
|
|
1779
|
+
url: '/tokens/{token_id}/secret';
|
|
1663
1780
|
};
|
|
1664
|
-
export type
|
|
1781
|
+
export type RegenerateTokenErrors = {
|
|
1665
1782
|
/**
|
|
1666
1783
|
* Not authenticated
|
|
1667
1784
|
*/
|
|
1668
1785
|
401: unknown;
|
|
1669
1786
|
};
|
|
1670
|
-
export type
|
|
1787
|
+
export type RegenerateTokenResponses = {
|
|
1671
1788
|
/**
|
|
1672
|
-
*
|
|
1789
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1673
1790
|
*/
|
|
1674
|
-
200:
|
|
1791
|
+
200: Token;
|
|
1675
1792
|
};
|
|
1676
|
-
export type
|
|
1677
|
-
export type
|
|
1678
|
-
body
|
|
1679
|
-
path
|
|
1680
|
-
/**
|
|
1681
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1682
|
-
*/
|
|
1683
|
-
cluster_id: string;
|
|
1684
|
-
};
|
|
1793
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1794
|
+
export type ListTicketsData = {
|
|
1795
|
+
body?: never;
|
|
1796
|
+
path?: never;
|
|
1685
1797
|
query?: never;
|
|
1686
|
-
url: '/
|
|
1798
|
+
url: '/tickets';
|
|
1687
1799
|
};
|
|
1688
|
-
export type
|
|
1800
|
+
export type ListTicketsResponses = {
|
|
1689
1801
|
/**
|
|
1690
|
-
*
|
|
1802
|
+
* An array of tickets for the organization, newest first.
|
|
1691
1803
|
*/
|
|
1692
|
-
200:
|
|
1804
|
+
200: Array<Ticket>;
|
|
1693
1805
|
};
|
|
1694
|
-
export type
|
|
1695
|
-
export type
|
|
1696
|
-
body
|
|
1697
|
-
path: {
|
|
1698
|
-
/**
|
|
1699
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1700
|
-
*/
|
|
1701
|
-
cluster_id: string;
|
|
1806
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1807
|
+
export type CreateTicketData = {
|
|
1808
|
+
body: {
|
|
1702
1809
|
/**
|
|
1703
|
-
*
|
|
1810
|
+
* JSON-encoded TicketCreateInput.
|
|
1704
1811
|
*/
|
|
1705
|
-
|
|
1812
|
+
payload?: string;
|
|
1813
|
+
attachments?: Array<Blob | File>;
|
|
1706
1814
|
};
|
|
1815
|
+
path?: never;
|
|
1707
1816
|
query?: never;
|
|
1708
|
-
url: '/
|
|
1817
|
+
url: '/tickets';
|
|
1709
1818
|
};
|
|
1710
|
-
export type
|
|
1819
|
+
export type CreateTicketResponses = {
|
|
1711
1820
|
/**
|
|
1712
|
-
*
|
|
1821
|
+
* Ticket created.
|
|
1713
1822
|
*/
|
|
1714
|
-
200:
|
|
1823
|
+
200: Ticket;
|
|
1715
1824
|
};
|
|
1716
|
-
export type
|
|
1717
|
-
export type
|
|
1825
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1826
|
+
export type CloseTicketData = {
|
|
1718
1827
|
body?: never;
|
|
1719
1828
|
path: {
|
|
1720
|
-
|
|
1721
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1722
|
-
*/
|
|
1723
|
-
cluster_id: string;
|
|
1724
|
-
/**
|
|
1725
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1726
|
-
*/
|
|
1727
|
-
chart_name: string;
|
|
1829
|
+
ticket_id: string;
|
|
1728
1830
|
};
|
|
1729
1831
|
query?: never;
|
|
1730
|
-
url: '/
|
|
1832
|
+
url: '/tickets/{ticket_id}';
|
|
1731
1833
|
};
|
|
1732
|
-
export type
|
|
1834
|
+
export type CloseTicketResponses = {
|
|
1733
1835
|
/**
|
|
1734
|
-
*
|
|
1836
|
+
* Ticket closed.
|
|
1735
1837
|
*/
|
|
1736
|
-
200:
|
|
1838
|
+
200: Ticket;
|
|
1737
1839
|
};
|
|
1738
|
-
export type
|
|
1739
|
-
export type
|
|
1740
|
-
body
|
|
1840
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1841
|
+
export type GetTicketData = {
|
|
1842
|
+
body?: never;
|
|
1741
1843
|
path: {
|
|
1742
|
-
|
|
1743
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1744
|
-
*/
|
|
1745
|
-
cluster_id: string;
|
|
1746
|
-
/**
|
|
1747
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1748
|
-
*/
|
|
1749
|
-
chart_name: string;
|
|
1844
|
+
ticket_id: string;
|
|
1750
1845
|
};
|
|
1751
1846
|
query?: never;
|
|
1752
|
-
url: '/
|
|
1847
|
+
url: '/tickets/{ticket_id}';
|
|
1753
1848
|
};
|
|
1754
|
-
export type
|
|
1849
|
+
export type GetTicketResponses = {
|
|
1755
1850
|
/**
|
|
1756
|
-
*
|
|
1851
|
+
* Ticket with messages (internal notes excluded).
|
|
1757
1852
|
*/
|
|
1758
|
-
200:
|
|
1853
|
+
200: Ticket;
|
|
1759
1854
|
};
|
|
1760
|
-
export type
|
|
1761
|
-
export type
|
|
1762
|
-
body
|
|
1763
|
-
path: {
|
|
1855
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1856
|
+
export type ReplyTicketData = {
|
|
1857
|
+
body: {
|
|
1764
1858
|
/**
|
|
1765
|
-
*
|
|
1859
|
+
* JSON-encoded TicketMessageInput.
|
|
1766
1860
|
*/
|
|
1767
|
-
|
|
1861
|
+
payload?: string;
|
|
1862
|
+
attachments?: Array<Blob | File>;
|
|
1863
|
+
};
|
|
1864
|
+
path: {
|
|
1865
|
+
ticket_id: string;
|
|
1768
1866
|
};
|
|
1769
1867
|
query?: never;
|
|
1770
|
-
url: '/
|
|
1868
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1771
1869
|
};
|
|
1772
|
-
export type
|
|
1870
|
+
export type ReplyTicketErrors = {
|
|
1773
1871
|
/**
|
|
1774
|
-
*
|
|
1872
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1775
1873
|
*/
|
|
1776
|
-
|
|
1874
|
+
409: unknown;
|
|
1777
1875
|
};
|
|
1778
|
-
export type
|
|
1876
|
+
export type ReplyTicketResponses = {
|
|
1779
1877
|
/**
|
|
1780
|
-
*
|
|
1878
|
+
* Reply appended.
|
|
1781
1879
|
*/
|
|
1782
|
-
200:
|
|
1880
|
+
200: TicketMessage;
|
|
1783
1881
|
};
|
|
1784
|
-
export type
|
|
1785
|
-
export type
|
|
1786
|
-
body
|
|
1882
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1883
|
+
export type GetTicketAttachmentData = {
|
|
1884
|
+
body?: never;
|
|
1787
1885
|
path: {
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
*/
|
|
1791
|
-
cluster_id: string;
|
|
1886
|
+
ticket_id: string;
|
|
1887
|
+
attachment_id: string;
|
|
1792
1888
|
};
|
|
1793
1889
|
query?: never;
|
|
1794
|
-
url: '/
|
|
1795
|
-
};
|
|
1796
|
-
export type CreateFleetErrors = {
|
|
1797
|
-
/**
|
|
1798
|
-
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1799
|
-
*/
|
|
1800
|
-
402: string;
|
|
1890
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1801
1891
|
};
|
|
1802
|
-
export type
|
|
1803
|
-
export type CreateFleetResponses = {
|
|
1892
|
+
export type GetTicketAttachmentResponses = {
|
|
1804
1893
|
/**
|
|
1805
|
-
*
|
|
1894
|
+
* Attachment binary stream.
|
|
1806
1895
|
*/
|
|
1807
|
-
200:
|
|
1896
|
+
200: Blob | File;
|
|
1808
1897
|
};
|
|
1809
|
-
export type
|
|
1810
|
-
export type
|
|
1898
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1899
|
+
export type ListRepositoriesData = {
|
|
1811
1900
|
body?: never;
|
|
1812
|
-
path
|
|
1813
|
-
/**
|
|
1814
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1815
|
-
*/
|
|
1816
|
-
cluster_id: string;
|
|
1817
|
-
/**
|
|
1818
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1819
|
-
*/
|
|
1820
|
-
fleet_name: string;
|
|
1821
|
-
};
|
|
1901
|
+
path?: never;
|
|
1822
1902
|
query?: never;
|
|
1823
|
-
url: '/
|
|
1903
|
+
url: '/registry';
|
|
1824
1904
|
};
|
|
1825
|
-
export type
|
|
1905
|
+
export type ListRepositoriesErrors = {
|
|
1826
1906
|
/**
|
|
1827
|
-
*
|
|
1907
|
+
* Not authenticated
|
|
1828
1908
|
*/
|
|
1829
|
-
|
|
1909
|
+
401: unknown;
|
|
1910
|
+
/**
|
|
1911
|
+
* Internal server error
|
|
1912
|
+
*/
|
|
1913
|
+
500: unknown;
|
|
1830
1914
|
};
|
|
1831
|
-
export type
|
|
1832
|
-
|
|
1915
|
+
export type ListRepositoriesResponses = {
|
|
1916
|
+
/**
|
|
1917
|
+
* List of repositories
|
|
1918
|
+
*/
|
|
1919
|
+
200: Array<RegistryRepository>;
|
|
1920
|
+
};
|
|
1921
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1922
|
+
export type ListTagsData = {
|
|
1833
1923
|
body?: never;
|
|
1834
1924
|
path: {
|
|
1835
1925
|
/**
|
|
1836
|
-
*
|
|
1926
|
+
* Region where the repository is located
|
|
1837
1927
|
*/
|
|
1838
|
-
|
|
1928
|
+
region: string;
|
|
1839
1929
|
/**
|
|
1840
|
-
*
|
|
1930
|
+
* Name of the repository
|
|
1841
1931
|
*/
|
|
1842
|
-
|
|
1932
|
+
repository: string;
|
|
1843
1933
|
};
|
|
1844
1934
|
query?: never;
|
|
1845
|
-
url: '/
|
|
1935
|
+
url: '/registry/{region}/{repository}';
|
|
1846
1936
|
};
|
|
1847
|
-
export type
|
|
1937
|
+
export type ListTagsErrors = {
|
|
1848
1938
|
/**
|
|
1849
|
-
*
|
|
1939
|
+
* Not authenticated
|
|
1850
1940
|
*/
|
|
1851
|
-
|
|
1941
|
+
401: unknown;
|
|
1942
|
+
/**
|
|
1943
|
+
* Repository not found
|
|
1944
|
+
*/
|
|
1945
|
+
404: unknown;
|
|
1946
|
+
/**
|
|
1947
|
+
* Internal server error
|
|
1948
|
+
*/
|
|
1949
|
+
500: unknown;
|
|
1852
1950
|
};
|
|
1853
|
-
export type
|
|
1854
|
-
|
|
1855
|
-
|
|
1951
|
+
export type ListTagsResponses = {
|
|
1952
|
+
/**
|
|
1953
|
+
* Repository with tags
|
|
1954
|
+
*/
|
|
1955
|
+
200: RegistryRepositoryWithTags;
|
|
1956
|
+
};
|
|
1957
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1958
|
+
export type DeleteTagData = {
|
|
1959
|
+
body?: never;
|
|
1856
1960
|
path: {
|
|
1857
1961
|
/**
|
|
1858
|
-
*
|
|
1962
|
+
* Region where the repository is located
|
|
1859
1963
|
*/
|
|
1860
|
-
|
|
1964
|
+
region: string;
|
|
1861
1965
|
/**
|
|
1862
|
-
*
|
|
1966
|
+
* Name of the repository
|
|
1863
1967
|
*/
|
|
1864
|
-
|
|
1968
|
+
repository: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* Name of the tag
|
|
1971
|
+
*/
|
|
1972
|
+
tag: string;
|
|
1865
1973
|
};
|
|
1866
1974
|
query?: never;
|
|
1867
|
-
url: '/
|
|
1975
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1868
1976
|
};
|
|
1869
|
-
export type
|
|
1977
|
+
export type DeleteTagErrors = {
|
|
1870
1978
|
/**
|
|
1871
|
-
*
|
|
1979
|
+
* Not authenticated
|
|
1872
1980
|
*/
|
|
1873
|
-
|
|
1981
|
+
401: unknown;
|
|
1982
|
+
/**
|
|
1983
|
+
* Tag not found
|
|
1984
|
+
*/
|
|
1985
|
+
404: unknown;
|
|
1986
|
+
/**
|
|
1987
|
+
* Internal server error
|
|
1988
|
+
*/
|
|
1989
|
+
500: unknown;
|
|
1874
1990
|
};
|
|
1875
|
-
export type
|
|
1876
|
-
export type UpdateFleetResponses = {
|
|
1991
|
+
export type DeleteTagResponses = {
|
|
1877
1992
|
/**
|
|
1878
|
-
*
|
|
1993
|
+
* Tag successfully deleted
|
|
1879
1994
|
*/
|
|
1880
|
-
200:
|
|
1995
|
+
200: unknown;
|
|
1881
1996
|
};
|
|
1882
|
-
export type
|
|
1883
|
-
export type QueryClusterData = {
|
|
1997
|
+
export type GetTagData = {
|
|
1884
1998
|
body?: never;
|
|
1885
1999
|
path: {
|
|
1886
2000
|
/**
|
|
1887
|
-
*
|
|
2001
|
+
* Region where the repository is located
|
|
1888
2002
|
*/
|
|
1889
|
-
|
|
2003
|
+
region: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Name of the repository
|
|
2006
|
+
*/
|
|
2007
|
+
repository: string;
|
|
2008
|
+
/**
|
|
2009
|
+
* Name of the tag
|
|
2010
|
+
*/
|
|
2011
|
+
tag: string;
|
|
1890
2012
|
};
|
|
1891
2013
|
query?: never;
|
|
1892
|
-
url: '/
|
|
2014
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1893
2015
|
};
|
|
1894
|
-
export type
|
|
2016
|
+
export type GetTagErrors = {
|
|
1895
2017
|
/**
|
|
1896
2018
|
* Not authenticated
|
|
1897
2019
|
*/
|
|
1898
2020
|
401: unknown;
|
|
2021
|
+
/**
|
|
2022
|
+
* Tag not found
|
|
2023
|
+
*/
|
|
2024
|
+
404: unknown;
|
|
2025
|
+
/**
|
|
2026
|
+
* Internal server error
|
|
2027
|
+
*/
|
|
2028
|
+
500: unknown;
|
|
1899
2029
|
};
|
|
1900
|
-
export type
|
|
2030
|
+
export type GetTagResponses = {
|
|
1901
2031
|
/**
|
|
1902
|
-
*
|
|
2032
|
+
* Tag details
|
|
1903
2033
|
*/
|
|
1904
|
-
200:
|
|
2034
|
+
200: RegistryTag;
|
|
1905
2035
|
};
|
|
1906
|
-
export type
|
|
2036
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2037
|
+
export type GetOrganizationData = {
|
|
1907
2038
|
body?: never;
|
|
1908
2039
|
path?: never;
|
|
1909
2040
|
query?: never;
|
|
1910
|
-
url: '/
|
|
1911
|
-
};
|
|
1912
|
-
export type ListClustersErrors = {
|
|
1913
|
-
/**
|
|
1914
|
-
* Not authenticated
|
|
1915
|
-
*/
|
|
1916
|
-
401: unknown;
|
|
2041
|
+
url: '/organization';
|
|
1917
2042
|
};
|
|
1918
|
-
export type
|
|
2043
|
+
export type GetOrganizationResponses = {
|
|
1919
2044
|
/**
|
|
1920
|
-
*
|
|
2045
|
+
* Returns a single object containing organization details.
|
|
1921
2046
|
*/
|
|
1922
|
-
200:
|
|
2047
|
+
200: Organization;
|
|
1923
2048
|
};
|
|
1924
|
-
export type
|
|
1925
|
-
export type
|
|
1926
|
-
body:
|
|
2049
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2050
|
+
export type CreateOrganizationData = {
|
|
2051
|
+
body: OrganizationCreateInput;
|
|
1927
2052
|
path?: never;
|
|
1928
2053
|
query?: never;
|
|
1929
|
-
url: '/
|
|
2054
|
+
url: '/organization';
|
|
1930
2055
|
};
|
|
1931
|
-
export type
|
|
2056
|
+
export type CreateOrganizationResponses = {
|
|
1932
2057
|
/**
|
|
1933
|
-
*
|
|
2058
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2059
|
+
*
|
|
1934
2060
|
*/
|
|
1935
|
-
|
|
2061
|
+
200: OrganizationCreateOutput;
|
|
1936
2062
|
};
|
|
1937
|
-
export type
|
|
1938
|
-
export type
|
|
2063
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2064
|
+
export type GetBasicPriceConsentData = {
|
|
2065
|
+
body?: never;
|
|
2066
|
+
path?: never;
|
|
2067
|
+
query?: never;
|
|
2068
|
+
url: '/organization/basic-price-consent';
|
|
2069
|
+
};
|
|
2070
|
+
export type GetBasicPriceConsentResponses = {
|
|
1939
2071
|
/**
|
|
1940
|
-
*
|
|
2072
|
+
* Returns the current consent status.
|
|
1941
2073
|
*/
|
|
1942
|
-
200:
|
|
2074
|
+
200: BasicPriceConsent;
|
|
1943
2075
|
};
|
|
1944
|
-
export type
|
|
1945
|
-
export type
|
|
1946
|
-
body
|
|
1947
|
-
path
|
|
1948
|
-
/**
|
|
1949
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1950
|
-
*/
|
|
1951
|
-
cluster_id: string;
|
|
1952
|
-
};
|
|
2076
|
+
export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
|
|
2077
|
+
export type SetBasicPriceConsentData = {
|
|
2078
|
+
body: BasicPriceConsentInput;
|
|
2079
|
+
path?: never;
|
|
1953
2080
|
query?: never;
|
|
1954
|
-
url: '/
|
|
2081
|
+
url: '/organization/basic-price-consent';
|
|
1955
2082
|
};
|
|
1956
|
-
export type
|
|
2083
|
+
export type SetBasicPriceConsentErrors = {
|
|
1957
2084
|
/**
|
|
1958
|
-
*
|
|
2085
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2086
|
+
*
|
|
1959
2087
|
*/
|
|
1960
|
-
|
|
2088
|
+
401: unknown;
|
|
1961
2089
|
/**
|
|
1962
|
-
* The
|
|
1963
|
-
*
|
|
2090
|
+
* The consent flow does not apply to this organization.
|
|
1964
2091
|
*/
|
|
1965
|
-
|
|
2092
|
+
409: unknown;
|
|
1966
2093
|
};
|
|
1967
|
-
export type
|
|
2094
|
+
export type SetBasicPriceConsentResponses = {
|
|
1968
2095
|
/**
|
|
1969
|
-
*
|
|
2096
|
+
* Decision recorded. Returns the updated consent status.
|
|
1970
2097
|
*/
|
|
1971
|
-
200:
|
|
2098
|
+
200: BasicPriceConsent;
|
|
1972
2099
|
};
|
|
1973
|
-
export type
|
|
1974
|
-
export type
|
|
1975
|
-
|
|
1976
|
-
|
|
2100
|
+
export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
|
|
2101
|
+
export type PostMcpData = {
|
|
2102
|
+
/**
|
|
2103
|
+
* JSON-RPC 2.0 request payload
|
|
2104
|
+
*/
|
|
2105
|
+
body: {
|
|
2106
|
+
jsonrpc?: string;
|
|
2107
|
+
method?: string;
|
|
2108
|
+
id?: string | number;
|
|
1977
2109
|
/**
|
|
1978
|
-
*
|
|
2110
|
+
* Method-specific parameters
|
|
1979
2111
|
*/
|
|
1980
|
-
|
|
2112
|
+
params?: {
|
|
2113
|
+
[key: string]: unknown;
|
|
2114
|
+
};
|
|
1981
2115
|
};
|
|
2116
|
+
path?: never;
|
|
1982
2117
|
query?: never;
|
|
1983
|
-
url: '/
|
|
2118
|
+
url: '/mcp';
|
|
1984
2119
|
};
|
|
1985
|
-
export type
|
|
2120
|
+
export type PostMcpErrors = {
|
|
1986
2121
|
/**
|
|
1987
|
-
*
|
|
2122
|
+
* Not authenticated
|
|
1988
2123
|
*/
|
|
1989
|
-
|
|
2124
|
+
401: unknown;
|
|
1990
2125
|
};
|
|
1991
|
-
export type
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
2126
|
+
export type PostMcpResponses = {
|
|
2127
|
+
/**
|
|
2128
|
+
* JSON-RPC 2.0 success or error response
|
|
2129
|
+
*/
|
|
2130
|
+
200: {
|
|
2131
|
+
jsonrpc?: string;
|
|
2132
|
+
id?: string | number;
|
|
2133
|
+
result?: {
|
|
2134
|
+
[key: string]: unknown;
|
|
2135
|
+
};
|
|
2136
|
+
error?: {
|
|
2137
|
+
code?: number;
|
|
2138
|
+
message?: string;
|
|
2139
|
+
};
|
|
1999
2140
|
};
|
|
2141
|
+
};
|
|
2142
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2143
|
+
export type ListMarketplaceChartsData = {
|
|
2144
|
+
body?: never;
|
|
2145
|
+
path?: never;
|
|
2000
2146
|
query?: never;
|
|
2001
|
-
url: '/
|
|
2147
|
+
url: '/marketplace';
|
|
2002
2148
|
};
|
|
2003
|
-
export type
|
|
2149
|
+
export type ListMarketplaceChartsErrors = {
|
|
2004
2150
|
/**
|
|
2005
|
-
*
|
|
2151
|
+
* Not authenticated
|
|
2006
2152
|
*/
|
|
2007
|
-
|
|
2153
|
+
401: unknown;
|
|
2008
2154
|
};
|
|
2009
|
-
export type
|
|
2010
|
-
|
|
2155
|
+
export type ListMarketplaceChartsResponses = {
|
|
2156
|
+
/**
|
|
2157
|
+
* An array of chart listings in the marketplace.
|
|
2158
|
+
*/
|
|
2159
|
+
200: Array<MarketplaceListing>;
|
|
2160
|
+
};
|
|
2161
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2162
|
+
export type GetMarketplaceChartFilesData = {
|
|
2011
2163
|
body?: never;
|
|
2012
2164
|
path: {
|
|
2013
2165
|
/**
|
|
2014
|
-
*
|
|
2166
|
+
* Name of the chart in the marketplace.
|
|
2015
2167
|
*/
|
|
2016
|
-
|
|
2168
|
+
chart_name: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* 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).
|
|
2171
|
+
*/
|
|
2172
|
+
version_channel: string;
|
|
2017
2173
|
};
|
|
2018
2174
|
query?: never;
|
|
2019
|
-
url: '/
|
|
2175
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2020
2176
|
};
|
|
2021
|
-
export type
|
|
2177
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2022
2178
|
/**
|
|
2023
|
-
*
|
|
2179
|
+
* Chart not found or no version matches the channel
|
|
2024
2180
|
*/
|
|
2025
|
-
|
|
2181
|
+
404: unknown;
|
|
2026
2182
|
};
|
|
2027
|
-
export type
|
|
2183
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2028
2184
|
/**
|
|
2029
|
-
*
|
|
2185
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2030
2186
|
*/
|
|
2031
|
-
200:
|
|
2187
|
+
200: MarketplaceListingFiles;
|
|
2032
2188
|
};
|
|
2033
|
-
export type
|
|
2189
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2034
2190
|
export type ListInvitesData = {
|
|
2035
2191
|
body?: never;
|
|
2036
2192
|
path?: never;
|
|
@@ -2107,619 +2263,658 @@ export type DeleteInviteResponses = {
|
|
|
2107
2263
|
*/
|
|
2108
2264
|
200: unknown;
|
|
2109
2265
|
};
|
|
2110
|
-
export type
|
|
2266
|
+
export type QueryClusterData = {
|
|
2111
2267
|
body?: never;
|
|
2112
|
-
path
|
|
2268
|
+
path: {
|
|
2269
|
+
/**
|
|
2270
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2271
|
+
*/
|
|
2272
|
+
cluster_id: string;
|
|
2273
|
+
};
|
|
2113
2274
|
query?: never;
|
|
2114
|
-
url: '/
|
|
2275
|
+
url: '/clusters/{cluster_id}/query';
|
|
2115
2276
|
};
|
|
2116
|
-
export type
|
|
2277
|
+
export type QueryClusterErrors = {
|
|
2117
2278
|
/**
|
|
2118
2279
|
* Not authenticated
|
|
2119
2280
|
*/
|
|
2120
2281
|
401: unknown;
|
|
2121
2282
|
};
|
|
2122
|
-
export type
|
|
2283
|
+
export type QueryClusterResponses = {
|
|
2123
2284
|
/**
|
|
2124
|
-
*
|
|
2285
|
+
* Kubernetes API response
|
|
2125
2286
|
*/
|
|
2126
|
-
200:
|
|
2287
|
+
200: unknown;
|
|
2127
2288
|
};
|
|
2128
|
-
export type
|
|
2129
|
-
export type GetMarketplaceChartFilesData = {
|
|
2289
|
+
export type ListFleetsData = {
|
|
2130
2290
|
body?: never;
|
|
2131
2291
|
path: {
|
|
2132
2292
|
/**
|
|
2133
|
-
*
|
|
2293
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2134
2294
|
*/
|
|
2135
|
-
|
|
2295
|
+
cluster_id: string;
|
|
2296
|
+
};
|
|
2297
|
+
query?: never;
|
|
2298
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2299
|
+
};
|
|
2300
|
+
export type ListFleetsErrors = {
|
|
2301
|
+
/**
|
|
2302
|
+
* Not authenticated
|
|
2303
|
+
*/
|
|
2304
|
+
401: unknown;
|
|
2305
|
+
};
|
|
2306
|
+
export type ListFleetsResponses = {
|
|
2307
|
+
/**
|
|
2308
|
+
* An array of fleets
|
|
2309
|
+
*/
|
|
2310
|
+
200: Array<Fleet>;
|
|
2311
|
+
};
|
|
2312
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2313
|
+
export type CreateFleetData = {
|
|
2314
|
+
body: FleetCreateInput;
|
|
2315
|
+
path: {
|
|
2136
2316
|
/**
|
|
2137
|
-
*
|
|
2317
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2138
2318
|
*/
|
|
2139
|
-
|
|
2319
|
+
cluster_id: string;
|
|
2140
2320
|
};
|
|
2141
2321
|
query?: never;
|
|
2142
|
-
url: '/
|
|
2322
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2143
2323
|
};
|
|
2144
|
-
export type
|
|
2324
|
+
export type CreateFleetErrors = {
|
|
2145
2325
|
/**
|
|
2146
|
-
*
|
|
2326
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2147
2327
|
*/
|
|
2148
|
-
|
|
2149
|
-
};
|
|
2150
|
-
export type GetMarketplaceChartFilesResponses = {
|
|
2328
|
+
402: string;
|
|
2151
2329
|
/**
|
|
2152
|
-
*
|
|
2330
|
+
* 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.
|
|
2153
2331
|
*/
|
|
2154
|
-
|
|
2332
|
+
409: string;
|
|
2155
2333
|
};
|
|
2156
|
-
export type
|
|
2157
|
-
export type
|
|
2334
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2335
|
+
export type CreateFleetResponses = {
|
|
2158
2336
|
/**
|
|
2159
|
-
*
|
|
2337
|
+
* Successfully created. Returns created Fleet ID.
|
|
2160
2338
|
*/
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2339
|
+
200: string;
|
|
2340
|
+
};
|
|
2341
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2342
|
+
export type DeleteFleetData = {
|
|
2343
|
+
body?: never;
|
|
2344
|
+
path: {
|
|
2165
2345
|
/**
|
|
2166
|
-
*
|
|
2346
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2167
2347
|
*/
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2348
|
+
cluster_id: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2351
|
+
*/
|
|
2352
|
+
fleet_name: string;
|
|
2171
2353
|
};
|
|
2172
|
-
path?: never;
|
|
2173
2354
|
query?: never;
|
|
2174
|
-
url: '/
|
|
2355
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2175
2356
|
};
|
|
2176
|
-
export type
|
|
2357
|
+
export type DeleteFleetErrors = {
|
|
2177
2358
|
/**
|
|
2178
|
-
*
|
|
2359
|
+
* 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.
|
|
2179
2360
|
*/
|
|
2180
|
-
|
|
2361
|
+
409: string;
|
|
2181
2362
|
};
|
|
2182
|
-
export type
|
|
2363
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2364
|
+
export type DeleteFleetResponses = {
|
|
2183
2365
|
/**
|
|
2184
|
-
*
|
|
2366
|
+
* Successfully deleted.
|
|
2185
2367
|
*/
|
|
2186
|
-
200:
|
|
2187
|
-
jsonrpc?: string;
|
|
2188
|
-
id?: string | number;
|
|
2189
|
-
result?: {
|
|
2190
|
-
[key: string]: unknown;
|
|
2191
|
-
};
|
|
2192
|
-
error?: {
|
|
2193
|
-
code?: number;
|
|
2194
|
-
message?: string;
|
|
2195
|
-
};
|
|
2196
|
-
};
|
|
2368
|
+
200: string;
|
|
2197
2369
|
};
|
|
2198
|
-
export type
|
|
2199
|
-
export type
|
|
2370
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2371
|
+
export type GetFleetData = {
|
|
2200
2372
|
body?: never;
|
|
2201
|
-
path
|
|
2373
|
+
path: {
|
|
2374
|
+
/**
|
|
2375
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2376
|
+
*/
|
|
2377
|
+
cluster_id: string;
|
|
2378
|
+
/**
|
|
2379
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2380
|
+
*/
|
|
2381
|
+
fleet_name: string;
|
|
2382
|
+
};
|
|
2202
2383
|
query?: never;
|
|
2203
|
-
url: '/
|
|
2384
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2204
2385
|
};
|
|
2205
|
-
export type
|
|
2386
|
+
export type GetFleetResponses = {
|
|
2206
2387
|
/**
|
|
2207
|
-
* Returns a single object containing
|
|
2388
|
+
* Returns a single object containing fleet details.
|
|
2208
2389
|
*/
|
|
2209
|
-
200:
|
|
2390
|
+
200: Fleet;
|
|
2210
2391
|
};
|
|
2211
|
-
export type
|
|
2212
|
-
export type
|
|
2213
|
-
body:
|
|
2214
|
-
path
|
|
2392
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2393
|
+
export type UpdateFleetData = {
|
|
2394
|
+
body: FleetUpdateInput;
|
|
2395
|
+
path: {
|
|
2396
|
+
/**
|
|
2397
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2398
|
+
*/
|
|
2399
|
+
cluster_id: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2402
|
+
*/
|
|
2403
|
+
fleet_name: string;
|
|
2404
|
+
};
|
|
2215
2405
|
query?: never;
|
|
2216
|
-
url: '/
|
|
2406
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2217
2407
|
};
|
|
2218
|
-
export type
|
|
2408
|
+
export type UpdateFleetErrors = {
|
|
2219
2409
|
/**
|
|
2220
|
-
* Organization
|
|
2221
|
-
*
|
|
2410
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2222
2411
|
*/
|
|
2223
|
-
|
|
2412
|
+
402: string;
|
|
2413
|
+
/**
|
|
2414
|
+
* 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.
|
|
2415
|
+
*/
|
|
2416
|
+
409: string;
|
|
2224
2417
|
};
|
|
2225
|
-
export type
|
|
2226
|
-
export type
|
|
2418
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2419
|
+
export type UpdateFleetResponses = {
|
|
2420
|
+
/**
|
|
2421
|
+
* Successfully updated.
|
|
2422
|
+
*/
|
|
2423
|
+
200: string;
|
|
2424
|
+
};
|
|
2425
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2426
|
+
export type ListChartsData = {
|
|
2227
2427
|
body?: never;
|
|
2228
|
-
path
|
|
2428
|
+
path: {
|
|
2429
|
+
/**
|
|
2430
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2431
|
+
*/
|
|
2432
|
+
cluster_id: string;
|
|
2433
|
+
};
|
|
2229
2434
|
query?: never;
|
|
2230
|
-
url: '/
|
|
2435
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2231
2436
|
};
|
|
2232
|
-
export type
|
|
2437
|
+
export type ListChartsErrors = {
|
|
2233
2438
|
/**
|
|
2234
2439
|
* Not authenticated
|
|
2235
2440
|
*/
|
|
2236
2441
|
401: unknown;
|
|
2442
|
+
};
|
|
2443
|
+
export type ListChartsResponses = {
|
|
2237
2444
|
/**
|
|
2238
|
-
*
|
|
2445
|
+
* An array of charts
|
|
2239
2446
|
*/
|
|
2240
|
-
|
|
2447
|
+
200: Array<Chart>;
|
|
2241
2448
|
};
|
|
2242
|
-
export type
|
|
2449
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2450
|
+
export type CreateChartData = {
|
|
2451
|
+
body: ChartCreateInput;
|
|
2452
|
+
path: {
|
|
2453
|
+
/**
|
|
2454
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2455
|
+
*/
|
|
2456
|
+
cluster_id: string;
|
|
2457
|
+
};
|
|
2458
|
+
query?: never;
|
|
2459
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2460
|
+
};
|
|
2461
|
+
export type CreateChartErrors = {
|
|
2462
|
+
/**
|
|
2463
|
+
* 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.
|
|
2464
|
+
*/
|
|
2465
|
+
409: string;
|
|
2466
|
+
};
|
|
2467
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2468
|
+
export type CreateChartResponses = {
|
|
2243
2469
|
/**
|
|
2244
|
-
*
|
|
2470
|
+
* Successfully created. Returns created Chart ID.
|
|
2245
2471
|
*/
|
|
2246
|
-
200:
|
|
2472
|
+
200: string;
|
|
2247
2473
|
};
|
|
2248
|
-
export type
|
|
2249
|
-
export type
|
|
2474
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2475
|
+
export type DeleteChartData = {
|
|
2250
2476
|
body?: never;
|
|
2251
2477
|
path: {
|
|
2252
2478
|
/**
|
|
2253
|
-
*
|
|
2479
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2254
2480
|
*/
|
|
2255
|
-
|
|
2481
|
+
cluster_id: string;
|
|
2256
2482
|
/**
|
|
2257
|
-
*
|
|
2483
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2258
2484
|
*/
|
|
2259
|
-
|
|
2485
|
+
chart_name: string;
|
|
2260
2486
|
};
|
|
2261
2487
|
query?: never;
|
|
2262
|
-
url: '/
|
|
2488
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2263
2489
|
};
|
|
2264
|
-
export type
|
|
2265
|
-
/**
|
|
2266
|
-
* Not authenticated
|
|
2267
|
-
*/
|
|
2268
|
-
401: unknown;
|
|
2490
|
+
export type DeleteChartErrors = {
|
|
2269
2491
|
/**
|
|
2270
|
-
*
|
|
2271
|
-
*/
|
|
2272
|
-
404: unknown;
|
|
2273
|
-
/**
|
|
2274
|
-
* Internal server error
|
|
2492
|
+
* 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.
|
|
2275
2493
|
*/
|
|
2276
|
-
|
|
2494
|
+
409: string;
|
|
2277
2495
|
};
|
|
2278
|
-
export type
|
|
2496
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2497
|
+
export type DeleteChartResponses = {
|
|
2279
2498
|
/**
|
|
2280
|
-
*
|
|
2499
|
+
* Successfully deleted.
|
|
2281
2500
|
*/
|
|
2282
|
-
200:
|
|
2501
|
+
200: string;
|
|
2283
2502
|
};
|
|
2284
|
-
export type
|
|
2285
|
-
export type
|
|
2503
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2504
|
+
export type GetChartData = {
|
|
2286
2505
|
body?: never;
|
|
2287
2506
|
path: {
|
|
2288
2507
|
/**
|
|
2289
|
-
*
|
|
2290
|
-
*/
|
|
2291
|
-
region: string;
|
|
2292
|
-
/**
|
|
2293
|
-
* Name of the repository
|
|
2508
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2294
2509
|
*/
|
|
2295
|
-
|
|
2510
|
+
cluster_id: string;
|
|
2296
2511
|
/**
|
|
2297
|
-
*
|
|
2512
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2298
2513
|
*/
|
|
2299
|
-
|
|
2514
|
+
chart_name: string;
|
|
2300
2515
|
};
|
|
2301
2516
|
query?: never;
|
|
2302
|
-
url: '/
|
|
2303
|
-
};
|
|
2304
|
-
export type DeleteTagErrors = {
|
|
2305
|
-
/**
|
|
2306
|
-
* Not authenticated
|
|
2307
|
-
*/
|
|
2308
|
-
401: unknown;
|
|
2309
|
-
/**
|
|
2310
|
-
* Tag not found
|
|
2311
|
-
*/
|
|
2312
|
-
404: unknown;
|
|
2313
|
-
/**
|
|
2314
|
-
* Internal server error
|
|
2315
|
-
*/
|
|
2316
|
-
500: unknown;
|
|
2517
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2317
2518
|
};
|
|
2318
|
-
export type
|
|
2519
|
+
export type GetChartResponses = {
|
|
2319
2520
|
/**
|
|
2320
|
-
*
|
|
2521
|
+
* Returns a single object containing chart details.
|
|
2321
2522
|
*/
|
|
2322
|
-
200:
|
|
2523
|
+
200: Chart;
|
|
2323
2524
|
};
|
|
2324
|
-
export type
|
|
2325
|
-
|
|
2525
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2526
|
+
export type UpdateChartData = {
|
|
2527
|
+
body: ChartUpdateInput;
|
|
2326
2528
|
path: {
|
|
2327
2529
|
/**
|
|
2328
|
-
*
|
|
2329
|
-
*/
|
|
2330
|
-
region: string;
|
|
2331
|
-
/**
|
|
2332
|
-
* Name of the repository
|
|
2530
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2333
2531
|
*/
|
|
2334
|
-
|
|
2532
|
+
cluster_id: string;
|
|
2335
2533
|
/**
|
|
2336
|
-
*
|
|
2534
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2337
2535
|
*/
|
|
2338
|
-
|
|
2536
|
+
chart_name: string;
|
|
2339
2537
|
};
|
|
2340
2538
|
query?: never;
|
|
2341
|
-
url: '/
|
|
2539
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2342
2540
|
};
|
|
2343
|
-
export type
|
|
2344
|
-
/**
|
|
2345
|
-
* Not authenticated
|
|
2346
|
-
*/
|
|
2347
|
-
401: unknown;
|
|
2348
|
-
/**
|
|
2349
|
-
* Tag not found
|
|
2350
|
-
*/
|
|
2351
|
-
404: unknown;
|
|
2541
|
+
export type UpdateChartErrors = {
|
|
2352
2542
|
/**
|
|
2353
|
-
*
|
|
2543
|
+
* 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.
|
|
2354
2544
|
*/
|
|
2355
|
-
|
|
2545
|
+
409: string;
|
|
2356
2546
|
};
|
|
2357
|
-
export type
|
|
2547
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2548
|
+
export type UpdateChartResponses = {
|
|
2358
2549
|
/**
|
|
2359
|
-
*
|
|
2550
|
+
* Successfully updated.
|
|
2360
2551
|
*/
|
|
2361
|
-
200:
|
|
2552
|
+
200: string;
|
|
2362
2553
|
};
|
|
2363
|
-
export type
|
|
2364
|
-
export type
|
|
2554
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2555
|
+
export type ListClustersData = {
|
|
2365
2556
|
body?: never;
|
|
2366
2557
|
path?: never;
|
|
2367
2558
|
query?: never;
|
|
2368
|
-
url: '/
|
|
2559
|
+
url: '/clusters';
|
|
2369
2560
|
};
|
|
2370
|
-
export type
|
|
2561
|
+
export type ListClustersErrors = {
|
|
2371
2562
|
/**
|
|
2372
|
-
*
|
|
2563
|
+
* Not authenticated
|
|
2373
2564
|
*/
|
|
2374
|
-
|
|
2565
|
+
401: unknown;
|
|
2375
2566
|
};
|
|
2376
|
-
export type
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2567
|
+
export type ListClustersResponses = {
|
|
2568
|
+
/**
|
|
2569
|
+
* An array of clusters
|
|
2570
|
+
*/
|
|
2571
|
+
200: Array<Cluster>;
|
|
2572
|
+
};
|
|
2573
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2574
|
+
export type CreateClusterData = {
|
|
2575
|
+
body: ClusterCreateInput;
|
|
2385
2576
|
path?: never;
|
|
2386
2577
|
query?: never;
|
|
2387
|
-
url: '/
|
|
2578
|
+
url: '/clusters';
|
|
2388
2579
|
};
|
|
2389
|
-
export type
|
|
2580
|
+
export type CreateClusterErrors = {
|
|
2390
2581
|
/**
|
|
2391
|
-
*
|
|
2582
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2392
2583
|
*/
|
|
2393
|
-
|
|
2584
|
+
402: string;
|
|
2394
2585
|
};
|
|
2395
|
-
export type
|
|
2396
|
-
export type
|
|
2586
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2587
|
+
export type CreateClusterResponses = {
|
|
2588
|
+
/**
|
|
2589
|
+
* Successfully created. Returns created Cluster ID.
|
|
2590
|
+
*/
|
|
2591
|
+
200: string;
|
|
2592
|
+
};
|
|
2593
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2594
|
+
export type DeleteClusterData = {
|
|
2397
2595
|
body?: never;
|
|
2398
2596
|
path: {
|
|
2399
|
-
|
|
2597
|
+
/**
|
|
2598
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2599
|
+
*/
|
|
2600
|
+
cluster_id: string;
|
|
2400
2601
|
};
|
|
2401
2602
|
query?: never;
|
|
2402
|
-
url: '/
|
|
2603
|
+
url: '/clusters/{cluster_id}';
|
|
2403
2604
|
};
|
|
2404
|
-
export type
|
|
2605
|
+
export type DeleteClusterErrors = {
|
|
2405
2606
|
/**
|
|
2406
|
-
*
|
|
2607
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
2407
2608
|
*/
|
|
2408
|
-
|
|
2609
|
+
404: unknown;
|
|
2610
|
+
/**
|
|
2611
|
+
* 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.
|
|
2612
|
+
*/
|
|
2613
|
+
409: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2616
|
+
*/
|
|
2617
|
+
503: unknown;
|
|
2409
2618
|
};
|
|
2410
|
-
export type
|
|
2411
|
-
export type
|
|
2619
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2620
|
+
export type DeleteClusterResponses = {
|
|
2621
|
+
/**
|
|
2622
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2623
|
+
*/
|
|
2624
|
+
200: string;
|
|
2625
|
+
};
|
|
2626
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2627
|
+
export type GetClusterData = {
|
|
2412
2628
|
body?: never;
|
|
2413
2629
|
path: {
|
|
2414
|
-
|
|
2630
|
+
/**
|
|
2631
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2632
|
+
*/
|
|
2633
|
+
cluster_id: string;
|
|
2415
2634
|
};
|
|
2416
2635
|
query?: never;
|
|
2417
|
-
url: '/
|
|
2636
|
+
url: '/clusters/{cluster_id}';
|
|
2418
2637
|
};
|
|
2419
|
-
export type
|
|
2638
|
+
export type GetClusterResponses = {
|
|
2420
2639
|
/**
|
|
2421
|
-
*
|
|
2640
|
+
* Returns a single object containing cluster details.
|
|
2422
2641
|
*/
|
|
2423
|
-
200:
|
|
2642
|
+
200: Cluster;
|
|
2424
2643
|
};
|
|
2425
|
-
export type
|
|
2426
|
-
export type
|
|
2427
|
-
body:
|
|
2644
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2645
|
+
export type UpdateClusterData = {
|
|
2646
|
+
body: ClusterUpdateInput;
|
|
2647
|
+
path: {
|
|
2428
2648
|
/**
|
|
2429
|
-
*
|
|
2649
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2430
2650
|
*/
|
|
2431
|
-
|
|
2432
|
-
attachments?: Array<Blob | File>;
|
|
2433
|
-
};
|
|
2434
|
-
path: {
|
|
2435
|
-
ticket_id: string;
|
|
2651
|
+
cluster_id: string;
|
|
2436
2652
|
};
|
|
2437
2653
|
query?: never;
|
|
2438
|
-
url: '/
|
|
2654
|
+
url: '/clusters/{cluster_id}';
|
|
2439
2655
|
};
|
|
2440
|
-
export type
|
|
2656
|
+
export type UpdateClusterErrors = {
|
|
2441
2657
|
/**
|
|
2442
|
-
*
|
|
2658
|
+
* 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.
|
|
2443
2659
|
*/
|
|
2444
|
-
409:
|
|
2660
|
+
409: string;
|
|
2445
2661
|
};
|
|
2446
|
-
export type
|
|
2662
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2663
|
+
export type UpdateClusterResponses = {
|
|
2447
2664
|
/**
|
|
2448
|
-
*
|
|
2665
|
+
* Successfully updated. Returns updated cluster details.
|
|
2449
2666
|
*/
|
|
2450
|
-
200:
|
|
2667
|
+
200: Cluster;
|
|
2451
2668
|
};
|
|
2452
|
-
export type
|
|
2453
|
-
export type
|
|
2669
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2670
|
+
export type GetJoinInformationData = {
|
|
2454
2671
|
body?: never;
|
|
2455
2672
|
path: {
|
|
2456
|
-
|
|
2457
|
-
|
|
2673
|
+
/**
|
|
2674
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2675
|
+
*/
|
|
2676
|
+
cluster_id: string;
|
|
2458
2677
|
};
|
|
2459
2678
|
query?: never;
|
|
2460
|
-
url: '/
|
|
2461
|
-
};
|
|
2462
|
-
export type GetTicketAttachmentResponses = {
|
|
2463
|
-
/**
|
|
2464
|
-
* Attachment binary stream.
|
|
2465
|
-
*/
|
|
2466
|
-
200: Blob | File;
|
|
2467
|
-
};
|
|
2468
|
-
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
2469
|
-
export type ListTokensData = {
|
|
2470
|
-
body?: never;
|
|
2471
|
-
path?: never;
|
|
2472
|
-
query?: never;
|
|
2473
|
-
url: '/tokens';
|
|
2679
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2474
2680
|
};
|
|
2475
|
-
export type
|
|
2681
|
+
export type GetJoinInformationErrors = {
|
|
2476
2682
|
/**
|
|
2477
2683
|
* Not authenticated
|
|
2478
2684
|
*/
|
|
2479
2685
|
401: unknown;
|
|
2686
|
+
/**
|
|
2687
|
+
* 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.
|
|
2688
|
+
*/
|
|
2689
|
+
409: string;
|
|
2690
|
+
/**
|
|
2691
|
+
* The cluster runs on Cloudfleet data plane v2 and the calling client did not declare the dataplane-v2 capability, so it cannot provision a node for it. Upgrade the Cloudfleet CLI or Terraform provider.
|
|
2692
|
+
*/
|
|
2693
|
+
426: string;
|
|
2480
2694
|
};
|
|
2481
|
-
export type
|
|
2695
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2696
|
+
export type GetJoinInformationResponses = {
|
|
2482
2697
|
/**
|
|
2483
|
-
*
|
|
2698
|
+
* An object of cluster join information
|
|
2484
2699
|
*/
|
|
2485
|
-
200:
|
|
2700
|
+
200: ClusterJoinInformation;
|
|
2486
2701
|
};
|
|
2487
|
-
export type
|
|
2488
|
-
export type
|
|
2489
|
-
body
|
|
2702
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2703
|
+
export type GetUsageData = {
|
|
2704
|
+
body?: never;
|
|
2490
2705
|
path?: never;
|
|
2491
|
-
query?:
|
|
2492
|
-
|
|
2706
|
+
query?: {
|
|
2707
|
+
/**
|
|
2708
|
+
* 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)
|
|
2709
|
+
*/
|
|
2710
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2711
|
+
};
|
|
2712
|
+
url: '/billing/usage';
|
|
2493
2713
|
};
|
|
2494
|
-
export type
|
|
2714
|
+
export type GetUsageErrors = {
|
|
2495
2715
|
/**
|
|
2496
2716
|
* Not authenticated
|
|
2497
2717
|
*/
|
|
2498
2718
|
401: unknown;
|
|
2499
2719
|
};
|
|
2500
|
-
export type
|
|
2720
|
+
export type GetUsageResponses = {
|
|
2501
2721
|
/**
|
|
2502
|
-
*
|
|
2722
|
+
* Usage data with facets for filtering
|
|
2503
2723
|
*/
|
|
2504
|
-
200:
|
|
2724
|
+
200: UsageResponse;
|
|
2505
2725
|
};
|
|
2506
|
-
export type
|
|
2507
|
-
export type
|
|
2726
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2727
|
+
export type GetPaymentMethodSecretData = {
|
|
2508
2728
|
body?: never;
|
|
2509
|
-
path
|
|
2510
|
-
/**
|
|
2511
|
-
* Generated unique identifier of the access token.
|
|
2512
|
-
*/
|
|
2513
|
-
token_id: string;
|
|
2514
|
-
};
|
|
2729
|
+
path?: never;
|
|
2515
2730
|
query?: never;
|
|
2516
|
-
url: '/
|
|
2731
|
+
url: '/billing/payment-method';
|
|
2517
2732
|
};
|
|
2518
|
-
export type
|
|
2733
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2519
2734
|
/**
|
|
2520
|
-
*
|
|
2735
|
+
* 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.
|
|
2736
|
+
*
|
|
2521
2737
|
*/
|
|
2522
|
-
200:
|
|
2523
|
-
};
|
|
2524
|
-
export type GetTokenData = {
|
|
2525
|
-
body?: never;
|
|
2526
|
-
path: {
|
|
2738
|
+
200: {
|
|
2527
2739
|
/**
|
|
2528
|
-
*
|
|
2740
|
+
* The client secret.
|
|
2529
2741
|
*/
|
|
2530
|
-
|
|
2742
|
+
id?: string;
|
|
2531
2743
|
};
|
|
2744
|
+
};
|
|
2745
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2746
|
+
export type ListPaymentMethodsData = {
|
|
2747
|
+
body?: never;
|
|
2748
|
+
path?: never;
|
|
2532
2749
|
query?: never;
|
|
2533
|
-
url: '/
|
|
2750
|
+
url: '/billing/payment-methods';
|
|
2534
2751
|
};
|
|
2535
|
-
export type
|
|
2752
|
+
export type ListPaymentMethodsErrors = {
|
|
2536
2753
|
/**
|
|
2537
2754
|
* Not authenticated
|
|
2538
2755
|
*/
|
|
2539
2756
|
401: unknown;
|
|
2540
2757
|
};
|
|
2541
|
-
export type
|
|
2758
|
+
export type ListPaymentMethodsResponses = {
|
|
2542
2759
|
/**
|
|
2543
|
-
*
|
|
2760
|
+
* An array of payment methods.
|
|
2544
2761
|
*/
|
|
2545
|
-
200:
|
|
2762
|
+
200: Array<PaymentMethod>;
|
|
2546
2763
|
};
|
|
2547
|
-
export type
|
|
2548
|
-
export type
|
|
2549
|
-
body
|
|
2764
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2765
|
+
export type SetDefaultPaymentMethodData = {
|
|
2766
|
+
body?: never;
|
|
2550
2767
|
path: {
|
|
2551
2768
|
/**
|
|
2552
|
-
*
|
|
2769
|
+
* Stripe payment method identifier.
|
|
2553
2770
|
*/
|
|
2554
|
-
|
|
2771
|
+
paymentMethodId: string;
|
|
2555
2772
|
};
|
|
2556
2773
|
query?: never;
|
|
2557
|
-
url: '/
|
|
2774
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2558
2775
|
};
|
|
2559
|
-
export type
|
|
2776
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2777
|
+
/**
|
|
2778
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2779
|
+
*/
|
|
2780
|
+
400: unknown;
|
|
2560
2781
|
/**
|
|
2561
2782
|
* Not authenticated
|
|
2562
2783
|
*/
|
|
2563
2784
|
401: unknown;
|
|
2785
|
+
/**
|
|
2786
|
+
* Payment method not found.
|
|
2787
|
+
*/
|
|
2788
|
+
404: unknown;
|
|
2564
2789
|
};
|
|
2565
|
-
export type
|
|
2790
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2566
2791
|
/**
|
|
2567
|
-
*
|
|
2792
|
+
* Default payment method updated.
|
|
2568
2793
|
*/
|
|
2569
|
-
|
|
2794
|
+
204: void;
|
|
2570
2795
|
};
|
|
2571
|
-
export type
|
|
2572
|
-
export type
|
|
2796
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2797
|
+
export type DeletePaymentMethodData = {
|
|
2573
2798
|
body?: never;
|
|
2574
2799
|
path: {
|
|
2575
2800
|
/**
|
|
2576
|
-
*
|
|
2801
|
+
* Stripe payment method identifier.
|
|
2577
2802
|
*/
|
|
2578
|
-
|
|
2803
|
+
paymentMethodId: string;
|
|
2579
2804
|
};
|
|
2580
2805
|
query?: never;
|
|
2581
|
-
url: '/
|
|
2806
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2582
2807
|
};
|
|
2583
|
-
export type
|
|
2808
|
+
export type DeletePaymentMethodErrors = {
|
|
2809
|
+
/**
|
|
2810
|
+
* The bank transfer payment method cannot be removed.
|
|
2811
|
+
*/
|
|
2812
|
+
400: unknown;
|
|
2584
2813
|
/**
|
|
2585
2814
|
* Not authenticated
|
|
2586
2815
|
*/
|
|
2587
2816
|
401: unknown;
|
|
2588
|
-
};
|
|
2589
|
-
export type RegenerateTokenResponses = {
|
|
2590
2817
|
/**
|
|
2591
|
-
*
|
|
2818
|
+
* Payment method not found.
|
|
2592
2819
|
*/
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
path: {
|
|
2599
|
-
/**
|
|
2600
|
-
* User email address.
|
|
2601
|
-
*/
|
|
2602
|
-
email: string;
|
|
2603
|
-
};
|
|
2604
|
-
query?: never;
|
|
2605
|
-
url: '/users/organizations/{email}';
|
|
2820
|
+
404: unknown;
|
|
2821
|
+
/**
|
|
2822
|
+
* Cannot delete the only remaining payment method.
|
|
2823
|
+
*/
|
|
2824
|
+
409: unknown;
|
|
2606
2825
|
};
|
|
2607
|
-
export type
|
|
2826
|
+
export type DeletePaymentMethodResponses = {
|
|
2608
2827
|
/**
|
|
2609
|
-
*
|
|
2828
|
+
* Payment method deleted.
|
|
2610
2829
|
*/
|
|
2611
|
-
|
|
2612
|
-
/**
|
|
2613
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2614
|
-
*/
|
|
2615
|
-
realm?: string;
|
|
2616
|
-
/**
|
|
2617
|
-
* Human-readable name of the organization
|
|
2618
|
-
*/
|
|
2619
|
-
displayName?: string;
|
|
2620
|
-
}>;
|
|
2830
|
+
204: void;
|
|
2621
2831
|
};
|
|
2622
|
-
export type
|
|
2623
|
-
export type
|
|
2832
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2833
|
+
export type ListInvoicesData = {
|
|
2624
2834
|
body?: never;
|
|
2625
2835
|
path?: never;
|
|
2626
2836
|
query?: never;
|
|
2627
|
-
url: '/
|
|
2837
|
+
url: '/billing/invoices';
|
|
2628
2838
|
};
|
|
2629
|
-
export type
|
|
2839
|
+
export type ListInvoicesErrors = {
|
|
2630
2840
|
/**
|
|
2631
2841
|
* Not authenticated
|
|
2632
2842
|
*/
|
|
2633
2843
|
401: unknown;
|
|
2634
2844
|
};
|
|
2635
|
-
export type
|
|
2845
|
+
export type ListInvoicesResponses = {
|
|
2636
2846
|
/**
|
|
2637
|
-
* An array of
|
|
2847
|
+
* An array of usage records.
|
|
2638
2848
|
*/
|
|
2639
|
-
200: Array<
|
|
2849
|
+
200: Array<Invoice>;
|
|
2640
2850
|
};
|
|
2641
|
-
export type
|
|
2642
|
-
export type
|
|
2643
|
-
body
|
|
2851
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2852
|
+
export type GetContactData = {
|
|
2853
|
+
body?: never;
|
|
2644
2854
|
path?: never;
|
|
2645
2855
|
query?: never;
|
|
2646
|
-
url: '/
|
|
2856
|
+
url: '/billing/contact';
|
|
2647
2857
|
};
|
|
2648
|
-
export type
|
|
2858
|
+
export type GetContactResponses = {
|
|
2649
2859
|
/**
|
|
2650
|
-
*
|
|
2860
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2651
2861
|
*/
|
|
2652
|
-
200:
|
|
2862
|
+
200: BillingContact;
|
|
2653
2863
|
};
|
|
2654
|
-
export type
|
|
2655
|
-
export type
|
|
2656
|
-
body
|
|
2657
|
-
path
|
|
2658
|
-
/**
|
|
2659
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2660
|
-
*/
|
|
2661
|
-
user_id: string;
|
|
2662
|
-
};
|
|
2864
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2865
|
+
export type UpdateContactData = {
|
|
2866
|
+
body: BillingContact;
|
|
2867
|
+
path?: never;
|
|
2663
2868
|
query?: never;
|
|
2664
|
-
url: '/
|
|
2869
|
+
url: '/billing/contact';
|
|
2665
2870
|
};
|
|
2666
|
-
export type
|
|
2871
|
+
export type UpdateContactResponses = {
|
|
2667
2872
|
/**
|
|
2668
|
-
*
|
|
2873
|
+
* Successfully updated. Returns updated organization details.
|
|
2669
2874
|
*/
|
|
2670
|
-
|
|
2875
|
+
200: BillingContact;
|
|
2876
|
+
};
|
|
2877
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2878
|
+
export type GetCreditsData = {
|
|
2879
|
+
body?: never;
|
|
2880
|
+
path?: never;
|
|
2881
|
+
query?: never;
|
|
2882
|
+
url: '/billing/credits';
|
|
2883
|
+
};
|
|
2884
|
+
export type GetCreditsErrors = {
|
|
2671
2885
|
/**
|
|
2672
2886
|
* Not authenticated
|
|
2673
2887
|
*/
|
|
2674
2888
|
401: unknown;
|
|
2675
2889
|
};
|
|
2676
|
-
export type
|
|
2890
|
+
export type GetCreditsResponses = {
|
|
2677
2891
|
/**
|
|
2678
|
-
*
|
|
2892
|
+
* An array of the applied promotional credits records.
|
|
2679
2893
|
*/
|
|
2680
|
-
200:
|
|
2894
|
+
200: Array<BillingCredits>;
|
|
2681
2895
|
};
|
|
2682
|
-
export type
|
|
2683
|
-
export type
|
|
2684
|
-
body
|
|
2685
|
-
path: {
|
|
2896
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2897
|
+
export type RedeemCreditsData = {
|
|
2898
|
+
body: {
|
|
2686
2899
|
/**
|
|
2687
|
-
*
|
|
2900
|
+
* Promotional code to redeem
|
|
2688
2901
|
*/
|
|
2689
|
-
|
|
2902
|
+
code?: string;
|
|
2690
2903
|
};
|
|
2904
|
+
path?: never;
|
|
2691
2905
|
query?: never;
|
|
2692
|
-
url: '/
|
|
2906
|
+
url: '/billing/credits';
|
|
2693
2907
|
};
|
|
2694
|
-
export type
|
|
2908
|
+
export type RedeemCreditsErrors = {
|
|
2695
2909
|
/**
|
|
2696
2910
|
* Not authenticated
|
|
2697
2911
|
*/
|
|
2698
2912
|
401: unknown;
|
|
2699
2913
|
};
|
|
2700
|
-
export type
|
|
2701
|
-
/**
|
|
2702
|
-
* User profile information
|
|
2703
|
-
*/
|
|
2704
|
-
200: User;
|
|
2705
|
-
};
|
|
2706
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2707
|
-
export type UpdateUserData = {
|
|
2708
|
-
body: UserUpdateInput;
|
|
2709
|
-
path: {
|
|
2710
|
-
/**
|
|
2711
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2712
|
-
*/
|
|
2713
|
-
user_id: string;
|
|
2714
|
-
};
|
|
2715
|
-
query?: never;
|
|
2716
|
-
url: '/users/{user_id}';
|
|
2717
|
-
};
|
|
2718
|
-
export type UpdateUserResponses = {
|
|
2914
|
+
export type RedeemCreditsResponses = {
|
|
2719
2915
|
/**
|
|
2720
|
-
* Successfully created
|
|
2916
|
+
* Successfully created a new organization.
|
|
2721
2917
|
*/
|
|
2722
|
-
200:
|
|
2918
|
+
200: unknown;
|
|
2723
2919
|
};
|
|
2724
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2725
2920
|
//# sourceMappingURL=types.gen.d.ts.map
|