@cloudfleet/sdk 0.0.1-cb34d78 → 0.0.1-cb875c6

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.
@@ -39,13 +39,9 @@ export type BillingContact = {
39
39
  */
40
40
  email: string;
41
41
  /**
42
- * First name of the billing contact person.
43
- */
44
- first_name: string;
45
- /**
46
- * Last name of the billing contact person.
42
+ * Name of the billing contact person.
47
43
  */
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
- * Date of the credit application. ISO 8601 date string in the UTC timezone.
65
- */
66
- date_created: string;
67
- /**
68
- * Promotional code used by the customer.
60
+ * Type of the promotional code.
69
61
  */
70
- code: string;
62
+ type: 'credit' | 'discount';
71
63
  /**
72
- * Description of the promotional code.
64
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
73
65
  */
74
- description?: string;
66
+ date_start: string;
75
67
  /**
76
- * List of product SKUs that the promotional code can be used on.
68
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
77
69
  */
78
- products?: Array<string>;
70
+ date_end?: string;
79
71
  /**
80
- * Type of the promotional code.
72
+ * Promotional code used by the customer.
81
73
  */
82
- type: 'credit' | 'discount';
74
+ code: string;
83
75
  /**
84
- * Value of the promotional code.
76
+ * Description of the promotional code.
85
77
  */
86
- value: number;
78
+ description?: string;
87
79
  /**
88
- * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
80
+ * Total value of the promotional code.
89
81
  */
90
- billing_period: string;
82
+ value_total: number;
91
83
  /**
92
- * Value of the promotional code.
84
+ * Remaining value of the promotional code.
93
85
  */
94
86
  value_remaining?: number;
95
87
  };
@@ -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.
@@ -433,232 +425,32 @@ export type Invoice = {
433
425
  * Unique identifier of the invoice. UUID v4 string in canonical form
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?: 'DRAFT' | 'COMMITTED' | 'VOID';
432
+ status?: string;
444
433
  /**
445
434
  * Total amount of the invoice
446
435
  */
447
- amount?: number;
436
+ total?: number;
448
437
  /**
449
438
  * Currency of the invoice
450
439
  */
451
- 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';
452
- /**
453
- * Total amount of credit adjustments
454
- */
455
- creditAdj?: number;
456
- /**
457
- * Total amount of refund adjustments
458
- */
459
- refundAdj?: number;
460
- /**
461
- * Date of the invoice
462
- */
463
- invoiceDate?: string;
464
- /**
465
- * Target date of the invoice
466
- */
467
- targetDate?: string;
468
- /**
469
- * Number of the invoice
470
- */
471
- invoiceNumber?: string;
472
- /**
473
- * Balance of the invoice
474
- */
475
- balance?: number;
440
+ currency?: string;
476
441
  /**
477
- * Bundle keys of the invoice
442
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
478
443
  */
479
- bundleKeys?: string;
444
+ created: string;
480
445
  /**
481
- * Credits of the invoice
446
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
482
447
  */
483
- credits?: Array<{
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
- }>;
448
+ period_start: string;
571
449
  /**
572
- * Items of the invoice
450
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
573
451
  */
574
- items?: Array<{
575
- /**
576
- * Unique identifier of the invoice item. UUID v4 string in canonical form
577
- */
578
- id?: string;
579
- /**
580
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
581
- */
582
- linkedInvoiceItemId?: string;
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;
611
- /**
612
- * Pretty name of the usage
613
- */
614
- prettyUsageName?: string;
615
- /**
616
- * Type of the invoice item
617
- */
618
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
619
- /**
620
- * Description of the invoice item
621
- */
622
- description?: string;
623
- /**
624
- * Start date of the invoice item
625
- */
626
- startDate?: string;
627
- /**
628
- * End date of the invoice item
629
- */
630
- endDate?: string;
631
- /**
632
- * Amount of the invoice item
633
- */
634
- amount?: number;
635
- /**
636
- * Rate of the invoice item
637
- */
638
- rate?: number;
639
- /**
640
- * Currency of the invoice item
641
- */
642
- 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';
643
- /**
644
- * Quantity of the invoice item
645
- */
646
- quantity?: number;
647
- /**
648
- * Details of the invoice item
649
- */
650
- itemDetails?: string;
651
- /**
652
- * Effective date of the catalog
653
- */
654
- catalogEffectiveDate?: string;
655
- /**
656
- * Child items of the invoice item
657
- */
658
- childItems?: Array<Array<unknown> | boolean | number | {
659
- [key: string]: unknown;
660
- } | string>;
661
- }>;
452
+ period_end: string;
453
+ invoice_pdf?: string;
662
454
  };
