@cloudfleet/sdk 0.0.1-a030ac8 → 0.0.1-a104fac
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 +1048 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1040 -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 +108 -123
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +7 -4
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +5 -1
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +1 -1
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +4 -4
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.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 +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +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 +2 -26
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +0 -28
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +9 -2
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +9 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +24 -16
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +368 -569
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +114 -313
- package/dist/zod.gen.js.map +1 -1
- package/package.json +24 -5
package/dist/zod.gen.js
CHANGED
|
@@ -199,13 +199,13 @@ export const zClusterCreateInput = z.object({
|
|
|
199
199
|
'northamerica-central-1',
|
|
200
200
|
'europe-central-1a',
|
|
201
201
|
'northamerica-central-1a'
|
|
202
|
-
]).optional(),
|
|
202
|
+
]).optional().default('staging-1a'),
|
|
203
203
|
version_channel: z.enum([
|
|
204
204
|
'1.x.x-cfke.x',
|
|
205
205
|
'1.31.x-cfke.x',
|
|
206
206
|
'1.32.x-cfke.x',
|
|
207
207
|
'1.33.x-cfke.x'
|
|
208
|
-
]).optional()
|
|
208
|
+
]).optional().default('1.x.x-cfke.x')
|
|
209
209
|
});
|
|
210
210
|
export const zClusterJoinInformation = z.object({
|
|
211
211
|
certificate_authority: z.string(),
|
|
@@ -233,7 +233,7 @@ export const zCluster = z.object({
|
|
|
233
233
|
'northamerica-central-1',
|
|
234
234
|
'europe-central-1a',
|
|
235
235
|
'northamerica-central-1a'
|
|
236
|
-
]).optional(),
|
|
236
|
+
]).optional().default('staging-1a'),
|
|
237
237
|
id: z.uuid(),
|
|
238
238
|
status: z.enum([
|
|
239
239
|
'active',
|
|
@@ -380,8 +380,6 @@ export const zOrganization = z.object({
|
|
|
380
380
|
id: z.string(),
|
|
381
381
|
label: z.string()
|
|
382
382
|
})).min(1),
|
|
383
|
-
copilot_user_hourly_tokens: z.int().gte(0),
|
|
384
|
-
copilot_organization_hourly_tokens: z.int().gte(0),
|
|
385
383
|
cfcr_storage_gb: z.int().gte(-1)
|
|
386
384
|
}),
|
|
387
385
|
status: z.enum([
|
|
@@ -421,8 +419,6 @@ export const zPlatformQuota = z.object({
|
|
|
421
419
|
id: z.string(),
|
|
422
420
|
label: z.string()
|
|
423
421
|
})).min(1),
|
|
424
|
-
copilot_user_hourly_tokens: z.int().gte(0),
|
|
425
|
-
copilot_organization_hourly_tokens: z.int().gte(0),
|
|
426
422
|
cfcr_storage_gb: z.int().gte(-1)
|
|
427
423
|
});
|
|
428
424
|
export const zRegistryRepository = z.object({
|
|
@@ -537,35 +533,21 @@ export const zUserUpdateInput = z.object({
|
|
|
537
533
|
role: z.enum(['Administrator', 'User']).optional(),
|
|
538
534
|
status: z.enum(['active', 'inactive']).optional()
|
|
539
535
|
});
|
|
540
|
-
export const
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
'daily',
|
|
547
|
-
'monthly'
|
|
548
|
-
]).optional()
|
|
549
|
-
}).optional()
|
|
536
|
+
export const zGetUsageQuery = z.object({
|
|
537
|
+
granularity: z.enum([
|
|
538
|
+
'hourly',
|
|
539
|
+
'daily',
|
|
540
|
+
'monthly'
|
|
541
|
+
]).optional().default('daily')
|
|
550
542
|
});
|
|
551
543
|
/**
|
|
552
544
|
* Usage data with facets for filtering
|
|
553
545
|
*/
|
|
554
546
|
export const zGetUsageResponse = zUsageResponse;
|
|
555
|
-
export const zGetPaymentMethodData = z.object({
|
|
556
|
-
body: z.never().optional(),
|
|
557
|
-
path: z.never().optional(),
|
|
558
|
-
query: z.never().optional()
|
|
559
|
-
});
|
|
560
547
|
/**
|
|
561
548
|
* Redacted payment card information.
|
|
562
549
|
*/
|
|
563
550
|
export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
564
|
-
export const zGetPaymentMethodSecretData = z.object({
|
|
565
|
-
body: z.never().optional(),
|
|
566
|
-
path: z.never().optional(),
|
|
567
|
-
query: z.never().optional()
|
|
568
|
-
});
|
|
569
551
|
/**
|
|
570
552
|
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
571
553
|
*
|
|
@@ -573,305 +555,198 @@ export const zGetPaymentMethodSecretData = z.object({
|
|
|
573
555
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
574
556
|
id: z.string().optional()
|
|
575
557
|
});
|
|
576
|
-
export const zListInvoicesData = z.object({
|
|
577
|
-
body: z.never().optional(),
|
|
578
|
-
path: z.never().optional(),
|
|
579
|
-
query: z.never().optional()
|
|
580
|
-
});
|
|
581
558
|
/**
|
|
582
559
|
* An array of usage records.
|
|
583
560
|
*/
|
|
584
561
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
585
|
-
export const zGetContactData = z.object({
|
|
586
|
-
body: z.never().optional(),
|
|
587
|
-
path: z.never().optional(),
|
|
588
|
-
query: z.never().optional()
|
|
589
|
-
});
|
|
590
562
|
/**
|
|
591
563
|
* Returns a single object containing organization contact and billing address details.
|
|
592
564
|
*/
|
|
593
565
|
export const zGetContactResponse = zBillingContact;
|
|
594
|
-
export const
|
|
595
|
-
body: zBillingContact,
|
|
596
|
-
path: z.never().optional(),
|
|
597
|
-
query: z.never().optional()
|
|
598
|
-
});
|
|
566
|
+
export const zUpdateContactBody = zBillingContact;
|
|
599
567
|
/**
|
|
600
568
|
* Successfully updated. Returns updated organization details.
|
|
601
569
|
*/
|
|
602
570
|
export const zUpdateContactResponse = zBillingContact;
|
|
603
|
-
export const zGetCreditsData = z.object({
|
|
604
|
-
body: z.never().optional(),
|
|
605
|
-
path: z.never().optional(),
|
|
606
|
-
query: z.never().optional()
|
|
607
|
-
});
|
|
608
571
|
/**
|
|
609
572
|
* An array of the applied promotional credits records.
|
|
610
573
|
*/
|
|
611
574
|
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
612
|
-
export const
|
|
613
|
-
|
|
614
|
-
code: z.string().optional()
|
|
615
|
-
}),
|
|
616
|
-
path: z.never().optional(),
|
|
617
|
-
query: z.never().optional()
|
|
575
|
+
export const zRedeemCreditsBody = z.object({
|
|
576
|
+
code: z.string().optional()
|
|
618
577
|
});
|
|
619
|
-
export const
|
|
620
|
-
|
|
621
|
-
path: z.object({
|
|
622
|
-
cluster_id: z.string()
|
|
623
|
-
}),
|
|
624
|
-
query: z.never().optional()
|
|
578
|
+
export const zListChartsPath = z.object({
|
|
579
|
+
cluster_id: z.string()
|
|
625
580
|
});
|
|
626
581
|
/**
|
|
627
582
|
* An array of charts
|
|
628
583
|
*/
|
|
629
584
|
export const zListChartsResponse = z.array(zChart);
|
|
630
|
-
export const
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
cluster_id: z.string()
|
|
634
|
-
}),
|
|
635
|
-
query: z.never().optional()
|
|
585
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
586
|
+
export const zCreateChartPath = z.object({
|
|
587
|
+
cluster_id: z.string()
|
|
636
588
|
});
|
|
637
589
|
/**
|
|
638
590
|
* Successfully created. Returns created Chart ID.
|
|
639
591
|
*/
|
|
640
592
|
export const zCreateChartResponse = z.string();
|
|
641
|
-
export const
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
cluster_id: z.string(),
|
|
645
|
-
chart_name: z.string()
|
|
646
|
-
}),
|
|
647
|
-
query: z.never().optional()
|
|
593
|
+
export const zDeleteChartPath = z.object({
|
|
594
|
+
cluster_id: z.string(),
|
|
595
|
+
chart_name: z.string()
|
|
648
596
|
});
|
|
649
597
|
/**
|
|
650
598
|
* Successfully deleted.
|
|
651
599
|
*/
|
|
652
600
|
export const zDeleteChartResponse = z.string();
|
|
653
|
-
export const
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
cluster_id: z.string(),
|
|
657
|
-
chart_name: z.string()
|
|
658
|
-
}),
|
|
659
|
-
query: z.never().optional()
|
|
601
|
+
export const zGetChartPath = z.object({
|
|
602
|
+
cluster_id: z.string(),
|
|
603
|
+
chart_name: z.string()
|
|
660
604
|
});
|
|
661
605
|
/**
|
|
662
606
|
* Returns a single object containing chart details.
|
|
663
607
|
*/
|
|
664
608
|
export const zGetChartResponse = zChart;
|
|
665
|
-
export const
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
chart_name: z.string()
|
|
670
|
-
}),
|
|
671
|
-
query: z.never().optional()
|
|
609
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
610
|
+
export const zUpdateChartPath = z.object({
|
|
611
|
+
cluster_id: z.string(),
|
|
612
|
+
chart_name: z.string()
|
|
672
613
|
});
|
|
673
614
|
/**
|
|
674
615
|
* Successfully updated.
|
|
675
616
|
*/
|
|
676
617
|
export const zUpdateChartResponse = z.string();
|
|
677
|
-
export const
|
|
678
|
-
|
|
679
|
-
path: z.object({
|
|
680
|
-
cluster_id: z.string()
|
|
681
|
-
}),
|
|
682
|
-
query: z.never().optional()
|
|
618
|
+
export const zListFleetsPath = z.object({
|
|
619
|
+
cluster_id: z.string()
|
|
683
620
|
});
|
|
684
621
|
/**
|
|
685
622
|
* An array of fleets
|
|
686
623
|
*/
|
|
687
624
|
export const zListFleetsResponse = z.array(zFleet);
|
|
688
|
-
export const
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
cluster_id: z.string()
|
|
692
|
-
}),
|
|
693
|
-
query: z.never().optional()
|
|
625
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
626
|
+
export const zCreateFleetPath = z.object({
|
|
627
|
+
cluster_id: z.string()
|
|
694
628
|
});
|
|
695
629
|
/**
|
|
696
630
|
* Successfully created. Returns created Fleet ID.
|
|
697
631
|
*/
|
|
698
632
|
export const zCreateFleetResponse = z.string();
|
|
699
|
-
export const
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
cluster_id: z.string(),
|
|
703
|
-
fleet_name: z.string()
|
|
704
|
-
}),
|
|
705
|
-
query: z.never().optional()
|
|
633
|
+
export const zDeleteFleetPath = z.object({
|
|
634
|
+
cluster_id: z.string(),
|
|
635
|
+
fleet_name: z.string()
|
|
706
636
|
});
|
|
707
637
|
/**
|
|
708
638
|
* Successfully deleted.
|
|
709
639
|
*/
|
|
710
640
|
export const zDeleteFleetResponse = z.string();
|
|
711
|
-
export const
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
cluster_id: z.string(),
|
|
715
|
-
fleet_name: z.string()
|
|
716
|
-
}),
|
|
717
|
-
query: z.never().optional()
|
|
641
|
+
export const zGetFleetPath = z.object({
|
|
642
|
+
cluster_id: z.string(),
|
|
643
|
+
fleet_name: z.string()
|
|
718
644
|
});
|
|
719
645
|
/**
|
|
720
646
|
* Returns a single object containing fleet details.
|
|
721
647
|
*/
|
|
722
648
|
export const zGetFleetResponse = zFleet;
|
|
723
|
-
export const
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
fleet_name: z.string()
|
|
728
|
-
}),
|
|
729
|
-
query: z.never().optional()
|
|
649
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
650
|
+
export const zUpdateFleetPath = z.object({
|
|
651
|
+
cluster_id: z.string(),
|
|
652
|
+
fleet_name: z.string()
|
|
730
653
|
});
|
|
731
654
|
/**
|
|
732
655
|
* Successfully updated.
|
|
733
656
|
*/
|
|
734
657
|
export const zUpdateFleetResponse = z.string();
|
|
735
|
-
export const
|
|
736
|
-
|
|
737
|
-
path: z.object({
|
|
738
|
-
cluster_id: z.string()
|
|
739
|
-
}),
|
|
740
|
-
query: z.never().optional()
|
|
741
|
-
});
|
|
742
|
-
export const zListClustersData = z.object({
|
|
743
|
-
body: z.never().optional(),
|
|
744
|
-
path: z.never().optional(),
|
|
745
|
-
query: z.never().optional()
|
|
658
|
+
export const zQueryClusterPath = z.object({
|
|
659
|
+
cluster_id: z.string()
|
|
746
660
|
});
|
|
747
661
|
/**
|
|
748
662
|
* An array of clusters
|
|
749
663
|
*/
|
|
750
664
|
export const zListClustersResponse = z.array(zCluster);
|
|
751
|
-
export const
|
|
752
|
-
body: zClusterCreateInput,
|
|
753
|
-
path: z.never().optional(),
|
|
754
|
-
query: z.never().optional()
|
|
755
|
-
});
|
|
665
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
756
666
|
/**
|
|
757
667
|
* Successfully created. Returns created Cluster ID.
|
|
758
668
|
*/
|
|
759
669
|
export const zCreateClusterResponse = z.string();
|
|
760
|
-
export const
|
|
761
|
-
|
|
762
|
-
path: z.object({
|
|
763
|
-
cluster_id: z.string()
|
|
764
|
-
}),
|
|
765
|
-
query: z.never().optional()
|
|
670
|
+
export const zDeleteClusterPath = z.object({
|
|
671
|
+
cluster_id: z.string()
|
|
766
672
|
});
|
|
767
673
|
/**
|
|
768
674
|
* Successfully deleted.
|
|
769
675
|
*/
|
|
770
676
|
export const zDeleteClusterResponse = z.string();
|
|
771
|
-
export const
|
|
772
|
-
|
|
773
|
-
path: z.object({
|
|
774
|
-
cluster_id: z.string()
|
|
775
|
-
}),
|
|
776
|
-
query: z.never().optional()
|
|
677
|
+
export const zGetClusterPath = z.object({
|
|
678
|
+
cluster_id: z.string()
|
|
777
679
|
});
|
|
778
680
|
/**
|
|
779
681
|
* Returns a single object containing cluster details.
|
|
780
682
|
*/
|
|
781
683
|
export const zGetClusterResponse = zCluster;
|
|
782
|
-
export const
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
cluster_id: z.string()
|
|
786
|
-
}),
|
|
787
|
-
query: z.never().optional()
|
|
684
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
685
|
+
export const zUpdateClusterPath = z.object({
|
|
686
|
+
cluster_id: z.string()
|
|
788
687
|
});
|
|
789
688
|
/**
|
|
790
689
|
* Successfully updated. Returns updated cluster details.
|
|
791
690
|
*/
|
|
792
691
|
export const zUpdateClusterResponse = zCluster;
|
|
793
|
-
export const
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
692
|
+
export const zGetClusterCaPath = z.object({
|
|
693
|
+
cluster_id: z.string()
|
|
694
|
+
});
|
|
695
|
+
/**
|
|
696
|
+
* PEM-encoded certificate authority of the cluster.
|
|
697
|
+
*/
|
|
698
|
+
export const zGetClusterCaResponse = z.string();
|
|
699
|
+
export const zGetJoinInformationPath = z.object({
|
|
700
|
+
cluster_id: z.string()
|
|
799
701
|
});
|
|
800
702
|
/**
|
|
801
703
|
* An object of cluster join information
|
|
802
704
|
*/
|
|
803
705
|
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
804
|
-
export const zListInvitesData = z.object({
|
|
805
|
-
body: z.never().optional(),
|
|
806
|
-
path: z.never().optional(),
|
|
807
|
-
query: z.never().optional()
|
|
808
|
-
});
|
|
809
706
|
/**
|
|
810
707
|
* An array of invites
|
|
811
708
|
*/
|
|
812
709
|
export const zListInvitesResponse = z.array(zInvite);
|
|
813
|
-
export const
|
|
814
|
-
|
|
815
|
-
email: z.string().optional()
|
|
816
|
-
}),
|
|
817
|
-
path: z.never().optional(),
|
|
818
|
-
query: z.never().optional()
|
|
710
|
+
export const zCreateInviteBody = z.object({
|
|
711
|
+
email: z.string().optional()
|
|
819
712
|
});
|
|
820
713
|
/**
|
|
821
714
|
* Successfully created. Returns created invite details.
|
|
822
715
|
*/
|
|
823
716
|
export const zCreateInviteResponse = zInvite;
|
|
824
|
-
export const
|
|
825
|
-
|
|
826
|
-
path: z.object({
|
|
827
|
-
code: z.string()
|
|
828
|
-
}),
|
|
829
|
-
query: z.never().optional()
|
|
717
|
+
export const zGetInvitePath = z.object({
|
|
718
|
+
code: z.string()
|
|
830
719
|
});
|
|
831
720
|
/**
|
|
832
721
|
* Returns a single object containing invite details.
|
|
833
722
|
*/
|
|
834
723
|
export const zGetInviteResponse = zInvite;
|
|
835
|
-
export const
|
|
836
|
-
|
|
837
|
-
path: z.object({
|
|
838
|
-
email: z.string()
|
|
839
|
-
}),
|
|
840
|
-
query: z.never().optional()
|
|
841
|
-
});
|
|
842
|
-
export const zListMarketplaceChartsData = z.object({
|
|
843
|
-
body: z.never().optional(),
|
|
844
|
-
path: z.never().optional(),
|
|
845
|
-
query: z.never().optional()
|
|
724
|
+
export const zDeleteInvitePath = z.object({
|
|
725
|
+
email: z.string()
|
|
846
726
|
});
|
|
847
727
|
/**
|
|
848
728
|
* An array of chart listings in the marketplace.
|
|
849
729
|
*/
|
|
850
730
|
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
851
|
-
export const
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
chart_name: z.string(),
|
|
855
|
-
version_channel: z.string()
|
|
856
|
-
}),
|
|
857
|
-
query: z.never().optional()
|
|
731
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
732
|
+
chart_name: z.string(),
|
|
733
|
+
version_channel: z.string()
|
|
858
734
|
});
|
|
859
735
|
/**
|
|
860
736
|
* Returns an object containing the chart files for the latest matching version.
|
|
861
737
|
*/
|
|
862
738
|
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
query: z.never().optional()
|
|
739
|
+
/**
|
|
740
|
+
* JSON-RPC 2.0 request payload
|
|
741
|
+
*/
|
|
742
|
+
export const zPostMcpBody = z.object({
|
|
743
|
+
jsonrpc: z.string().optional(),
|
|
744
|
+
method: z.string().optional(),
|
|
745
|
+
id: z.union([
|
|
746
|
+
z.string(),
|
|
747
|
+
z.number()
|
|
748
|
+
]).optional(),
|
|
749
|
+
params: z.record(z.string(), z.unknown()).optional()
|
|
875
750
|
});
|
|
876
751
|
/**
|
|
877
752
|
* JSON-RPC 2.0 success or error response
|
|
@@ -888,127 +763,73 @@ export const zPostMcpResponse = z.object({
|
|
|
888
763
|
message: z.string().optional()
|
|
889
764
|
}).optional()
|
|
890
765
|
});
|
|
891
|
-
export const zGetOrganizationData = z.object({
|
|
892
|
-
body: z.never().optional(),
|
|
893
|
-
path: z.never().optional(),
|
|
894
|
-
query: z.never().optional()
|
|
895
|
-
});
|
|
896
766
|
/**
|
|
897
767
|
* Returns a single object containing organization details.
|
|
898
768
|
*/
|
|
899
769
|
export const zGetOrganizationResponse = zOrganization;
|
|
900
|
-
export const
|
|
901
|
-
body: zOrganizationCreateInput,
|
|
902
|
-
path: z.never().optional(),
|
|
903
|
-
query: z.never().optional()
|
|
904
|
-
});
|
|
905
|
-
export const zListRepositoriesData = z.object({
|
|
906
|
-
body: z.never().optional(),
|
|
907
|
-
path: z.never().optional(),
|
|
908
|
-
query: z.never().optional()
|
|
909
|
-
});
|
|
770
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
910
771
|
/**
|
|
911
772
|
* List of repositories
|
|
912
773
|
*/
|
|
913
774
|
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
914
|
-
export const
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
region: z.string(),
|
|
918
|
-
repository: z.string()
|
|
919
|
-
}),
|
|
920
|
-
query: z.never().optional()
|
|
775
|
+
export const zListTagsPath = z.object({
|
|
776
|
+
region: z.string(),
|
|
777
|
+
repository: z.string()
|
|
921
778
|
});
|
|
922
779
|
/**
|
|
923
780
|
* Repository with tags
|
|
924
781
|
*/
|
|
925
782
|
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
926
|
-
export const
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
export const zGetTagData = z.object({
|
|
936
|
-
body: z.never().optional(),
|
|
937
|
-
path: z.object({
|
|
938
|
-
region: z.string(),
|
|
939
|
-
repository: z.string(),
|
|
940
|
-
tag: z.string()
|
|
941
|
-
}),
|
|
942
|
-
query: z.never().optional()
|
|
783
|
+
export const zDeleteTagPath = z.object({
|
|
784
|
+
region: z.string(),
|
|
785
|
+
repository: z.string(),
|
|
786
|
+
tag: z.string()
|
|
787
|
+
});
|
|
788
|
+
export const zGetTagPath = z.object({
|
|
789
|
+
region: z.string(),
|
|
790
|
+
repository: z.string(),
|
|
791
|
+
tag: z.string()
|
|
943
792
|
});
|
|
944
793
|
/**
|
|
945
794
|
* Tag details
|
|
946
795
|
*/
|
|
947
796
|
export const zGetTagResponse = zRegistryTag;
|
|
948
|
-
export const zListTokensData = z.object({
|
|
949
|
-
body: z.never().optional(),
|
|
950
|
-
path: z.never().optional(),
|
|
951
|
-
query: z.never().optional()
|
|
952
|
-
});
|
|
953
797
|
/**
|
|
954
798
|
* Returns a list of access token details with masked secrets.
|
|
955
799
|
*/
|
|
956
800
|
export const zListTokensResponse = z.array(zToken);
|
|
957
|
-
export const
|
|
958
|
-
body: zTokenCreateInput,
|
|
959
|
-
path: z.never().optional(),
|
|
960
|
-
query: z.never().optional()
|
|
961
|
-
});
|
|
801
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
962
802
|
/**
|
|
963
803
|
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
964
804
|
*/
|
|
965
805
|
export const zCreateTokenResponse = zToken;
|
|
966
|
-
export const
|
|
967
|
-
|
|
968
|
-
path: z.object({
|
|
969
|
-
token_id: z.string()
|
|
970
|
-
}),
|
|
971
|
-
query: z.never().optional()
|
|
806
|
+
export const zDeleteTokenPath = z.object({
|
|
807
|
+
token_id: z.string()
|
|
972
808
|
});
|
|
973
|
-
export const
|
|
974
|
-
|
|
975
|
-
path: z.object({
|
|
976
|
-
token_id: z.string()
|
|
977
|
-
}),
|
|
978
|
-
query: z.never().optional()
|
|
809
|
+
export const zGetTokenPath = z.object({
|
|
810
|
+
token_id: z.string()
|
|
979
811
|
});
|
|
980
812
|
/**
|
|
981
813
|
* Returns access token details with masked secret.
|
|
982
814
|
*/
|
|
983
815
|
export const zGetTokenResponse = zToken;
|
|
984
|
-
export const
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
token_id: z.string()
|
|
988
|
-
}),
|
|
989
|
-
query: z.never().optional()
|
|
816
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
817
|
+
export const zUpdateTokenPath = z.object({
|
|
818
|
+
token_id: z.string()
|
|
990
819
|
});
|
|
991
820
|
/**
|
|
992
821
|
* Successfully updated. Returns updated token details with masked secret.
|
|
993
822
|
*/
|
|
994
823
|
export const zUpdateTokenResponse = zToken;
|
|
995
|
-
export const
|
|
996
|
-
|
|
997
|
-
path: z.object({
|
|
998
|
-
token_id: z.string()
|
|
999
|
-
}),
|
|
1000
|
-
query: z.never().optional()
|
|
824
|
+
export const zRegenerateTokenPath = z.object({
|
|
825
|
+
token_id: z.string()
|
|
1001
826
|
});
|
|
1002
827
|
/**
|
|
1003
828
|
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1004
829
|
*/
|
|
1005
830
|
export const zRegenerateTokenResponse = zToken;
|
|
1006
|
-
export const
|
|
1007
|
-
|
|
1008
|
-
path: z.object({
|
|
1009
|
-
email: z.string()
|
|
1010
|
-
}),
|
|
1011
|
-
query: z.never().optional()
|
|
831
|
+
export const zListUserOrganizationsPath = z.object({
|
|
832
|
+
email: z.string()
|
|
1012
833
|
});
|
|
1013
834
|
/**
|
|
1014
835
|
* An array of organizations the user belongs to.
|
|
@@ -1017,52 +838,32 @@ export const zListUserOrganizationsResponse = z.array(z.object({
|
|
|
1017
838
|
realm: z.string().optional(),
|
|
1018
839
|
displayName: z.string().optional()
|
|
1019
840
|
}));
|
|
1020
|
-
export const zListUsersData = z.object({
|
|
1021
|
-
body: z.never().optional(),
|
|
1022
|
-
path: z.never().optional(),
|
|
1023
|
-
query: z.never().optional()
|
|
1024
|
-
});
|
|
1025
841
|
/**
|
|
1026
842
|
* An array of users
|
|
1027
843
|
*/
|
|
1028
844
|
export const zListUsersResponse = z.array(zUser);
|
|
1029
|
-
export const
|
|
1030
|
-
body: zUserCreateInput,
|
|
1031
|
-
path: z.never().optional(),
|
|
1032
|
-
query: z.never().optional()
|
|
1033
|
-
});
|
|
845
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
1034
846
|
/**
|
|
1035
847
|
* Successfully created. Returns created user details.
|
|
1036
848
|
*/
|
|
1037
849
|
export const zCreateUserResponse = zUser;
|
|
1038
|
-
export const
|
|
1039
|
-
|
|
1040
|
-
path: z.object({
|
|
1041
|
-
user_id: z.string()
|
|
1042
|
-
}),
|
|
1043
|
-
query: z.never().optional()
|
|
850
|
+
export const zDeleteUserPath = z.object({
|
|
851
|
+
user_id: z.string()
|
|
1044
852
|
});
|
|
1045
853
|
/**
|
|
1046
854
|
* User profile information
|
|
1047
855
|
*/
|
|
1048
856
|
export const zDeleteUserResponse = zUser;
|
|
1049
|
-
export const
|
|
1050
|
-
|
|
1051
|
-
path: z.object({
|
|
1052
|
-
user_id: z.string()
|
|
1053
|
-
}),
|
|
1054
|
-
query: z.never().optional()
|
|
857
|
+
export const zGetUserPath = z.object({
|
|
858
|
+
user_id: z.string()
|
|
1055
859
|
});
|
|
1056
860
|
/**
|
|
1057
861
|
* User profile information
|
|
1058
862
|
*/
|
|
1059
863
|
export const zGetUserResponse = zUser;
|
|
1060
|
-
export const
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
user_id: z.string()
|
|
1064
|
-
}),
|
|
1065
|
-
query: z.never().optional()
|
|
864
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
865
|
+
export const zUpdateUserPath = z.object({
|
|
866
|
+
user_id: z.string()
|
|
1066
867
|
});
|
|
1067
868
|
/**
|
|
1068
869
|
* Successfully created. Returns created user details.
|