@cloudfleet/sdk 0.0.1-8116a0a → 0.0.1-825c2c1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@tanstack/react-query.gen.d.ts +1156 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1148 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +113 -98
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +9 -13
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +6 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +10 -12
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +18 -6
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +6 -9
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +1003 -478
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1621 -582
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +137 -20
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +211 -149
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +942 -322
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1041 -1937
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +505 -1075
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -6
package/dist/types.gen.d.ts
CHANGED
|
@@ -39,13 +39,9 @@ export type BillingContact = {
|
|
|
39
39
|
*/
|
|
40
40
|
email: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
first_name: string;
|
|
45
|
-
/**
|
|
46
|
-
* Last name of the billing contact person.
|
|
42
|
+
* Name of the billing contact person.
|
|
47
43
|
*/
|
|
48
|
-
|
|
44
|
+
individual_name: string;
|
|
49
45
|
/**
|
|
50
46
|
* Tax ID of the organization.
|
|
51
47
|
*/
|
|
@@ -61,35 +57,31 @@ export type BillingCredits = {
|
|
|
61
57
|
*/
|
|
62
58
|
id?: string;
|
|
63
59
|
/**
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
date_created: string;
|
|
67
|
-
/**
|
|
68
|
-
* Promotional code used by the customer.
|
|
60
|
+
* Type of the promotional code.
|
|
69
61
|
*/
|
|
70
|
-
|
|
62
|
+
type: 'credit' | 'discount';
|
|
71
63
|
/**
|
|
72
|
-
*
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
73
65
|
*/
|
|
74
|
-
|
|
66
|
+
date_start: string;
|
|
75
67
|
/**
|
|
76
|
-
*
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
77
69
|
*/
|
|
78
|
-
|
|
70
|
+
date_end?: string;
|
|
79
71
|
/**
|
|
80
|
-
*
|
|
72
|
+
* Promotional code used by the customer.
|
|
81
73
|
*/
|
|
82
|
-
|
|
74
|
+
code: string;
|
|
83
75
|
/**
|
|
84
|
-
*
|
|
76
|
+
* Description of the promotional code.
|
|
85
77
|
*/
|
|
86
|
-
|
|
78
|
+
description?: string;
|
|
87
79
|
/**
|
|
88
|
-
*
|
|
80
|
+
* Total value of the promotional code.
|
|
89
81
|
*/
|
|
90
|
-
|
|
82
|
+
value_total: number;
|
|
91
83
|
/**
|
|
92
|
-
*
|
|
84
|
+
* Remaining value of the promotional code.
|
|
93
85
|
*/
|
|
94
86
|
value_remaining?: number;
|
|
95
87
|
};
|
|
@@ -177,13 +169,13 @@ export type ClusterCreateInput = {
|
|
|
177
169
|
*/
|
|
178
170
|
tier: 'basic' | 'pro';
|
|
179
171
|
/**
|
|
180
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
172
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
181
173
|
*/
|
|
182
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
183
175
|
/**
|
|
184
176
|
* Version of the kubernetes cluster.
|
|
185
177
|
*/
|
|
186
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
187
179
|
};
|
|
188
180
|
export type ClusterJoinInformation = {
|
|
189
181
|
/**
|
|
@@ -194,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
194
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
195
187
|
*/
|
|
196
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
197
193
|
/**
|
|
198
194
|
* Authentication key for the cluster.
|
|
199
195
|
*/
|
|
@@ -251,13 +247,9 @@ export type Cluster = {
|
|
|
251
247
|
*/
|
|
252
248
|
tier: 'basic' | 'pro';
|
|
253
249
|
/**
|
|
254
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
255
|
-
*/
|
|
256
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
257
|
-
/**
|
|
258
|
-
* Version of the kubernetes cluster.
|
|
250
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
259
251
|
*/
|
|
260
|
-
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
261
253
|
/**
|
|
262
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
263
255
|
*/
|
|
@@ -265,7 +257,7 @@ export type Cluster = {
|
|
|
265
257
|
/**
|
|
266
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
267
259
|
*/
|
|
268
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
269
261
|
endpoint?: string | '';
|
|
270
262
|
/**
|
|
271
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -287,6 +279,10 @@ export type Cluster = {
|
|
|
287
279
|
* Indicates if the cluster is ready to be used.
|
|
288
280
|
*/
|
|
289
281
|
ready?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Version of the kubernetes cluster.
|
|
284
|
+
*/
|
|
285
|
+
version_channel?: string;
|
|
290
286
|
};
|
|
291
287
|
export type ClusterUpdateInput = {
|
|
292
288
|
/**
|
|
@@ -430,396 +426,688 @@ export type Invite = {
|
|
|
430
426
|
};
|
|
431
427
|
export type Invoice = {
|
|
432
428
|
/**
|
|
433
|
-
* Unique identifier of the invoice.
|
|
429
|
+
* Unique identifier of the invoice.
|
|
434
430
|
*/
|
|
435
431
|
id?: string;
|
|
436
|
-
|
|
437
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
438
|
-
*/
|
|
439
|
-
organizationId?: string;
|
|
432
|
+
number?: string;
|
|
440
433
|
/**
|
|
441
434
|
* Status of the invoice
|
|
442
435
|
*/
|
|
443
|
-
status?:
|
|
436
|
+
status?: string;
|
|
444
437
|
/**
|
|
445
438
|
* Total amount of the invoice
|
|
446
439
|
*/
|
|
447
|
-
|
|
440
|
+
total?: number;
|
|
448
441
|
/**
|
|
449
442
|
* Currency of the invoice
|
|
450
443
|
*/
|
|
451
|
-
currency?:
|
|
444
|
+
currency?: string;
|
|
452
445
|
/**
|
|
453
|
-
*
|
|
446
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
454
447
|
*/
|
|
455
|
-
|
|
448
|
+
created: string;
|
|
456
449
|
/**
|
|
457
|
-
*
|
|
450
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
458
451
|
*/
|
|
459
|
-
|
|
452
|
+
period_start: string;
|
|
460
453
|
/**
|
|
461
|
-
*
|
|
454
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
462
455
|
*/
|
|
463
|
-
|
|
456
|
+
period_end: string;
|
|
457
|
+
invoice_pdf?: string;
|
|
458
|
+
};
|
|
459
|
+
export type MarketplaceListingFiles = {
|
|
460
|
+
/**
|
|
461
|
+
* Raw Chart.yaml content from the Helm chart
|
|
462
|
+
*/
|
|
463
|
+
chartYaml?: string;
|
|
464
464
|
/**
|
|
465
|
-
*
|
|
465
|
+
* Raw values.yaml content from the Helm chart
|
|
466
466
|
*/
|
|
467
|
-
|
|
467
|
+
valuesYaml?: string;
|
|
468
468
|
/**
|
|
469
|
-
*
|
|
469
|
+
* JSON schema for values.yaml as a string
|
|
470
470
|
*/
|
|
471
|
-
|
|
471
|
+
valuesSchemaJson?: string;
|
|
472
|
+
};
|
|
473
|
+
export type MarketplaceListing = {
|
|
472
474
|
/**
|
|
473
|
-
*
|
|
475
|
+
* Name of the chart
|
|
474
476
|
*/
|
|
475
|
-
|
|
477
|
+
name: string;
|
|
478
|
+
/**
|
|
479
|
+
* Available versions of the chart
|
|
480
|
+
*/
|
|
481
|
+
versions: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Version channels for the chart
|
|
484
|
+
*/
|
|
485
|
+
version_channels: Array<string>;
|
|
476
486
|
/**
|
|
477
|
-
*
|
|
487
|
+
* Latest version of the chart
|
|
478
488
|
*/
|
|
479
|
-
|
|
489
|
+
latestVersion: string;
|
|
480
490
|
/**
|
|
481
|
-
*
|
|
491
|
+
* Chart metadata
|
|
482
492
|
*/
|
|
483
|
-
|
|
493
|
+
metadata?: {
|
|
484
494
|
/**
|
|
485
|
-
*
|
|
495
|
+
* Chart name from metadata
|
|
486
496
|
*/
|
|
487
|
-
|
|
497
|
+
name: string;
|
|
488
498
|
/**
|
|
489
|
-
*
|
|
499
|
+
* Chart version from metadata
|
|
490
500
|
*/
|
|
491
|
-
|
|
501
|
+
version: string;
|
|
492
502
|
/**
|
|
493
|
-
*
|
|
503
|
+
* Chart description
|
|
494
504
|
*/
|
|
495
|
-
|
|
505
|
+
description?: string;
|
|
496
506
|
/**
|
|
497
|
-
*
|
|
507
|
+
* Application version
|
|
498
508
|
*/
|
|
499
|
-
|
|
509
|
+
appVersion?: string;
|
|
500
510
|
/**
|
|
501
|
-
*
|
|
511
|
+
* Helm API version
|
|
502
512
|
*/
|
|
503
|
-
|
|
513
|
+
apiVersion?: string;
|
|
504
514
|
/**
|
|
505
|
-
*
|
|
515
|
+
* Chart keywords
|
|
506
516
|
*/
|
|
507
|
-
|
|
517
|
+
keywords?: Array<string>;
|
|
508
518
|
/**
|
|
509
|
-
*
|
|
519
|
+
* Chart home URL
|
|
510
520
|
*/
|
|
511
|
-
|
|
521
|
+
home?: string;
|
|
512
522
|
/**
|
|
513
|
-
*
|
|
523
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
514
524
|
*/
|
|
515
|
-
|
|
525
|
+
icon?: string;
|
|
516
526
|
/**
|
|
517
|
-
*
|
|
527
|
+
* Chart source URLs
|
|
518
528
|
*/
|
|
519
|
-
|
|
529
|
+
sources?: Array<string>;
|
|
520
530
|
/**
|
|
521
|
-
*
|
|
531
|
+
* Chart maintainers
|
|
522
532
|
*/
|
|
523
|
-
|
|
533
|
+
maintainers?: Array<{
|
|
534
|
+
/**
|
|
535
|
+
* Maintainer name
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* Maintainer email
|
|
540
|
+
*/
|
|
541
|
+
email?: string;
|
|
542
|
+
}>;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
export type OrganizationCreateInput = {
|
|
546
|
+
/**
|
|
547
|
+
* Email address used for billing as a string.
|
|
548
|
+
*/
|
|
549
|
+
email: string;
|
|
550
|
+
/**
|
|
551
|
+
* First name of the billing contact person.
|
|
552
|
+
*/
|
|
553
|
+
first_name: string;
|
|
554
|
+
/**
|
|
555
|
+
* Last name of the billing contact person.
|
|
556
|
+
*/
|
|
557
|
+
last_name: string;
|
|
558
|
+
/**
|
|
559
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
560
|
+
*/
|
|
561
|
+
company_name: string;
|
|
562
|
+
/**
|
|
563
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
564
|
+
*/
|
|
565
|
+
password: string;
|
|
566
|
+
};
|
|
567
|
+
export type Organization = {
|
|
568
|
+
/**
|
|
569
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
570
|
+
*/
|
|
571
|
+
id: string;
|
|
572
|
+
/**
|
|
573
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
|
+
*/
|
|
575
|
+
name?: string;
|
|
576
|
+
/**
|
|
577
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
578
|
+
*/
|
|
579
|
+
date_created: string;
|
|
580
|
+
/**
|
|
581
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
582
|
+
*/
|
|
583
|
+
quota: {
|
|
524
584
|
/**
|
|
525
|
-
*
|
|
585
|
+
* Maximum number of Basic clusters that can be created.
|
|
526
586
|
*/
|
|
527
|
-
|
|
587
|
+
basic_clusters_max: number;
|
|
528
588
|
/**
|
|
529
|
-
*
|
|
589
|
+
* Available number of Basic clusters that can be created.
|
|
530
590
|
*/
|
|
531
|
-
|
|
591
|
+
basic_clusters_available: number;
|
|
532
592
|
/**
|
|
533
|
-
*
|
|
593
|
+
* Maximum number of Pro clusters that can be created.
|
|
534
594
|
*/
|
|
535
|
-
|
|
595
|
+
pro_clusters_max: number;
|
|
536
596
|
/**
|
|
537
|
-
*
|
|
597
|
+
* Available number of Pro clusters that can be created.
|
|
538
598
|
*/
|
|
539
|
-
|
|
599
|
+
pro_clusters_available: number;
|
|
540
600
|
/**
|
|
541
|
-
*
|
|
601
|
+
* Maximum number of fleets that can be created per cluster.
|
|
542
602
|
*/
|
|
543
|
-
|
|
603
|
+
fleets_max: number;
|
|
544
604
|
/**
|
|
545
|
-
*
|
|
605
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
546
606
|
*/
|
|
547
|
-
|
|
607
|
+
cluster_tiers: Array<string>;
|
|
548
608
|
/**
|
|
549
|
-
*
|
|
609
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
550
610
|
*/
|
|
551
|
-
|
|
611
|
+
regions: Array<string>;
|
|
552
612
|
/**
|
|
553
|
-
*
|
|
613
|
+
* List of CFKE control plane versions available for the organization.
|
|
554
614
|
*/
|
|
555
|
-
|
|
615
|
+
versions: Array<{
|
|
616
|
+
/**
|
|
617
|
+
* Id of the control plane version. Used in API calls.
|
|
618
|
+
*/
|
|
619
|
+
id: string;
|
|
620
|
+
/**
|
|
621
|
+
* Label of the control plane version. Used in frontent UI.
|
|
622
|
+
*/
|
|
623
|
+
label: string;
|
|
624
|
+
}>;
|
|
556
625
|
/**
|
|
557
|
-
*
|
|
626
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
558
627
|
*/
|
|
559
|
-
|
|
628
|
+
cfcr_storage_gb: number;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
632
|
+
*/
|
|
633
|
+
status: 'active' | 'closed' | 'suspended';
|
|
634
|
+
};
|
|
635
|
+
export type PaymentMethod = {
|
|
636
|
+
/**
|
|
637
|
+
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
638
|
+
*/
|
|
639
|
+
id: string;
|
|
640
|
+
/**
|
|
641
|
+
* Whether organization payment method was set up and ready to use for payments.
|
|
642
|
+
*/
|
|
643
|
+
setup: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* Payment method type type. Only `card` payments supported at the moment.
|
|
646
|
+
*/
|
|
647
|
+
type: 'card';
|
|
648
|
+
/**
|
|
649
|
+
* Last 4 digits of the payment card number.
|
|
650
|
+
*/
|
|
651
|
+
last4: string;
|
|
652
|
+
/**
|
|
653
|
+
* Two-digit number representing the card's expiration month.
|
|
654
|
+
*/
|
|
655
|
+
exp_month: number;
|
|
656
|
+
/**
|
|
657
|
+
* Four-digit number representing the card's expiration year.
|
|
658
|
+
*/
|
|
659
|
+
exp_year: number;
|
|
660
|
+
/**
|
|
661
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
662
|
+
*/
|
|
663
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
664
|
+
};
|
|
665
|
+
export type PlatformQuota = {
|
|
666
|
+
/**
|
|
667
|
+
* Maximum number of Basic clusters that can be created.
|
|
668
|
+
*/
|
|
669
|
+
basic_clusters_max: number;
|
|
670
|
+
/**
|
|
671
|
+
* Available number of Basic clusters that can be created.
|
|
672
|
+
*/
|
|
673
|
+
basic_clusters_available: number;
|
|
674
|
+
/**
|
|
675
|
+
* Maximum number of Pro clusters that can be created.
|
|
676
|
+
*/
|
|
677
|
+
pro_clusters_max: number;
|
|
678
|
+
/**
|
|
679
|
+
* Available number of Pro clusters that can be created.
|
|
680
|
+
*/
|
|
681
|
+
pro_clusters_available: number;
|
|
682
|
+
/**
|
|
683
|
+
* Maximum number of fleets that can be created per cluster.
|
|
684
|
+
*/
|
|
685
|
+
fleets_max: number;
|
|
686
|
+
/**
|
|
687
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
688
|
+
*/
|
|
689
|
+
cluster_tiers: Array<string>;
|
|
690
|
+
/**
|
|
691
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
692
|
+
*/
|
|
693
|
+
regions: Array<string>;
|
|
694
|
+
/**
|
|
695
|
+
* List of CFKE control plane versions available for the organization.
|
|
696
|
+
*/
|
|
697
|
+
versions: Array<{
|
|
560
698
|
/**
|
|
561
|
-
*
|
|
699
|
+
* Id of the control plane version. Used in API calls.
|
|
562
700
|
*/
|
|
563
|
-
|
|
701
|
+
id: string;
|
|
564
702
|
/**
|
|
565
|
-
*
|
|
703
|
+
* Label of the control plane version. Used in frontent UI.
|
|
566
704
|
*/
|
|
567
|
-
|
|
568
|
-
[key: string]: unknown;
|
|
569
|
-
} | string>;
|
|
705
|
+
label: string;
|
|
570
706
|
}>;
|
|
571
707
|
/**
|
|
572
|
-
*
|
|
708
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
573
709
|
*/
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
710
|
+
cfcr_storage_gb: number;
|
|
711
|
+
};
|
|
712
|
+
export type RegistryRepository = {
|
|
713
|
+
/**
|
|
714
|
+
* Repository name.
|
|
715
|
+
*/
|
|
716
|
+
name: string;
|
|
717
|
+
/**
|
|
718
|
+
* Registry region.
|
|
719
|
+
*/
|
|
720
|
+
region: string;
|
|
721
|
+
/**
|
|
722
|
+
* Full URI of the repository.
|
|
723
|
+
*/
|
|
724
|
+
uri: string;
|
|
725
|
+
};
|
|
726
|
+
export type RegistryRepositoryWithTags = {
|
|
727
|
+
/**
|
|
728
|
+
* Repository name.
|
|
729
|
+
*/
|
|
730
|
+
name: string;
|
|
731
|
+
/**
|
|
732
|
+
* Registry region.
|
|
733
|
+
*/
|
|
734
|
+
region: string;
|
|
735
|
+
/**
|
|
736
|
+
* Full URI of the repository.
|
|
737
|
+
*/
|
|
738
|
+
uri: string;
|
|
739
|
+
/**
|
|
740
|
+
* Array of tags in the repository.
|
|
741
|
+
*/
|
|
742
|
+
tags: Array<{
|
|
583
743
|
/**
|
|
584
|
-
*
|
|
744
|
+
* Tag name.
|
|
585
745
|
*/
|
|
586
|
-
|
|
746
|
+
name: string;
|
|
587
747
|
/**
|
|
588
|
-
*
|
|
748
|
+
* Size of the tag in bytes.
|
|
589
749
|
*/
|
|
590
|
-
|
|
750
|
+
size: number;
|
|
591
751
|
/**
|
|
592
|
-
*
|
|
752
|
+
* Media type of the manifest.
|
|
593
753
|
*/
|
|
594
|
-
|
|
754
|
+
mediaType?: string;
|
|
595
755
|
/**
|
|
596
|
-
*
|
|
756
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
597
757
|
*/
|
|
598
|
-
|
|
758
|
+
platforms?: Array<string>;
|
|
759
|
+
}>;
|
|
760
|
+
/**
|
|
761
|
+
* Total size of all tags in the repository in bytes.
|
|
762
|
+
*/
|
|
763
|
+
totalSize: number;
|
|
764
|
+
};
|
|
765
|
+
export type RegistryTag = {
|
|
766
|
+
/**
|
|
767
|
+
* Tag name.
|
|
768
|
+
*/
|
|
769
|
+
name: string;
|
|
770
|
+
/**
|
|
771
|
+
* Manifest digest for pulling by digest.
|
|
772
|
+
*/
|
|
773
|
+
digest: string;
|
|
774
|
+
/**
|
|
775
|
+
* Media type of the manifest.
|
|
776
|
+
*/
|
|
777
|
+
mediaType?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Manifest config metadata.
|
|
780
|
+
*/
|
|
781
|
+
config?: {
|
|
599
782
|
/**
|
|
600
|
-
*
|
|
783
|
+
* Size of the config in bytes.
|
|
601
784
|
*/
|
|
602
|
-
|
|
785
|
+
size: number;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* Array of layer metadata.
|
|
789
|
+
*/
|
|
790
|
+
layers?: Array<{
|
|
603
791
|
/**
|
|
604
|
-
*
|
|
792
|
+
* Digest of the layer.
|
|
605
793
|
*/
|
|
606
|
-
|
|
794
|
+
digest?: string;
|
|
607
795
|
/**
|
|
608
|
-
*
|
|
796
|
+
* Size of the layer in bytes.
|
|
609
797
|
*/
|
|
610
|
-
|
|
798
|
+
size: number;
|
|
799
|
+
}>;
|
|
800
|
+
/**
|
|
801
|
+
* Array of manifests for multi-arch images.
|
|
802
|
+
*/
|
|
803
|
+
manifests?: Array<{
|
|
611
804
|
/**
|
|
612
|
-
*
|
|
805
|
+
* Digest of the manifest.
|
|
613
806
|
*/
|
|
614
|
-
|
|
807
|
+
digest: string;
|
|
615
808
|
/**
|
|
616
|
-
*
|
|
809
|
+
* Platform information for the manifest.
|
|
617
810
|
*/
|
|
618
|
-
|
|
811
|
+
platform?: {
|
|
812
|
+
/**
|
|
813
|
+
* Architecture of the platform.
|
|
814
|
+
*/
|
|
815
|
+
architecture: string;
|
|
816
|
+
/**
|
|
817
|
+
* Operating system of the platform.
|
|
818
|
+
*/
|
|
819
|
+
os: string;
|
|
820
|
+
/**
|
|
821
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
822
|
+
*/
|
|
823
|
+
variant?: string;
|
|
824
|
+
};
|
|
619
825
|
/**
|
|
620
|
-
*
|
|
826
|
+
* Layers for this platform.
|
|
621
827
|
*/
|
|
622
|
-
|
|
828
|
+
layers?: Array<{
|
|
829
|
+
/**
|
|
830
|
+
* Digest of the layer.
|
|
831
|
+
*/
|
|
832
|
+
digest?: string;
|
|
833
|
+
/**
|
|
834
|
+
* Size of the layer in bytes.
|
|
835
|
+
*/
|
|
836
|
+
size: number;
|
|
837
|
+
}>;
|
|
623
838
|
/**
|
|
624
|
-
*
|
|
839
|
+
* Total size of this platform manifest in bytes.
|
|
625
840
|
*/
|
|
626
|
-
|
|
841
|
+
size?: number;
|
|
842
|
+
}>;
|
|
843
|
+
/**
|
|
844
|
+
* Total size of the tag in bytes.
|
|
845
|
+
*/
|
|
846
|
+
size: number;
|
|
847
|
+
/**
|
|
848
|
+
* Registry region.
|
|
849
|
+
*/
|
|
850
|
+
region: string;
|
|
851
|
+
/**
|
|
852
|
+
* Repository name.
|
|
853
|
+
*/
|
|
854
|
+
repository: string;
|
|
855
|
+
/**
|
|
856
|
+
* Full URI of the tag.
|
|
857
|
+
*/
|
|
858
|
+
uri: string;
|
|
859
|
+
};
|
|
860
|
+
export type TicketAttachment = {
|
|
861
|
+
/**
|
|
862
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
863
|
+
*/
|
|
864
|
+
id: string;
|
|
865
|
+
/**
|
|
866
|
+
* Original filename as uploaded.
|
|
867
|
+
*/
|
|
868
|
+
filename: string;
|
|
869
|
+
/**
|
|
870
|
+
* MIME content type of the attachment.
|
|
871
|
+
*/
|
|
872
|
+
content_type: string;
|
|
873
|
+
/**
|
|
874
|
+
* Size of the attachment in bytes.
|
|
875
|
+
*/
|
|
876
|
+
size: number;
|
|
877
|
+
};
|
|
878
|
+
export type TicketCreateInput = {
|
|
879
|
+
/**
|
|
880
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
881
|
+
*/
|
|
882
|
+
category: 'billing' | 'technical' | 'general';
|
|
883
|
+
/**
|
|
884
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
885
|
+
*/
|
|
886
|
+
body: string;
|
|
887
|
+
/**
|
|
888
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
889
|
+
*/
|
|
890
|
+
properties?: {
|
|
891
|
+
[key: string]: unknown;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
export type TicketListResponse = {
|
|
895
|
+
/**
|
|
896
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
897
|
+
*/
|
|
898
|
+
items: Array<{
|
|
627
899
|
/**
|
|
628
|
-
*
|
|
900
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
629
901
|
*/
|
|
630
|
-
|
|
902
|
+
id: string;
|
|
631
903
|
/**
|
|
632
|
-
*
|
|
904
|
+
* Current state of the ticket.
|
|
633
905
|
*/
|
|
634
|
-
|
|
906
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
635
907
|
/**
|
|
636
|
-
*
|
|
908
|
+
* Ticket category.
|
|
637
909
|
*/
|
|
638
|
-
|
|
910
|
+
category: 'billing' | 'technical' | 'general';
|
|
639
911
|
/**
|
|
640
|
-
*
|
|
912
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
641
913
|
*/
|
|
642
|
-
|
|
914
|
+
summary: string;
|
|
643
915
|
/**
|
|
644
|
-
*
|
|
916
|
+
* Closure timestamp. Null while the ticket is open.
|
|
645
917
|
*/
|
|
646
|
-
|
|
918
|
+
closed_at?: string;
|
|
647
919
|
/**
|
|
648
|
-
*
|
|
920
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
649
921
|
*/
|
|
650
|
-
|
|
922
|
+
date_created: string;
|
|
651
923
|
/**
|
|
652
|
-
*
|
|
924
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
653
925
|
*/
|
|
654
|
-
|
|
926
|
+
date_updated: string;
|
|
655
927
|
/**
|
|
656
|
-
*
|
|
928
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
657
929
|
*/
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
930
|
+
messages?: Array<{
|
|
931
|
+
/**
|
|
932
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
933
|
+
*/
|
|
934
|
+
id: string;
|
|
935
|
+
/**
|
|
936
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
937
|
+
*/
|
|
938
|
+
type: 'customer_reply' | 'agent_reply';
|
|
939
|
+
/**
|
|
940
|
+
* Message body in markdown.
|
|
941
|
+
*/
|
|
942
|
+
body: string;
|
|
943
|
+
/**
|
|
944
|
+
* First name of the author. Null when not provided.
|
|
945
|
+
*/
|
|
946
|
+
author_first_name?: string;
|
|
947
|
+
/**
|
|
948
|
+
* Last name of the author. Null when not provided.
|
|
949
|
+
*/
|
|
950
|
+
author_last_name?: string;
|
|
951
|
+
/**
|
|
952
|
+
* Attachments associated with this message.
|
|
953
|
+
*/
|
|
954
|
+
attachments?: Array<{
|
|
955
|
+
/**
|
|
956
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
957
|
+
*/
|
|
958
|
+
id: string;
|
|
959
|
+
/**
|
|
960
|
+
* Original filename as uploaded.
|
|
961
|
+
*/
|
|
962
|
+
filename: string;
|
|
963
|
+
/**
|
|
964
|
+
* MIME content type of the attachment.
|
|
965
|
+
*/
|
|
966
|
+
content_type: string;
|
|
967
|
+
/**
|
|
968
|
+
* Size of the attachment in bytes.
|
|
969
|
+
*/
|
|
970
|
+
size: number;
|
|
971
|
+
}>;
|
|
972
|
+
/**
|
|
973
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
974
|
+
*/
|
|
975
|
+
date_created: string;
|
|
976
|
+
}>;
|
|
661
977
|
}>;
|
|
662
978
|
};
|
|
663
|
-
export type
|
|
979
|
+
export type TicketMessageInput = {
|
|
664
980
|
/**
|
|
665
|
-
*
|
|
981
|
+
* Reply body in markdown.
|
|
666
982
|
*/
|
|
667
|
-
|
|
983
|
+
body: string;
|
|
984
|
+
};
|
|
985
|
+
export type TicketMessage = {
|
|
668
986
|
/**
|
|
669
|
-
*
|
|
987
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
670
988
|
*/
|
|
671
|
-
|
|
989
|
+
id: string;
|
|
672
990
|
/**
|
|
673
|
-
*
|
|
991
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
674
992
|
*/
|
|
675
|
-
|
|
993
|
+
type: 'customer_reply' | 'agent_reply';
|
|
676
994
|
/**
|
|
677
|
-
*
|
|
995
|
+
* Message body in markdown.
|
|
678
996
|
*/
|
|
679
|
-
|
|
997
|
+
body: string;
|
|
680
998
|
/**
|
|
681
|
-
*
|
|
999
|
+
* First name of the author. Null when not provided.
|
|
682
1000
|
*/
|
|
683
|
-
|
|
1001
|
+
author_first_name?: string;
|
|
684
1002
|
/**
|
|
685
|
-
*
|
|
1003
|
+
* Last name of the author. Null when not provided.
|
|
686
1004
|
*/
|
|
687
|
-
|
|
1005
|
+
author_last_name?: string;
|
|
688
1006
|
/**
|
|
689
|
-
*
|
|
1007
|
+
* Attachments associated with this message.
|
|
690
1008
|
*/
|
|
691
|
-
|
|
692
|
-
version_channels: Array<string>;
|
|
693
|
-
value_schemas: Array<{
|
|
1009
|
+
attachments?: Array<{
|
|
694
1010
|
/**
|
|
695
|
-
*
|
|
1011
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
696
1012
|
*/
|
|
697
|
-
|
|
1013
|
+
id: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Original filename as uploaded.
|
|
1016
|
+
*/
|
|
1017
|
+
filename: string;
|
|
698
1018
|
/**
|
|
699
|
-
*
|
|
1019
|
+
* MIME content type of the attachment.
|
|
700
1020
|
*/
|
|
701
|
-
|
|
1021
|
+
content_type: string;
|
|
702
1022
|
/**
|
|
703
|
-
*
|
|
1023
|
+
* Size of the attachment in bytes.
|
|
704
1024
|
*/
|
|
705
|
-
|
|
1025
|
+
size: number;
|
|
706
1026
|
}>;
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
709
1027
|
/**
|
|
710
|
-
*
|
|
1028
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
711
1029
|
*/
|
|
712
|
-
|
|
1030
|
+
date_created: string;
|
|
1031
|
+
};
|
|
1032
|
+
export type Ticket = {
|
|
713
1033
|
/**
|
|
714
|
-
*
|
|
1034
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
715
1035
|
*/
|
|
716
|
-
|
|
1036
|
+
id: string;
|
|
717
1037
|
/**
|
|
718
|
-
*
|
|
1038
|
+
* Current state of the ticket.
|
|
719
1039
|
*/
|
|
720
|
-
|
|
1040
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
721
1041
|
/**
|
|
722
|
-
*
|
|
1042
|
+
* Ticket category.
|
|
723
1043
|
*/
|
|
724
|
-
|
|
1044
|
+
category: 'billing' | 'technical' | 'general';
|
|
725
1045
|
/**
|
|
726
|
-
*
|
|
1046
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
727
1047
|
*/
|
|
728
|
-
|
|
729
|
-
};
|
|
730
|
-
export type Organization = {
|
|
1048
|
+
summary: string;
|
|
731
1049
|
/**
|
|
732
|
-
*
|
|
1050
|
+
* Closure timestamp. Null while the ticket is open.
|
|
733
1051
|
*/
|
|
734
|
-
|
|
1052
|
+
closed_at?: string;
|
|
735
1053
|
/**
|
|
736
|
-
*
|
|
1054
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
737
1055
|
*/
|
|
738
|
-
|
|
1056
|
+
date_created: string;
|
|
739
1057
|
/**
|
|
740
|
-
*
|
|
1058
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
741
1059
|
*/
|
|
742
|
-
|
|
1060
|
+
date_updated: string;
|
|
743
1061
|
/**
|
|
744
|
-
*
|
|
1062
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
745
1063
|
*/
|
|
746
|
-
|
|
1064
|
+
messages?: Array<{
|
|
747
1065
|
/**
|
|
748
|
-
*
|
|
1066
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
749
1067
|
*/
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* Available number of Basic clusters that can be created.
|
|
753
|
-
*/
|
|
754
|
-
basic_clusters_available: number;
|
|
755
|
-
/**
|
|
756
|
-
* Maximum number of Pro clusters that can be created.
|
|
757
|
-
*/
|
|
758
|
-
pro_clusters_max: number;
|
|
1068
|
+
id: string;
|
|
759
1069
|
/**
|
|
760
|
-
*
|
|
1070
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
761
1071
|
*/
|
|
762
|
-
|
|
1072
|
+
type: 'customer_reply' | 'agent_reply';
|
|
763
1073
|
/**
|
|
764
|
-
*
|
|
1074
|
+
* Message body in markdown.
|
|
765
1075
|
*/
|
|
766
|
-
|
|
1076
|
+
body: string;
|
|
767
1077
|
/**
|
|
768
|
-
*
|
|
1078
|
+
* First name of the author. Null when not provided.
|
|
769
1079
|
*/
|
|
770
|
-
|
|
1080
|
+
author_first_name?: string;
|
|
771
1081
|
/**
|
|
772
|
-
*
|
|
1082
|
+
* Last name of the author. Null when not provided.
|
|
773
1083
|
*/
|
|
774
|
-
|
|
1084
|
+
author_last_name?: string;
|
|
775
1085
|
/**
|
|
776
|
-
*
|
|
1086
|
+
* Attachments associated with this message.
|
|
777
1087
|
*/
|
|
778
|
-
|
|
1088
|
+
attachments?: Array<{
|
|
779
1089
|
/**
|
|
780
|
-
*
|
|
1090
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
781
1091
|
*/
|
|
782
1092
|
id: string;
|
|
783
1093
|
/**
|
|
784
|
-
*
|
|
1094
|
+
* Original filename as uploaded.
|
|
785
1095
|
*/
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
*/
|
|
802
|
-
setup: boolean;
|
|
803
|
-
/**
|
|
804
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
805
|
-
*/
|
|
806
|
-
type: 'card';
|
|
807
|
-
/**
|
|
808
|
-
* Last 4 digits of the payment card number.
|
|
809
|
-
*/
|
|
810
|
-
last4: string;
|
|
811
|
-
/**
|
|
812
|
-
* Two-digit number representing the card's expiration month.
|
|
813
|
-
*/
|
|
814
|
-
exp_month: number;
|
|
815
|
-
/**
|
|
816
|
-
* Four-digit number representing the card's expiration year.
|
|
817
|
-
*/
|
|
818
|
-
exp_year: number;
|
|
819
|
-
/**
|
|
820
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
821
|
-
*/
|
|
822
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1096
|
+
filename: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* MIME content type of the attachment.
|
|
1099
|
+
*/
|
|
1100
|
+
content_type: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* Size of the attachment in bytes.
|
|
1103
|
+
*/
|
|
1104
|
+
size: number;
|
|
1105
|
+
}>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1108
|
+
*/
|
|
1109
|
+
date_created: string;
|
|
1110
|
+
}>;
|
|
823
1111
|
};
|
|
824
1112
|
export type TokenCreateInput = {
|
|
825
1113
|
/**
|
|
@@ -863,35 +1151,85 @@ export type TokenUpdateInput = {
|
|
|
863
1151
|
*/
|
|
864
1152
|
role?: 'Administrator' | 'User';
|
|
865
1153
|
};
|
|
1154
|
+
export type UsageFacets = {
|
|
1155
|
+
/**
|
|
1156
|
+
* List of unique cluster IDs
|
|
1157
|
+
*/
|
|
1158
|
+
cluster_id?: Array<string>;
|
|
1159
|
+
/**
|
|
1160
|
+
* List of unique products
|
|
1161
|
+
*/
|
|
1162
|
+
product?: Array<string>;
|
|
1163
|
+
};
|
|
1164
|
+
export type UsageResponse = {
|
|
1165
|
+
/**
|
|
1166
|
+
* Usage data
|
|
1167
|
+
*/
|
|
1168
|
+
data: Array<{
|
|
1169
|
+
/**
|
|
1170
|
+
* Hour of the usage
|
|
1171
|
+
*/
|
|
1172
|
+
hour: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1175
|
+
*/
|
|
1176
|
+
cluster_id: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* The product the usage is associated with
|
|
1179
|
+
*/
|
|
1180
|
+
product: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Consumption
|
|
1183
|
+
*/
|
|
1184
|
+
value: number;
|
|
1185
|
+
/**
|
|
1186
|
+
* Price per unit
|
|
1187
|
+
*/
|
|
1188
|
+
price: number;
|
|
1189
|
+
/**
|
|
1190
|
+
* Total cost
|
|
1191
|
+
*/
|
|
1192
|
+
total: number;
|
|
1193
|
+
}>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Facets for filtering
|
|
1196
|
+
*/
|
|
1197
|
+
facets: {
|
|
1198
|
+
/**
|
|
1199
|
+
* List of unique cluster IDs
|
|
1200
|
+
*/
|
|
1201
|
+
cluster_id?: Array<string>;
|
|
1202
|
+
/**
|
|
1203
|
+
* List of unique products
|
|
1204
|
+
*/
|
|
1205
|
+
product?: Array<string>;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
866
1208
|
export type Usage = {
|
|
867
1209
|
/**
|
|
868
1210
|
* Hour of the usage
|
|
869
1211
|
*/
|
|
870
|
-
hour
|
|
1212
|
+
hour: string;
|
|
871
1213
|
/**
|
|
872
1214
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
873
1215
|
*/
|
|
874
1216
|
cluster_id: string;
|
|
875
1217
|
/**
|
|
876
|
-
*
|
|
1218
|
+
* The product the usage is associated with
|
|
877
1219
|
*/
|
|
878
|
-
|
|
1220
|
+
product: string;
|
|
879
1221
|
/**
|
|
880
|
-
*
|
|
1222
|
+
* Consumption
|
|
881
1223
|
*/
|
|
882
|
-
|
|
1224
|
+
value: number;
|
|
883
1225
|
/**
|
|
884
|
-
*
|
|
1226
|
+
* Price per unit
|
|
885
1227
|
*/
|
|
886
|
-
|
|
1228
|
+
price: number;
|
|
887
1229
|
/**
|
|
888
|
-
*
|
|
1230
|
+
* Total cost
|
|
889
1231
|
*/
|
|
890
|
-
|
|
891
|
-
cpu: number | '';
|
|
892
|
-
price: number | '';
|
|
893
|
-
value: number | '';
|
|
894
|
-
total: number | '';
|
|
1232
|
+
total: number;
|
|
895
1233
|
};
|
|
896
1234
|
export type UserCreateInput = {
|
|
897
1235
|
/**
|
|
@@ -978,7 +1316,12 @@ export type UserUpdateInput = {
|
|
|
978
1316
|
export type GetUsageData = {
|
|
979
1317
|
body?: never;
|
|
980
1318
|
path?: never;
|
|
981
|
-
query?:
|
|
1319
|
+
query?: {
|
|
1320
|
+
/**
|
|
1321
|
+
* 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)
|
|
1322
|
+
*/
|
|
1323
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1324
|
+
};
|
|
982
1325
|
url: '/billing/usage';
|
|
983
1326
|
};
|
|
984
1327
|
export type GetUsageErrors = {
|
|
@@ -989,24 +1332,11 @@ export type GetUsageErrors = {
|
|
|
989
1332
|
};
|
|
990
1333
|
export type GetUsageResponses = {
|
|
991
1334
|
/**
|
|
992
|
-
*
|
|
1335
|
+
* Usage data with facets for filtering
|
|
993
1336
|
*/
|
|
994
|
-
200:
|
|
1337
|
+
200: UsageResponse;
|
|
995
1338
|
};
|
|
996
1339
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
997
|
-
export type GetBalanceData = {
|
|
998
|
-
body?: never;
|
|
999
|
-
path?: never;
|
|
1000
|
-
query?: never;
|
|
1001
|
-
url: '/billing/balance';
|
|
1002
|
-
};
|
|
1003
|
-
export type GetBalanceResponses = {
|
|
1004
|
-
/**
|
|
1005
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1006
|
-
*/
|
|
1007
|
-
200: number;
|
|
1008
|
-
};
|
|
1009
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1010
1340
|
export type GetPaymentMethodData = {
|
|
1011
1341
|
body?: never;
|
|
1012
1342
|
path?: never;
|
|
@@ -1048,16 +1378,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1048
1378
|
export type ListInvoicesData = {
|
|
1049
1379
|
body?: never;
|
|
1050
1380
|
path?: never;
|
|
1051
|
-
query
|
|
1052
|
-
/**
|
|
1053
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1054
|
-
*/
|
|
1055
|
-
start_date: string;
|
|
1056
|
-
/**
|
|
1057
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1058
|
-
*/
|
|
1059
|
-
end_date: string;
|
|
1060
|
-
};
|
|
1381
|
+
query?: never;
|
|
1061
1382
|
url: '/billing/invoices';
|
|
1062
1383
|
};
|
|
1063
1384
|
export type ListInvoicesErrors = {
|
|
@@ -1073,26 +1394,6 @@ export type ListInvoicesResponses = {
|
|
|
1073
1394
|
200: Array<Invoice>;
|
|
1074
1395
|
};
|
|
1075
1396
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1076
|
-
export type GetInvoiceData = {
|
|
1077
|
-
body?: never;
|
|
1078
|
-
path: {
|
|
1079
|
-
/**
|
|
1080
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1081
|
-
*/
|
|
1082
|
-
id: string;
|
|
1083
|
-
};
|
|
1084
|
-
query?: never;
|
|
1085
|
-
url: '/billing/invoices/{id}';
|
|
1086
|
-
};
|
|
1087
|
-
export type GetInvoiceResponses = {
|
|
1088
|
-
/**
|
|
1089
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1090
|
-
*/
|
|
1091
|
-
200: {
|
|
1092
|
-
html?: string;
|
|
1093
|
-
};
|
|
1094
|
-
};
|
|
1095
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1096
1397
|
export type GetContactData = {
|
|
1097
1398
|
body?: never;
|
|
1098
1399
|
path?: never;
|
|
@@ -1507,6 +1808,30 @@ export type UpdateClusterResponses = {
|
|
|
1507
1808
|
200: Cluster;
|
|
1508
1809
|
};
|
|
1509
1810
|
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1811
|
+
export type GetClusterCaData = {
|
|
1812
|
+
body?: never;
|
|
1813
|
+
path: {
|
|
1814
|
+
/**
|
|
1815
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1816
|
+
*/
|
|
1817
|
+
cluster_id: string;
|
|
1818
|
+
};
|
|
1819
|
+
query?: never;
|
|
1820
|
+
url: '/clusters/{cluster_id}/ca';
|
|
1821
|
+
};
|
|
1822
|
+
export type GetClusterCaErrors = {
|
|
1823
|
+
/**
|
|
1824
|
+
* Cluster not found, or its certificate authority is not available yet.
|
|
1825
|
+
*/
|
|
1826
|
+
404: unknown;
|
|
1827
|
+
};
|
|
1828
|
+
export type GetClusterCaResponses = {
|
|
1829
|
+
/**
|
|
1830
|
+
* PEM-encoded certificate authority of the cluster.
|
|
1831
|
+
*/
|
|
1832
|
+
200: string;
|
|
1833
|
+
};
|
|
1834
|
+
export type GetClusterCaResponse = GetClusterCaResponses[keyof GetClusterCaResponses];
|
|
1510
1835
|
export type GetJoinInformationData = {
|
|
1511
1836
|
body?: never;
|
|
1512
1837
|
path: {
|
|
@@ -1622,24 +1947,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1622
1947
|
200: Array<MarketplaceListing>;
|
|
1623
1948
|
};
|
|
1624
1949
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1625
|
-
export type
|
|
1950
|
+
export type GetMarketplaceChartFilesData = {
|
|
1626
1951
|
body?: never;
|
|
1627
1952
|
path: {
|
|
1628
1953
|
/**
|
|
1629
|
-
*
|
|
1954
|
+
* Name of the chart in the marketplace.
|
|
1955
|
+
*/
|
|
1956
|
+
chart_name: string;
|
|
1957
|
+
/**
|
|
1958
|
+
* 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).
|
|
1959
|
+
*/
|
|
1960
|
+
version_channel: string;
|
|
1961
|
+
};
|
|
1962
|
+
query?: never;
|
|
1963
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1964
|
+
};
|
|
1965
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1966
|
+
/**
|
|
1967
|
+
* Chart not found or no version matches the channel
|
|
1968
|
+
*/
|
|
1969
|
+
404: unknown;
|
|
1970
|
+
};
|
|
1971
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1972
|
+
/**
|
|
1973
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1974
|
+
*/
|
|
1975
|
+
200: MarketplaceListingFiles;
|
|
1976
|
+
};
|
|
1977
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1978
|
+
export type PostMcpData = {
|
|
1979
|
+
/**
|
|
1980
|
+
* JSON-RPC 2.0 request payload
|
|
1981
|
+
*/
|
|
1982
|
+
body: {
|
|
1983
|
+
jsonrpc?: string;
|
|
1984
|
+
method?: string;
|
|
1985
|
+
id?: string | number;
|
|
1986
|
+
/**
|
|
1987
|
+
* Method-specific parameters
|
|
1630
1988
|
*/
|
|
1631
|
-
|
|
1989
|
+
params?: {
|
|
1990
|
+
[key: string]: unknown;
|
|
1991
|
+
};
|
|
1632
1992
|
};
|
|
1993
|
+
path?: never;
|
|
1633
1994
|
query?: never;
|
|
1634
|
-
url: '/
|
|
1995
|
+
url: '/mcp';
|
|
1996
|
+
};
|
|
1997
|
+
export type PostMcpErrors = {
|
|
1998
|
+
/**
|
|
1999
|
+
* Not authenticated
|
|
2000
|
+
*/
|
|
2001
|
+
401: unknown;
|
|
1635
2002
|
};
|
|
1636
|
-
export type
|
|
2003
|
+
export type PostMcpResponses = {
|
|
1637
2004
|
/**
|
|
1638
|
-
*
|
|
2005
|
+
* JSON-RPC 2.0 success or error response
|
|
1639
2006
|
*/
|
|
1640
|
-
200:
|
|
2007
|
+
200: {
|
|
2008
|
+
jsonrpc?: string;
|
|
2009
|
+
id?: string | number;
|
|
2010
|
+
result?: {
|
|
2011
|
+
[key: string]: unknown;
|
|
2012
|
+
};
|
|
2013
|
+
error?: {
|
|
2014
|
+
code?: number;
|
|
2015
|
+
message?: string;
|
|
2016
|
+
};
|
|
2017
|
+
};
|
|
1641
2018
|
};
|
|
1642
|
-
export type
|
|
2019
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1643
2020
|
export type GetOrganizationData = {
|
|
1644
2021
|
body?: never;
|
|
1645
2022
|
path?: never;
|
|
@@ -1665,6 +2042,249 @@ export type CreateOrganizationResponses = {
|
|
|
1665
2042
|
*/
|
|
1666
2043
|
200: unknown;
|
|
1667
2044
|
};
|
|
2045
|
+
export type ListRepositoriesData = {
|
|
2046
|
+
body?: never;
|
|
2047
|
+
path?: never;
|
|
2048
|
+
query?: never;
|
|
2049
|
+
url: '/registry';
|
|
2050
|
+
};
|
|
2051
|
+
export type ListRepositoriesErrors = {
|
|
2052
|
+
/**
|
|
2053
|
+
* Not authenticated
|
|
2054
|
+
*/
|
|
2055
|
+
401: unknown;
|
|
2056
|
+
/**
|
|
2057
|
+
* Internal server error
|
|
2058
|
+
*/
|
|
2059
|
+
500: unknown;
|
|
2060
|
+
};
|
|
2061
|
+
export type ListRepositoriesResponses = {
|
|
2062
|
+
/**
|
|
2063
|
+
* List of repositories
|
|
2064
|
+
*/
|
|
2065
|
+
200: Array<RegistryRepository>;
|
|
2066
|
+
};
|
|
2067
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2068
|
+
export type ListTagsData = {
|
|
2069
|
+
body?: never;
|
|
2070
|
+
path: {
|
|
2071
|
+
/**
|
|
2072
|
+
* Region where the repository is located
|
|
2073
|
+
*/
|
|
2074
|
+
region: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Name of the repository
|
|
2077
|
+
*/
|
|
2078
|
+
repository: string;
|
|
2079
|
+
};
|
|
2080
|
+
query?: never;
|
|
2081
|
+
url: '/registry/{region}/{repository}';
|
|
2082
|
+
};
|
|
2083
|
+
export type ListTagsErrors = {
|
|
2084
|
+
/**
|
|
2085
|
+
* Not authenticated
|
|
2086
|
+
*/
|
|
2087
|
+
401: unknown;
|
|
2088
|
+
/**
|
|
2089
|
+
* Repository not found
|
|
2090
|
+
*/
|
|
2091
|
+
404: unknown;
|
|
2092
|
+
/**
|
|
2093
|
+
* Internal server error
|
|
2094
|
+
*/
|
|
2095
|
+
500: unknown;
|
|
2096
|
+
};
|
|
2097
|
+
export type ListTagsResponses = {
|
|
2098
|
+
/**
|
|
2099
|
+
* Repository with tags
|
|
2100
|
+
*/
|
|
2101
|
+
200: RegistryRepositoryWithTags;
|
|
2102
|
+
};
|
|
2103
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2104
|
+
export type DeleteTagData = {
|
|
2105
|
+
body?: never;
|
|
2106
|
+
path: {
|
|
2107
|
+
/**
|
|
2108
|
+
* Region where the repository is located
|
|
2109
|
+
*/
|
|
2110
|
+
region: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* Name of the repository
|
|
2113
|
+
*/
|
|
2114
|
+
repository: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* Name of the tag
|
|
2117
|
+
*/
|
|
2118
|
+
tag: string;
|
|
2119
|
+
};
|
|
2120
|
+
query?: never;
|
|
2121
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2122
|
+
};
|
|
2123
|
+
export type DeleteTagErrors = {
|
|
2124
|
+
/**
|
|
2125
|
+
* Not authenticated
|
|
2126
|
+
*/
|
|
2127
|
+
401: unknown;
|
|
2128
|
+
/**
|
|
2129
|
+
* Tag not found
|
|
2130
|
+
*/
|
|
2131
|
+
404: unknown;
|
|
2132
|
+
/**
|
|
2133
|
+
* Internal server error
|
|
2134
|
+
*/
|
|
2135
|
+
500: unknown;
|
|
2136
|
+
};
|
|
2137
|
+
export type DeleteTagResponses = {
|
|
2138
|
+
/**
|
|
2139
|
+
* Tag successfully deleted
|
|
2140
|
+
*/
|
|
2141
|
+
200: unknown;
|
|
2142
|
+
};
|
|
2143
|
+
export type GetTagData = {
|
|
2144
|
+
body?: never;
|
|
2145
|
+
path: {
|
|
2146
|
+
/**
|
|
2147
|
+
* Region where the repository is located
|
|
2148
|
+
*/
|
|
2149
|
+
region: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Name of the repository
|
|
2152
|
+
*/
|
|
2153
|
+
repository: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* Name of the tag
|
|
2156
|
+
*/
|
|
2157
|
+
tag: string;
|
|
2158
|
+
};
|
|
2159
|
+
query?: never;
|
|
2160
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2161
|
+
};
|
|
2162
|
+
export type GetTagErrors = {
|
|
2163
|
+
/**
|
|
2164
|
+
* Not authenticated
|
|
2165
|
+
*/
|
|
2166
|
+
401: unknown;
|
|
2167
|
+
/**
|
|
2168
|
+
* Tag not found
|
|
2169
|
+
*/
|
|
2170
|
+
404: unknown;
|
|
2171
|
+
/**
|
|
2172
|
+
* Internal server error
|
|
2173
|
+
*/
|
|
2174
|
+
500: unknown;
|
|
2175
|
+
};
|
|
2176
|
+
export type GetTagResponses = {
|
|
2177
|
+
/**
|
|
2178
|
+
* Tag details
|
|
2179
|
+
*/
|
|
2180
|
+
200: RegistryTag;
|
|
2181
|
+
};
|
|
2182
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2183
|
+
export type ListTicketsData = {
|
|
2184
|
+
body?: never;
|
|
2185
|
+
path?: never;
|
|
2186
|
+
query?: never;
|
|
2187
|
+
url: '/tickets';
|
|
2188
|
+
};
|
|
2189
|
+
export type ListTicketsResponses = {
|
|
2190
|
+
/**
|
|
2191
|
+
* Tickets for the organization.
|
|
2192
|
+
*/
|
|
2193
|
+
200: TicketListResponse;
|
|
2194
|
+
};
|
|
2195
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2196
|
+
export type CreateTicketData = {
|
|
2197
|
+
body: {
|
|
2198
|
+
/**
|
|
2199
|
+
* JSON-encoded TicketCreateInput.
|
|
2200
|
+
*/
|
|
2201
|
+
payload?: string;
|
|
2202
|
+
attachments?: Array<Blob | File>;
|
|
2203
|
+
};
|
|
2204
|
+
path?: never;
|
|
2205
|
+
query?: never;
|
|
2206
|
+
url: '/tickets';
|
|
2207
|
+
};
|
|
2208
|
+
export type CreateTicketResponses = {
|
|
2209
|
+
/**
|
|
2210
|
+
* Ticket created.
|
|
2211
|
+
*/
|
|
2212
|
+
200: Ticket;
|
|
2213
|
+
};
|
|
2214
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2215
|
+
export type CloseTicketData = {
|
|
2216
|
+
body?: never;
|
|
2217
|
+
path: {
|
|
2218
|
+
ticket_id: string;
|
|
2219
|
+
};
|
|
2220
|
+
query?: never;
|
|
2221
|
+
url: '/tickets/{ticket_id}';
|
|
2222
|
+
};
|
|
2223
|
+
export type CloseTicketResponses = {
|
|
2224
|
+
/**
|
|
2225
|
+
* Ticket closed.
|
|
2226
|
+
*/
|
|
2227
|
+
200: Ticket;
|
|
2228
|
+
};
|
|
2229
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2230
|
+
export type GetTicketData = {
|
|
2231
|
+
body?: never;
|
|
2232
|
+
path: {
|
|
2233
|
+
ticket_id: string;
|
|
2234
|
+
};
|
|
2235
|
+
query?: never;
|
|
2236
|
+
url: '/tickets/{ticket_id}';
|
|
2237
|
+
};
|
|
2238
|
+
export type GetTicketResponses = {
|
|
2239
|
+
/**
|
|
2240
|
+
* Ticket with messages (internal notes excluded).
|
|
2241
|
+
*/
|
|
2242
|
+
200: Ticket;
|
|
2243
|
+
};
|
|
2244
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2245
|
+
export type ReplyTicketData = {
|
|
2246
|
+
body: {
|
|
2247
|
+
/**
|
|
2248
|
+
* JSON-encoded TicketMessageInput.
|
|
2249
|
+
*/
|
|
2250
|
+
payload?: string;
|
|
2251
|
+
attachments?: Array<Blob | File>;
|
|
2252
|
+
};
|
|
2253
|
+
path: {
|
|
2254
|
+
ticket_id: string;
|
|
2255
|
+
};
|
|
2256
|
+
query?: never;
|
|
2257
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2258
|
+
};
|
|
2259
|
+
export type ReplyTicketErrors = {
|
|
2260
|
+
/**
|
|
2261
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2262
|
+
*/
|
|
2263
|
+
409: unknown;
|
|
2264
|
+
};
|
|
2265
|
+
export type ReplyTicketResponses = {
|
|
2266
|
+
/**
|
|
2267
|
+
* Reply appended.
|
|
2268
|
+
*/
|
|
2269
|
+
200: TicketMessage;
|
|
2270
|
+
};
|
|
2271
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2272
|
+
export type GetTicketAttachmentData = {
|
|
2273
|
+
body?: never;
|
|
2274
|
+
path: {
|
|
2275
|
+
ticket_id: string;
|
|
2276
|
+
attachment_id: string;
|
|
2277
|
+
};
|
|
2278
|
+
query?: never;
|
|
2279
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2280
|
+
};
|
|
2281
|
+
export type GetTicketAttachmentResponses = {
|
|
2282
|
+
/**
|
|
2283
|
+
* Attachment binary stream.
|
|
2284
|
+
*/
|
|
2285
|
+
200: Blob | File;
|
|
2286
|
+
};
|
|
2287
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1668
2288
|
export type ListTokensData = {
|
|
1669
2289
|
body?: never;
|
|
1670
2290
|
path?: never;
|