663
455
  export type MarketplaceListing = {
664
456
  /**
@@ -821,6 +613,164 @@ export type PaymentMethod = {
821
613
  */
822
614
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
823
615
  };
616
+ export type PlatformQuota = {
617
+ /**
618
+ * Maximum number of Basic clusters that can be created.
619
+ */
620
+ basic_clusters_max: number;
621
+ /**
622
+ * Available number of Basic clusters that can be created.
623
+ */
624
+ basic_clusters_available: number;
625
+ /**
626
+ * Maximum number of Pro clusters that can be created.
627
+ */
628
+ pro_clusters_max: number;
629
+ /**
630
+ * Available number of Pro clusters that can be created.
631
+ */
632
+ pro_clusters_available: number;
633
+ /**
634
+ * Maximum number of fleets that can be created per cluster.
635
+ */
636
+ fleets_max: number;
637
+ /**
638
+ * List of Cloudfleet cluster tiers available for the organization.
639
+ */
640
+ cluster_tiers: Array<string>;
641
+ /**
642
+ * List of Cloudfleet control plane regions available for the organization.
643
+ */
644
+ regions: Array<string>;
645
+ /**
646
+ * List of CFKE control plane versions available for the organization.
647
+ */
648
+ versions: Array<{
649
+ /**
650
+ * Id of the control plane version. Used in API calls.
651
+ */
652
+ id: string;
653
+ /**
654
+ * Label of the control plane version. Used in frontent UI.
655
+ */
656
+ label: string;
657
+ }>;
658
+ };
659
+ export type RegistryRepository = {
660
+ /**
661
+ * Repository name.
662
+ */
663
+ name: string;
664
+ /**
665
+ * Registry region.
666
+ */
667
+ region: string;
668
+ /**
669
+ * Full URI of the repository.
670
+ */
671
+ uri: string;
672
+ };
673
+ export type RegistryRepositoryWithTags = {
674
+ /**
675
+ * Repository name.
676
+ */
677
+ name: string;
678
+ /**
679
+ * Registry region.
680
+ */
681
+ region: string;
682
+ /**
683
+ * Full URI of the repository.
684
+ */
685
+ uri: string;
686
+ /**
687
+ * Array of tags in the repository.
688
+ */
689
+ tags: Array<{
690
+ /**
691
+ * Tag name.
692
+ */
693
+ name: string;
694
+ /**
695
+ * Size of the tag in bytes.
696
+ */
697
+ size: number;
698
+ /**
699
+ * Media type of the manifest.
700
+ */
701
+ mediaType?: string;
702
+ }>;
703
+ /**
704
+ * Total size of all tags in the repository in bytes.
705
+ */
706
+ totalSize: number;
707
+ };
708
+ export type RegistryTag = {
709
+ /**
710
+ * Tag name.
711
+ */
712
+ name: string;
713
+ /**
714
+ * Media type of the manifest.
715
+ */
716
+ mediaType?: string;
717
+ /**
718
+ * Manifest config metadata.
719
+ */
720
+ config?: {
721
+ /**
722
+ * Size of the config in bytes.
723
+ */
724
+ size: number;
725
+ };
726
+ /**
727
+ * Array of layer metadata.
728
+ */
729
+ layers?: Array<{
730
+ /**
731
+ * Size of the layer in bytes.
732
+ */
733
+ size: number;
734
+ }>;
735
+ /**
736
+ * Array of manifests for multi-arch images.
737
+ */
738
+ manifests?: Array<{
739
+ /**
740
+ * Digest of the manifest.
741
+ */
742
+ digest: string;
743
+ /**
744
+ * Platform information for the manifest.
745
+ */
746
+ platform?: {
747
+ /**
748
+ * Architecture of the platform.
749
+ */
750
+ architecture: string;
751
+ /**
752
+ * Operating system of the platform.
753
+ */
754
+ os: string;
755
+ };
756
+ }>;
757
+ /**
758
+ * Total size of the tag in bytes.
759
+ */
760
+ size: number;
761
+ /**
762
+ * Registry region.
763
+ */
764
+ region: string;
765
+ /**
766
+ * Repository name.
767
+ */
768
+ repository: string;
769
+ /**
770
+ * Full URI of the tag.
771
+ */
772
+ uri: string;
773
+ };
824
774
  export type TokenCreateInput = {
825
775
  /**
826
776
  * Human readable access token name.
@@ -863,35 +813,85 @@ export type TokenUpdateInput = {
863
813
  */
864
814
  role?: 'Administrator' | 'User';
865
815
  };
