@cloudfleet/sdk 0.0.1-6bcee3f → 0.0.1-6d7ad01
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/schemas.gen.d.ts +545 -470
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +564 -508
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +90 -18
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +119 -28
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +528 -322
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +293 -1313
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +209 -691
- package/dist/zod.gen.js.map +1 -1
- package/package.json +4 -4
package/dist/types.gen.d.ts
CHANGED
|
@@ -39,13 +39,9 @@ export type BillingContact = {
|
|
|
39
39
|
*/
|
|
40
40
|
email: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Name of the billing contact person.
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Last name of the billing contact person.
|
|
47
|
-
*/
|
|
48
|
-
last_name: string;
|
|
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
|
-
*
|
|
60
|
+
* Type of the promotional code.
|
|
65
61
|
*/
|
|
66
|
-
|
|
62
|
+
type: 'credit' | 'discount';
|
|
67
63
|
/**
|
|
68
|
-
*
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
69
65
|
*/
|
|
70
|
-
|
|
66
|
+
date_start: string;
|
|
71
67
|
/**
|
|
72
|
-
*
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
73
69
|
*/
|
|
74
|
-
|
|
70
|
+
date_end?: string;
|
|
75
71
|
/**
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
products?: Array<string>;
|
|
79
|
-
/**
|
|
80
|
-
* Type of the promotional code.
|
|
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
|
};
|
|
@@ -183,7 +175,7 @@ export type ClusterCreateInput = {
|
|
|
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
|
/**
|
|
@@ -254,10 +246,6 @@ export type Cluster = {
|
|
|
254
246
|
* 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
247
|
*/
|
|
256
248
|
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
257
|
-
/**
|
|
258
|
-
* Version of the kubernetes cluster.
|
|
259
|
-
*/
|
|
260
|
-
version_channel?: string;
|
|
261
249
|
/**
|
|
262
250
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
263
251
|
*/
|
|
@@ -265,7 +253,7 @@ export type Cluster = {
|
|
|
265
253
|
/**
|
|
266
254
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
267
255
|
*/
|
|
268
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
256
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
269
257
|
endpoint?: string | '';
|
|
270
258
|
/**
|
|
271
259
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -287,6 +275,10 @@ export type Cluster = {
|
|
|
287
275
|
* Indicates if the cluster is ready to be used.
|
|
288
276
|
*/
|
|
289
277
|
ready?: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Version of the kubernetes cluster.
|
|
280
|
+
*/
|
|
281
|
+
version_channel?: string;
|
|
290
282
|
};
|
|
291
283
|
export type ClusterUpdateInput = {
|
|
292
284
|
/**
|
|
@@ -430,280 +422,117 @@ export type Invite = {
|
|
|
430
422
|
};
|
|
431
423
|
export type Invoice = {
|
|
432
424
|
/**
|
|
433
|
-
* Unique identifier of the invoice.
|
|
425
|
+
* Unique identifier of the invoice.
|
|
434
426
|
*/
|
|
435
427
|
id?: string;
|
|
436
|
-
|
|
437
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
438
|
-
*/
|
|
439
|
-
organizationId?: string;
|
|
428
|
+
number?: string;
|
|
440
429
|
/**
|
|
441
430
|
* Status of the invoice
|
|
442
431
|
*/
|
|
443
|
-
status?:
|
|
432
|
+
status?: string;
|
|
444
433
|
/**
|
|
445
434
|
* Total amount of the invoice
|
|
446
435
|
*/
|
|
447
|
-
|
|
436
|
+
total?: number;
|
|
448
437
|
/**
|
|
449
438
|
* Currency of the invoice
|
|
450
439
|
*/
|
|
451
|
-
currency?:
|
|
440
|
+
currency?: string;
|
|
452
441
|
/**
|
|
453
|
-
*
|
|
442
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
454
443
|
*/
|
|
455
|
-
|
|
444
|
+
created: string;
|
|
456
445
|
/**
|
|
457
|
-
*
|
|
446
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
458
447
|
*/
|
|
459
|
-
|
|
448
|
+
period_start: string;
|
|
460
449
|
/**
|
|
461
|
-
*
|
|
450
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
462
451
|
*/
|
|
463
|
-
|
|
452
|
+
period_end: string;
|
|
453
|
+
invoice_pdf?: string;
|
|
454
|
+
};
|
|
455
|
+
export type MarketplaceListingFiles = {
|
|
464
456
|
/**
|
|
465
|
-
*
|
|
457
|
+
* Raw Chart.yaml content from the Helm chart
|
|
466
458
|
*/
|
|
467
|
-
|
|
459
|
+
chartYaml?: string;
|
|
468
460
|
/**
|
|
469
|
-
*
|
|
461
|
+
* Raw values.yaml content from the Helm chart
|
|
470
462
|
*/
|
|
471
|
-
|
|
463
|
+
valuesYaml?: string;
|
|
472
464
|
/**
|
|
473
|
-
*
|
|
465
|
+
* JSON schema for values.yaml as a string
|
|
474
466
|
*/
|
|
475
|
-
|
|
467
|
+
valuesSchemaJson?: string;
|
|
468
|
+
};
|
|
469
|
+
export type MarketplaceListing = {
|
|
476
470
|
/**
|
|
477
|
-
*
|
|
471
|
+
* Name of the chart
|
|
478
472
|
*/
|
|
479
|
-
|
|
473
|
+
name: string;
|
|
480
474
|
/**
|
|
481
|
-
*
|
|
475
|
+
* Available versions of the chart
|
|
482
476
|
*/
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
486
|
-
*/
|
|
487
|
-
id?: string;
|
|
488
|
-
/**
|
|
489
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
490
|
-
*/
|
|
491
|
-
linkedInvoiceItemId?: string;
|
|
492
|
-
/**
|
|
493
|
-
* Name of the product
|
|
494
|
-
*/
|
|
495
|
-
productName?: string;
|
|
496
|
-
/**
|
|
497
|
-
* Name of the plan
|
|
498
|
-
*/
|
|
499
|
-
planName?: string;
|
|
500
|
-
/**
|
|
501
|
-
* Name of the phase
|
|
502
|
-
*/
|
|
503
|
-
phaseName?: string;
|
|
504
|
-
/**
|
|
505
|
-
* Name of the usage
|
|
506
|
-
*/
|
|
507
|
-
usageName?: string;
|
|
508
|
-
/**
|
|
509
|
-
* Pretty name of the product
|
|
510
|
-
*/
|
|
511
|
-
prettyProductName?: string;
|
|
512
|
-
/**
|
|
513
|
-
* Pretty name of the plan
|
|
514
|
-
*/
|
|
515
|
-
prettyPlanName?: string;
|
|
516
|
-
/**
|
|
517
|
-
* Pretty name of the phase
|
|
518
|
-
*/
|
|
519
|
-
prettyPhaseName?: string;
|
|
520
|
-
/**
|
|
521
|
-
* Pretty name of the usage
|
|
522
|
-
*/
|
|
523
|
-
prettyUsageName?: string;
|
|
524
|
-
/**
|
|
525
|
-
* Type of the invoice item
|
|
526
|
-
*/
|
|
527
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
528
|
-
/**
|
|
529
|
-
* Description of the invoice item
|
|
530
|
-
*/
|
|
531
|
-
description?: string;
|
|
532
|
-
/**
|
|
533
|
-
* Start date of the invoice item
|
|
534
|
-
*/
|
|
535
|
-
startDate?: string;
|
|
536
|
-
/**
|
|
537
|
-
* End date of the invoice item
|
|
538
|
-
*/
|
|
539
|
-
endDate?: string;
|
|
540
|
-
/**
|
|
541
|
-
* Amount of the invoice item
|
|
542
|
-
*/
|
|
543
|
-
amount?: number;
|
|
544
|
-
/**
|
|
545
|
-
* Rate of the invoice item
|
|
546
|
-
*/
|
|
547
|
-
rate?: number;
|
|
548
|
-
/**
|
|
549
|
-
* Currency of the invoice item
|
|
550
|
-
*/
|
|
551
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
552
|
-
/**
|
|
553
|
-
* Quantity of the invoice item
|
|
554
|
-
*/
|
|
555
|
-
quantity?: number;
|
|
556
|
-
/**
|
|
557
|
-
* Details of the invoice item
|
|
558
|
-
*/
|
|
559
|
-
itemDetails?: string;
|
|
560
|
-
/**
|
|
561
|
-
* Effective date of the catalog
|
|
562
|
-
*/
|
|
563
|
-
catalogEffectiveDate?: string;
|
|
564
|
-
/**
|
|
565
|
-
* Child items of the invoice item
|
|
566
|
-
*/
|
|
567
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
568
|
-
[key: string]: unknown;
|
|
569
|
-
} | string>;
|
|
570
|
-
}>;
|
|
477
|
+
versions: Array<string>;
|
|
571
478
|
/**
|
|
572
|
-
*
|
|
479
|
+
* Version channels for the chart
|
|
573
480
|
*/
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* Name of the product
|
|
585
|
-
*/
|
|
586
|
-
productName?: string;
|
|
587
|
-
/**
|
|
588
|
-
* Name of the plan
|
|
589
|
-
*/
|
|
590
|
-
planName?: string;
|
|
591
|
-
/**
|
|
592
|
-
* Name of the phase
|
|
593
|
-
*/
|
|
594
|
-
phaseName?: string;
|
|
595
|
-
/**
|
|
596
|
-
* Name of the usage
|
|
597
|
-
*/
|
|
598
|
-
usageName?: string;
|
|
599
|
-
/**
|
|
600
|
-
* Pretty name of the product
|
|
601
|
-
*/
|
|
602
|
-
prettyProductName?: string;
|
|
603
|
-
/**
|
|
604
|
-
* Pretty name of the plan
|
|
605
|
-
*/
|
|
606
|
-
prettyPlanName?: string;
|
|
607
|
-
/**
|
|
608
|
-
* Pretty name of the phase
|
|
609
|
-
*/
|
|
610
|
-
prettyPhaseName?: string;
|
|
481
|
+
version_channels: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Latest version of the chart
|
|
484
|
+
*/
|
|
485
|
+
latestVersion: string;
|
|
486
|
+
/**
|
|
487
|
+
* Chart metadata
|
|
488
|
+
*/
|
|
489
|
+
metadata?: {
|
|
611
490
|
/**
|
|
612
|
-
*
|
|
491
|
+
* Chart name from metadata
|
|
613
492
|
*/
|
|
614
|
-
|
|
493
|
+
name: string;
|
|
615
494
|
/**
|
|
616
|
-
*
|
|
495
|
+
* Chart version from metadata
|
|
617
496
|
*/
|
|
618
|
-
|
|
497
|
+
version: string;
|
|
619
498
|
/**
|
|
620
|
-
*
|
|
499
|
+
* Chart description
|
|
621
500
|
*/
|
|
622
501
|
description?: string;
|
|
623
502
|
/**
|
|
624
|
-
*
|
|
625
|
-
*/
|
|
626
|
-
startDate?: string;
|
|
627
|
-
/**
|
|
628
|
-
* End date of the invoice item
|
|
629
|
-
*/
|
|
630
|
-
endDate?: string;
|
|
631
|
-
/**
|
|
632
|
-
* Amount of the invoice item
|
|
503
|
+
* Application version
|
|
633
504
|
*/
|
|
634
|
-
|
|
505
|
+
appVersion?: string;
|
|
635
506
|
/**
|
|
636
|
-
*
|
|
507
|
+
* Helm API version
|
|
637
508
|
*/
|
|
638
|
-
|
|
509
|
+
apiVersion?: string;
|
|
639
510
|
/**
|
|
640
|
-
*
|
|
511
|
+
* Chart keywords
|
|
641
512
|
*/
|
|
642
|
-
|
|
513
|
+
keywords?: Array<string>;
|
|
643
514
|
/**
|
|
644
|
-
*
|
|
515
|
+
* Chart home URL
|
|
645
516
|
*/
|
|
646
|
-
|
|
517
|
+
home?: string;
|
|
647
518
|
/**
|
|
648
|
-
*
|
|
519
|
+
* Chart source URLs
|
|
649
520
|
*/
|
|
650
|
-
|
|
521
|
+
sources?: Array<string>;
|
|
651
522
|
/**
|
|
652
|
-
*
|
|
523
|
+
* Chart maintainers
|
|
653
524
|
*/
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
* Id of the chart listing
|
|
666
|
-
*/
|
|
667
|
-
id: string;
|
|
668
|
-
/**
|
|
669
|
-
* Name of the chart listing
|
|
670
|
-
*/
|
|
671
|
-
name: string;
|
|
672
|
-
/**
|
|
673
|
-
* Author of the chart listing
|
|
674
|
-
*/
|
|
675
|
-
developer: string;
|
|
676
|
-
/**
|
|
677
|
-
* Short description of the chart listing
|
|
678
|
-
*/
|
|
679
|
-
description: string;
|
|
680
|
-
/**
|
|
681
|
-
* Logo of the chart listing
|
|
682
|
-
*/
|
|
683
|
-
logoUrl: string;
|
|
684
|
-
/**
|
|
685
|
-
* Long description of the chart listing
|
|
686
|
-
*/
|
|
687
|
-
longDescription: string;
|
|
688
|
-
/**
|
|
689
|
-
* Tags of the chart
|
|
690
|
-
*/
|
|
691
|
-
categories: Array<string>;
|
|
692
|
-
version_channels: Array<string>;
|
|
693
|
-
value_schemas: Array<{
|
|
694
|
-
/**
|
|
695
|
-
* Version of the chart.
|
|
696
|
-
*/
|
|
697
|
-
version: string;
|
|
698
|
-
/**
|
|
699
|
-
* Schema of the chart values. JSON Schema as string
|
|
700
|
-
*/
|
|
701
|
-
schema: string;
|
|
702
|
-
/**
|
|
703
|
-
* Schema of the chart values
|
|
704
|
-
*/
|
|
705
|
-
placeholder: string;
|
|
706
|
-
}>;
|
|
525
|
+
maintainers?: Array<{
|
|
526
|
+
/**
|
|
527
|
+
* Maintainer name
|
|
528
|
+
*/
|
|
529
|
+
name: string;
|
|
530
|
+
/**
|
|
531
|
+
* Maintainer email
|
|
532
|
+
*/
|
|
533
|
+
email?: string;
|
|
534
|
+
}>;
|
|
535
|
+
};
|
|
707
536
|
};
|
|
708
537
|
export type OrganizationCreateInput = {
|
|
709
538
|
/**
|
|
@@ -785,6 +614,14 @@ export type Organization = {
|
|
|
785
614
|
*/
|
|
786
615
|
label: string;
|
|
787
616
|
}>;
|
|
617
|
+
/**
|
|
618
|
+
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
619
|
+
*/
|
|
620
|
+
copilot_user_hourly_tokens: number;
|
|
621
|
+
/**
|
|
622
|
+
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
623
|
+
*/
|
|
624
|
+
copilot_organization_hourly_tokens: number;
|
|
788
625
|
};
|
|
789
626
|
/**
|
|
790
627
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -821,6 +658,172 @@ export type PaymentMethod = {
|
|
|
821
658
|
*/
|
|
822
659
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
823
660
|
};
|
|
661
|
+
export type PlatformQuota = {
|
|
662
|
+
/**
|
|
663
|
+
* Maximum number of Basic clusters that can be created.
|
|
664
|
+
*/
|
|
665
|
+
basic_clusters_max: number;
|
|
666
|
+
/**
|
|
667
|
+
* Available number of Basic clusters that can be created.
|
|
668
|
+
*/
|
|
669
|
+
basic_clusters_available: number;
|
|
670
|
+
/**
|
|
671
|
+
* Maximum number of Pro clusters that can be created.
|
|
672
|
+
*/
|
|
673
|
+
pro_clusters_max: number;
|
|
674
|
+
/**
|
|
675
|
+
* Available number of Pro clusters that can be created.
|
|
676
|
+
*/
|
|
677
|
+
pro_clusters_available: number;
|
|
678
|
+
/**
|
|
679
|
+
* Maximum number of fleets that can be created per cluster.
|
|
680
|
+
*/
|
|
681
|
+
fleets_max: number;
|
|
682
|
+
/**
|
|
683
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
684
|
+
*/
|
|
685
|
+
cluster_tiers: Array<string>;
|
|
686
|
+
/**
|
|
687
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
688
|
+
*/
|
|
689
|
+
regions: Array<string>;
|
|
690
|
+
/**
|
|
691
|
+
* List of CFKE control plane versions available for the organization.
|
|
692
|
+
*/
|
|
693
|
+
versions: Array<{
|
|
694
|
+
/**
|
|
695
|
+
* Id of the control plane version. Used in API calls.
|
|
696
|
+
*/
|
|
697
|
+
id: string;
|
|
698
|
+
/**
|
|
699
|
+
* Label of the control plane version. Used in frontent UI.
|
|
700
|
+
*/
|
|
701
|
+
label: string;
|
|
702
|
+
}>;
|
|
703
|
+
/**
|
|
704
|
+
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
705
|
+
*/
|
|
706
|
+
copilot_user_hourly_tokens: number;
|
|
707
|
+
/**
|
|
708
|
+
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
709
|
+
*/
|
|
710
|
+
copilot_organization_hourly_tokens: 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<{
|
|
743
|
+
/**
|
|
744
|
+
* Tag name.
|
|
745
|
+
*/
|
|
746
|
+
name: string;
|
|
747
|
+
/**
|
|
748
|
+
* Size of the tag in bytes.
|
|
749
|
+
*/
|
|
750
|
+
size: number;
|
|
751
|
+
/**
|
|
752
|
+
* Media type of the manifest.
|
|
753
|
+
*/
|
|
754
|
+
mediaType?: string;
|
|
755
|
+
}>;
|
|
756
|
+
/**
|
|
757
|
+
* Total size of all tags in the repository in bytes.
|
|
758
|
+
*/
|
|
759
|
+
totalSize: number;
|
|
760
|
+
};
|
|
761
|
+
export type RegistryTag = {
|
|
762
|
+
/**
|
|
763
|
+
* Tag name.
|
|
764
|
+
*/
|
|
765
|
+
name: string;
|
|
766
|
+
/**
|
|
767
|
+
* Media type of the manifest.
|
|
768
|
+
*/
|
|
769
|
+
mediaType?: string;
|
|
770
|
+
/**
|
|
771
|
+
* Manifest config metadata.
|
|
772
|
+
*/
|
|
773
|
+
config?: {
|
|
774
|
+
/**
|
|
775
|
+
* Size of the config in bytes.
|
|
776
|
+
*/
|
|
777
|
+
size: number;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* Array of layer metadata.
|
|
781
|
+
*/
|
|
782
|
+
layers?: Array<{
|
|
783
|
+
/**
|
|
784
|
+
* Size of the layer in bytes.
|
|
785
|
+
*/
|
|
786
|
+
size: number;
|
|
787
|
+
}>;
|
|
788
|
+
/**
|
|
789
|
+
* Array of manifests for multi-arch images.
|
|
790
|
+
*/
|
|
791
|
+
manifests?: Array<{
|
|
792
|
+
/**
|
|
793
|
+
* Digest of the manifest.
|
|
794
|
+
*/
|
|
795
|
+
digest: string;
|
|
796
|
+
/**
|
|
797
|
+
* Platform information for the manifest.
|
|
798
|
+
*/
|
|
799
|
+
platform?: {
|
|
800
|
+
/**
|
|
801
|
+
* Architecture of the platform.
|
|
802
|
+
*/
|
|
803
|
+
architecture: string;
|
|
804
|
+
/**
|
|
805
|
+
* Operating system of the platform.
|
|
806
|
+
*/
|
|
807
|
+
os: string;
|
|
808
|
+
};
|
|
809
|
+
}>;
|
|
810
|
+
/**
|
|
811
|
+
* Total size of the tag in bytes.
|
|
812
|
+
*/
|
|
813
|
+
size: number;
|
|
814
|
+
/**
|
|
815
|
+
* Registry region.
|
|
816
|
+
*/
|
|
817
|
+
region: string;
|
|
818
|
+
/**
|
|
819
|
+
* Repository name.
|
|
820
|
+
*/
|
|
821
|
+
repository: string;
|
|
822
|
+
/**
|
|
823
|
+
* Full URI of the tag.
|
|
824
|
+
*/
|
|
825
|
+
uri: string;
|
|
826
|
+
};
|
|
824
827
|
export type TokenCreateInput = {
|
|
825
828
|
/**
|
|
826
829
|
* Human readable access token name.
|
|
@@ -863,35 +866,85 @@ export type TokenUpdateInput = {
|
|
|
863
866
|
*/
|
|
864
867
|
role?: 'Administrator' | 'User';
|
|
865
868
|
};
|
|
869
|
+
export type UsageFacets = {
|
|
870
|
+
/**
|
|
871
|
+
* List of unique cluster IDs
|
|
872
|
+
*/
|
|
873
|
+
cluster_id?: Array<string>;
|
|
874
|
+
/**
|
|
875
|
+
* List of unique products
|
|
876
|
+
*/
|
|
877
|
+
product?: Array<string>;
|
|
878
|
+
};
|
|
879
|
+
export type UsageResponse = {
|
|
880
|
+
/**
|
|
881
|
+
* Usage data
|
|
882
|
+
*/
|
|
883
|
+
data: Array<{
|
|
884
|
+
/**
|
|
885
|
+
* Hour of the usage
|
|
886
|
+
*/
|
|
887
|
+
hour: string;
|
|
888
|
+
/**
|
|
889
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
890
|
+
*/
|
|
891
|
+
cluster_id: string;
|
|
892
|
+
/**
|
|
893
|
+
* The product the usage is associated with
|
|
894
|
+
*/
|
|
895
|
+
product: string;
|
|
896
|
+
/**
|
|
897
|
+
* Consumption
|
|
898
|
+
*/
|
|
899
|
+
value: number;
|
|
900
|
+
/**
|
|
901
|
+
* Price per unit
|
|
902
|
+
*/
|
|
903
|
+
price: number;
|
|
904
|
+
/**
|
|
905
|
+
* Total cost
|
|
906
|
+
*/
|
|
907
|
+
total: number;
|
|
908
|
+
}>;
|
|
909
|
+
/**
|
|
910
|
+
* Facets for filtering
|
|
911
|
+
*/
|
|
912
|
+
facets: {
|
|
913
|
+
/**
|
|
914
|
+
* List of unique cluster IDs
|
|
915
|
+
*/
|
|
916
|
+
cluster_id?: Array<string>;
|
|
917
|
+
/**
|
|
918
|
+
* List of unique products
|
|
919
|
+
*/
|
|
920
|
+
product?: Array<string>;
|
|
921
|
+
};
|
|
922
|
+
};
|
|
866
923
|
export type Usage = {
|
|
867
924
|
/**
|
|
868
925
|
* Hour of the usage
|
|
869
926
|
*/
|
|
870
|
-
hour
|
|
927
|
+
hour: string;
|
|
871
928
|
/**
|
|
872
929
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
873
930
|
*/
|
|
874
931
|
cluster_id: string;
|
|
875
932
|
/**
|
|
876
|
-
*
|
|
933
|
+
* The product the usage is associated with
|
|
877
934
|
*/
|
|
878
|
-
|
|
935
|
+
product: string;
|
|
879
936
|
/**
|
|
880
|
-
*
|
|
937
|
+
* Consumption
|
|
881
938
|
*/
|
|
882
|
-
|
|
939
|
+
value: number;
|
|
883
940
|
/**
|
|
884
|
-
*
|
|
941
|
+
* Price per unit
|
|
885
942
|
*/
|
|
886
|
-
|
|
943
|
+
price: number;
|
|
887
944
|
/**
|
|
888
|
-
*
|
|
945
|
+
* Total cost
|
|
889
946
|
*/
|
|
890
|
-
|
|
891
|
-
cpu: number | '';
|
|
892
|
-
price: number | '';
|
|
893
|
-
value: number | '';
|
|
894
|
-
total: number | '';
|
|
947
|
+
total: number;
|
|
895
948
|
};
|
|
896
949
|
export type UserCreateInput = {
|
|
897
950
|
/**
|
|
@@ -978,7 +1031,12 @@ export type UserUpdateInput = {
|
|
|
978
1031
|
export type GetUsageData = {
|
|
979
1032
|
body?: never;
|
|
980
1033
|
path?: never;
|
|
981
|
-
query?:
|
|
1034
|
+
query?: {
|
|
1035
|
+
/**
|
|
1036
|
+
* 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)
|
|
1037
|
+
*/
|
|
1038
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1039
|
+
};
|
|
982
1040
|
url: '/billing/usage';
|
|
983
1041
|
};
|
|
984
1042
|
export type GetUsageErrors = {
|
|
@@ -989,24 +1047,11 @@ export type GetUsageErrors = {
|
|
|
989
1047
|
};
|
|
990
1048
|
export type GetUsageResponses = {
|
|
991
1049
|
/**
|
|
992
|
-
*
|
|
1050
|
+
* Usage data with facets for filtering
|
|
993
1051
|
*/
|
|
994
|
-
200:
|
|
1052
|
+
200: UsageResponse;
|
|
995
1053
|
};
|
|
996
1054
|
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
1055
|
export type GetPaymentMethodData = {
|
|
1011
1056
|
body?: never;
|
|
1012
1057
|
path?: never;
|
|
@@ -1048,16 +1093,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1048
1093
|
export type ListInvoicesData = {
|
|
1049
1094
|
body?: never;
|
|
1050
1095
|
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
|
-
};
|
|
1096
|
+
query?: never;
|
|
1061
1097
|
url: '/billing/invoices';
|
|
1062
1098
|
};
|
|
1063
1099
|
export type ListInvoicesErrors = {
|
|
@@ -1073,26 +1109,6 @@ export type ListInvoicesResponses = {
|
|
|
1073
1109
|
200: Array<Invoice>;
|
|
1074
1110
|
};
|
|
1075
1111
|
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
1112
|
export type GetContactData = {
|
|
1097
1113
|
body?: never;
|
|
1098
1114
|
path?: never;
|
|
@@ -1622,24 +1638,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1622
1638
|
200: Array<MarketplaceListing>;
|
|
1623
1639
|
};
|
|
1624
1640
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1625
|
-
export type
|
|
1641
|
+
export type GetMarketplaceChartFilesData = {
|
|
1626
1642
|
body?: never;
|
|
1627
1643
|
path: {
|
|
1628
1644
|
/**
|
|
1629
|
-
*
|
|
1645
|
+
* Name of the chart in the marketplace.
|
|
1646
|
+
*/
|
|
1647
|
+
chart_name: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* 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).
|
|
1650
|
+
*/
|
|
1651
|
+
version_channel: string;
|
|
1652
|
+
};
|
|
1653
|
+
query?: never;
|
|
1654
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1655
|
+
};
|
|
1656
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1657
|
+
/**
|
|
1658
|
+
* Chart not found or no version matches the channel
|
|
1659
|
+
*/
|
|
1660
|
+
404: unknown;
|
|
1661
|
+
};
|
|
1662
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1663
|
+
/**
|
|
1664
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1665
|
+
*/
|
|
1666
|
+
200: MarketplaceListingFiles;
|
|
1667
|
+
};
|
|
1668
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1669
|
+
export type PostMcpData = {
|
|
1670
|
+
/**
|
|
1671
|
+
* JSON-RPC 2.0 request payload
|
|
1672
|
+
*/
|
|
1673
|
+
body: {
|
|
1674
|
+
jsonrpc?: string;
|
|
1675
|
+
method?: string;
|
|
1676
|
+
id?: string | number;
|
|
1677
|
+
/**
|
|
1678
|
+
* Method-specific parameters
|
|
1630
1679
|
*/
|
|
1631
|
-
|
|
1680
|
+
params?: {
|
|
1681
|
+
[key: string]: unknown;
|
|
1682
|
+
};
|
|
1632
1683
|
};
|
|
1684
|
+
path?: never;
|
|
1633
1685
|
query?: never;
|
|
1634
|
-
url: '/
|
|
1686
|
+
url: '/mcp';
|
|
1635
1687
|
};
|
|
1636
|
-
export type
|
|
1688
|
+
export type PostMcpErrors = {
|
|
1637
1689
|
/**
|
|
1638
|
-
*
|
|
1690
|
+
* Not authenticated
|
|
1639
1691
|
*/
|
|
1640
|
-
|
|
1692
|
+
401: unknown;
|
|
1641
1693
|
};
|
|
1642
|
-
export type
|
|
1694
|
+
export type PostMcpResponses = {
|
|
1695
|
+
/**
|
|
1696
|
+
* JSON-RPC 2.0 success or error response
|
|
1697
|
+
*/
|
|
1698
|
+
200: {
|
|
1699
|
+
jsonrpc?: string;
|
|
1700
|
+
id?: string | number;
|
|
1701
|
+
result?: {
|
|
1702
|
+
[key: string]: unknown;
|
|
1703
|
+
};
|
|
1704
|
+
error?: {
|
|
1705
|
+
code?: number;
|
|
1706
|
+
message?: string;
|
|
1707
|
+
};
|
|
1708
|
+
};
|
|
1709
|
+
};
|
|
1710
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1643
1711
|
export type GetOrganizationData = {
|
|
1644
1712
|
body?: never;
|
|
1645
1713
|
path?: never;
|
|
@@ -1665,6 +1733,144 @@ export type CreateOrganizationResponses = {
|
|
|
1665
1733
|
*/
|
|
1666
1734
|
200: unknown;
|
|
1667
1735
|
};
|
|
1736
|
+
export type ListRepositoriesData = {
|
|
1737
|
+
body?: never;
|
|
1738
|
+
path?: never;
|
|
1739
|
+
query?: never;
|
|
1740
|
+
url: '/registry';
|
|
1741
|
+
};
|
|
1742
|
+
export type ListRepositoriesErrors = {
|
|
1743
|
+
/**
|
|
1744
|
+
* Not authenticated
|
|
1745
|
+
*/
|
|
1746
|
+
401: unknown;
|
|
1747
|
+
/**
|
|
1748
|
+
* Internal server error
|
|
1749
|
+
*/
|
|
1750
|
+
500: unknown;
|
|
1751
|
+
};
|
|
1752
|
+
export type ListRepositoriesResponses = {
|
|
1753
|
+
/**
|
|
1754
|
+
* List of repositories
|
|
1755
|
+
*/
|
|
1756
|
+
200: Array<RegistryRepository>;
|
|
1757
|
+
};
|
|
1758
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1759
|
+
export type ListTagsData = {
|
|
1760
|
+
body?: never;
|
|
1761
|
+
path: {
|
|
1762
|
+
/**
|
|
1763
|
+
* Region where the repository is located
|
|
1764
|
+
*/
|
|
1765
|
+
region: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* Name of the repository
|
|
1768
|
+
*/
|
|
1769
|
+
repository: string;
|
|
1770
|
+
};
|
|
1771
|
+
query?: never;
|
|
1772
|
+
url: '/registry/{region}/{repository}';
|
|
1773
|
+
};
|
|
1774
|
+
export type ListTagsErrors = {
|
|
1775
|
+
/**
|
|
1776
|
+
* Not authenticated
|
|
1777
|
+
*/
|
|
1778
|
+
401: unknown;
|
|
1779
|
+
/**
|
|
1780
|
+
* Repository not found
|
|
1781
|
+
*/
|
|
1782
|
+
404: unknown;
|
|
1783
|
+
/**
|
|
1784
|
+
* Internal server error
|
|
1785
|
+
*/
|
|
1786
|
+
500: unknown;
|
|
1787
|
+
};
|
|
1788
|
+
export type ListTagsResponses = {
|
|
1789
|
+
/**
|
|
1790
|
+
* Repository with tags
|
|
1791
|
+
*/
|
|
1792
|
+
200: RegistryRepositoryWithTags;
|
|
1793
|
+
};
|
|
1794
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1795
|
+
export type DeleteTagData = {
|
|
1796
|
+
body?: never;
|
|
1797
|
+
path: {
|
|
1798
|
+
/**
|
|
1799
|
+
* Region where the repository is located
|
|
1800
|
+
*/
|
|
1801
|
+
region: string;
|
|
1802
|
+
/**
|
|
1803
|
+
* Name of the repository
|
|
1804
|
+
*/
|
|
1805
|
+
repository: string;
|
|
1806
|
+
/**
|
|
1807
|
+
* Name of the tag
|
|
1808
|
+
*/
|
|
1809
|
+
tag: string;
|
|
1810
|
+
};
|
|
1811
|
+
query?: never;
|
|
1812
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1813
|
+
};
|
|
1814
|
+
export type DeleteTagErrors = {
|
|
1815
|
+
/**
|
|
1816
|
+
* Not authenticated
|
|
1817
|
+
*/
|
|
1818
|
+
401: unknown;
|
|
1819
|
+
/**
|
|
1820
|
+
* Tag not found
|
|
1821
|
+
*/
|
|
1822
|
+
404: unknown;
|
|
1823
|
+
/**
|
|
1824
|
+
* Internal server error
|
|
1825
|
+
*/
|
|
1826
|
+
500: unknown;
|
|
1827
|
+
};
|
|
1828
|
+
export type DeleteTagResponses = {
|
|
1829
|
+
/**
|
|
1830
|
+
* Tag successfully deleted
|
|
1831
|
+
*/
|
|
1832
|
+
200: unknown;
|
|
1833
|
+
};
|
|
1834
|
+
export type GetTagData = {
|
|
1835
|
+
body?: never;
|
|
1836
|
+
path: {
|
|
1837
|
+
/**
|
|
1838
|
+
* Region where the repository is located
|
|
1839
|
+
*/
|
|
1840
|
+
region: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Name of the repository
|
|
1843
|
+
*/
|
|
1844
|
+
repository: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Name of the tag
|
|
1847
|
+
*/
|
|
1848
|
+
tag: string;
|
|
1849
|
+
};
|
|
1850
|
+
query?: never;
|
|
1851
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1852
|
+
};
|
|
1853
|
+
export type GetTagErrors = {
|
|
1854
|
+
/**
|
|
1855
|
+
* Not authenticated
|
|
1856
|
+
*/
|
|
1857
|
+
401: unknown;
|
|
1858
|
+
/**
|
|
1859
|
+
* Tag not found
|
|
1860
|
+
*/
|
|
1861
|
+
404: unknown;
|
|
1862
|
+
/**
|
|
1863
|
+
* Internal server error
|
|
1864
|
+
*/
|
|
1865
|
+
500: unknown;
|
|
1866
|
+
};
|
|
1867
|
+
export type GetTagResponses = {
|
|
1868
|
+
/**
|
|
1869
|
+
* Tag details
|
|
1870
|
+
*/
|
|
1871
|
+
200: RegistryTag;
|
|
1872
|
+
};
|
|
1873
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
1668
1874
|
export type ListTokensData = {
|
|
1669
1875
|
body?: never;
|
|
1670
1876
|
path?: never;
|