816
+ export type UsageFacets = {
817
+ /**
818
+ * List of unique cluster IDs
819
+ */
820
+ cluster_id?: Array<string>;
821
+ /**
822
+ * List of unique products
823
+ */
824
+ product?: Array<string>;
825
+ };
826
+ export type UsageResponse = {
827
+ /**
828
+ * Usage data
829
+ */
830
+ data: Array<{
831
+ /**
832
+ * Hour of the usage
833
+ */
834
+ hour: string;
835
+ /**
836
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
837
+ */
838
+ cluster_id: string;
839
+ /**
840
+ * The product the usage is associated with
841
+ */
842
+ product: string;
843
+ /**
844
+ * Consumption
845
+ */
846
+ value: number;
847
+ /**
848
+ * Price per unit
849
+ */
850
+ price: number;
851
+ /**
852
+ * Total cost
853
+ */
854
+ total: number;
855
+ }>;
856
+ /**
857
+ * Facets for filtering
858
+ */
859
+ facets: {
860
+ /**
861
+ * List of unique cluster IDs
862
+ */
863
+ cluster_id?: Array<string>;
864
+ /**
865
+ * List of unique products
866
+ */
867
+ product?: Array<string>;
868
+ };
869
+ };
866
870
  export type Usage = {
867
871
  /**
868
872
  * Hour of the usage
869
873
  */
870
- hour?: string;
874
+ hour: string;
871
875
  /**
872
876
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
873
877
  */
874
878
  cluster_id: string;
875
879
  /**
876
- * Tier of the cluster.
880
+ * The product the usage is associated with
877
881
  */
878
- cluster_tier: 'basic' | 'pro' | '';
882
+ product: string;
879
883
  /**
880
- * The product the usage is associated with
884
+ * Consumption
881
885
  */
882
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
886
+ value: number;
883
887
  /**
884
- * Name of the Kubernetes node
888
+ * Price per unit
885
889
  */
886
- node_name: string;
890
+ price: number;
887
891
  /**
888
- * SKU of the Kubernetes node
892
+ * Total cost
889
893
  */
890
- sku: string;
891
- cpu: number | '';
892
- price: number | '';
893
- value: number | '';
894
- total: number | '';
894
+ total: number;
895
895
  };
896
896
  export type UserCreateInput = {
897
897
  /**
@@ -978,7 +978,12 @@ export type UserUpdateInput = {
978
978
  export type GetUsageData = {
979
979
  body?: never;
980
980
  path?: never;
981
- query?: never;
981
+ query?: {
982
+ /**
983
+ * 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)
984
+ */
985
+ granularity?: 'hourly' | 'daily' | 'monthly';
986
+ };
982
987
  url: '/billing/usage';
983
988
  };
984
989
  export type GetUsageErrors = {
@@ -989,24 +994,11 @@ export type GetUsageErrors = {
989
994
  };
990
995
  export type GetUsageResponses = {
991
996
  /**
992
- * An array of usage records.
997
+ * Usage data with facets for filtering
993
998
  */
994
- 200: Array<Usage>;
999
+ 200: UsageResponse;
995
1000
  };
996
1001
  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
1002
  export type GetPaymentMethodData = {
1011
1003
  body?: never;
1012
1004
  path?: never;
@@ -1048,16 +1040,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1048
1040
  export type ListInvoicesData = {
1049
1041
  body?: never;
1050
1042
  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
- };
1043
+ query?: never;
1061
1044
  url: '/billing/invoices';
1062
1045
  };
1063
1046
  export type ListInvoicesErrors = {
@@ -1073,26 +1056,6 @@ export type ListInvoicesResponses = {
1073
1056
  200: Array<Invoice>;
1074
1057
  };
1075
1058
  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
1059
  export type GetContactData = {
1097
1060
  body?: never;
1098
1061
  path?: never;
@@ -1640,6 +1603,48 @@ export type GetMarketplaceChartResponses = {
1640
1603
  200: MarketplaceListing;
1641
1604
  };
1642
1605
  export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1606
+ export type PostMcpData = {
1607
+ /**
1608
+ * JSON-RPC 2.0 request payload
1609
+ */
1610
+ body: {
1611
+ jsonrpc?: string;
1612
+ method?: string;
1613
+ id?: string | number;
1614
+ /**
1615
+ * Method-specific parameters
1616
+ */
1617
+ params?: {
1618
+ [key: string]: unknown;
1619
+ };
1620
+ };
1621
+ path?: never;
1622
+ query?: never;
1623
+ url: '/mcp';
1624
+ };
1625
+ export type PostMcpErrors = {
1626
+ /**
1627
+ * Not authenticated
1628
+ */
1629
+ 401: unknown;
1630
+ };
1631
+ export type PostMcpResponses = {
1632
+ /**
1633
+ * JSON-RPC 2.0 success or error response
1634
+ */
1635
+ 200: {
1636
+ jsonrpc?: string;
1637
+ id?: string | number;
1638
+ result?: {
1639
+ [key: string]: unknown;
1640
+ };
1641
+ error?: {
1642
+ code?: number;
1643
+ message?: string;
1644
+ };
1645
+ };
1646
+ };
1647
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1643
1648
  export type GetOrganizationData = {
1644
1649
  body?: never;
1645
1650
  path?: never;
@@ -1665,6 +1670,144 @@ export type CreateOrganizationResponses = {
1665
1670
  */
1666
1671
  200: unknown;
1667
1672
  };
1673
+ export type ListRepositoriesData = {
1674
+ body?: never;
1675
+ path?: never;
1676
+ query?: never;
1677
+ url: '/registry';
1678
+ };
1679
+ export type ListRepositoriesErrors = {
1680
+ /**
1681
+ * Not authenticated
1682
+ */
1683
+ 401: unknown;
1684
+ /**
1685
+ * Internal server error
1686
+ */
1687
+ 500: unknown;
1688
+ };
1689
+ export type ListRepositoriesResponses = {
1690
+ /**
1691
+ * List of repositories
1692
+ */
1693
+ 200: Array<RegistryRepository>;
1694
+ };
1695
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1696
+ export type ListTagsData = {
1697
+ body?: never;
1698
+ path: {
1699
+ /**
1700
+ * Region where the repository is located
1701
+ */
1702
+ region: string;
1703
+ /**
1704
+ * Name of the repository
1705
+ */
1706
+ repository: string;
1707
+ };
1708
+ query?: never;
1709
+ url: '/registry/{region}/{repository}';
1710
+ };
1711
+ export type ListTagsErrors = {
1712
+ /**
1713
+ * Not authenticated
1714
+ */
1715
+ 401: unknown;
1716
+ /**
1717
+ * Repository not found
1718
+ */
1719
+ 404: unknown;
1720
+ /**
1721
+ * Internal server error
1722
+ */
1723
+ 500: unknown;
1724
+ };
1725
+ export type ListTagsResponses = {
1726
+ /**
1727
+ * Repository with tags
1728
+ */
1729
+ 200: RegistryRepositoryWithTags;
1730
+ };
1731
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1732
+ export type DeleteTagData = {
1733
+ body?: never;
1734
+ path: {
1735
+ /**
1736
+ * Region where the repository is located
1737
+ */
1738
+ region: string;
1739
+ /**
1740
+ * Name of the repository
1741
+ */
1742
+ repository: string;
1743
+ /**
1744
+ * Name of the tag
1745
+ */
1746
+ tag: string;
1747
+ };
1748
+ query?: never;
1749
+ url: '/registry/{region}/{repository}/{tag}';
1750
+ };
1751
+ export type DeleteTagErrors = {
1752
+ /**
1753
+ * Not authenticated
1754
+ */
1755
+ 401: unknown;
1756
+ /**
1757
+ * Tag not found
1758
+ */
1759
+ 404: unknown;
1760
+ /**
1761
+ * Internal server error
1762
+ */
1763
+ 500: unknown;
1764
+ };
1765
+ export type DeleteTagResponses = {
1766
+ /**
1767
+ * Tag successfully deleted
1768
+ */
1769
+ 200: unknown;
1770
+ };
1771
+ export type GetTagData = {
1772
+ body?: never;
1773
+ path: {
1774
+ /**
1775
+ * Region where the repository is located
1776
+ */
1777
+ region: string;
1778
+ /**
1779
+ * Name of the repository
1780
+ */
1781
+ repository: string;
1782
+ /**
1783
+ * Name of the tag
1784
+ */
1785
+ tag: string;
1786
+ };
1787
+ query?: never;
1788
+ url: '/registry/{region}/{repository}/{tag}';
1789
+ };
1790
+ export type GetTagErrors = {
1791
+ /**
1792
+ * Not authenticated
1793
+ */
1794
+ 401: unknown;
1795
+ /**
1796
+ * Tag not found
1797
+ */
1798
+ 404: unknown;
1799
+ /**
1800
+ * Internal server error
1801
+ */
1802
+ 500: unknown;
1803
+ };
1804
+ export type GetTagResponses = {
1805
+ /**
1806
+ * Tag details
1807
+ */
1808
+ 200: RegistryTag;
1809
+ };
1810
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1668
1811
  export type ListTokensData = {
1669
1812
  body?: never;
1670
1813
  path?: never;