@@ -87,7 +87,16 @@ import type {
8787 ListProjectV1ProjectListGetResponse ,
8888 CheckProjectTomlV1ProjectCheckTomlPostData ,
8989 CheckProjectTomlV1ProjectCheckTomlPostError ,
90- CheckProjectTomlV1ProjectCheckTomlPostResponse
90+ CheckProjectTomlV1ProjectCheckTomlPostResponse ,
91+ GetPluginsV1ProjectPluginsGetData ,
92+ GetPluginsV1ProjectPluginsGetError ,
93+ GetPluginsV1ProjectPluginsGetResponse ,
94+ GetAdaptersV1ProjectAdaptersGetData ,
95+ GetAdaptersV1ProjectAdaptersGetError ,
96+ GetAdaptersV1ProjectAdaptersGetResponse ,
97+ GetDriversV1ProjectDriversGetData ,
98+ GetDriversV1ProjectDriversGetError ,
99+ GetDriversV1ProjectDriversGetResponse
91100} from './types.gen'
92101
93102export const client = createClient ( createConfig ( ) )
@@ -602,4 +611,55 @@ export class ProjectService {
602611 url : '/v1/project/check_toml'
603612 } )
604613 }
614+
615+ /**
616+ * Get Plugins
617+ * - 获取实例的插件列表
618+ */
619+ public static getPluginsV1ProjectPluginsGet < ThrowOnError extends boolean = false > (
620+ options : Options < GetPluginsV1ProjectPluginsGetData , ThrowOnError >
621+ ) {
622+ return ( options ?. client ?? client ) . get <
623+ GetPluginsV1ProjectPluginsGetResponse ,
624+ GetPluginsV1ProjectPluginsGetError ,
625+ ThrowOnError
626+ > ( {
627+ ...options ,
628+ url : '/v1/project/plugins'
629+ } )
630+ }
631+
632+ /**
633+ * Get Adapters
634+ * - 获取实例的适配器列表
635+ */
636+ public static getAdaptersV1ProjectAdaptersGet < ThrowOnError extends boolean = false > (
637+ options : Options < GetAdaptersV1ProjectAdaptersGetData , ThrowOnError >
638+ ) {
639+ return ( options ?. client ?? client ) . get <
640+ GetAdaptersV1ProjectAdaptersGetResponse ,
641+ GetAdaptersV1ProjectAdaptersGetError ,
642+ ThrowOnError
643+ > ( {
644+ ...options ,
645+ url : '/v1/project/adapters'
646+ } )
647+ }
648+
649+ /**
650+ * Get Drivers
651+ * - 获取实例的驱动器列表
652+ */
653+ public static getDriversV1ProjectDriversGet < ThrowOnError extends boolean = false > (
654+ options : Options < GetDriversV1ProjectDriversGetData , ThrowOnError >
655+ ) {
656+ return ( options ?. client ?? client ) . get <
657+ GetDriversV1ProjectDriversGetResponse ,
658+ GetDriversV1ProjectDriversGetError ,
659+ ThrowOnError
660+ > ( {
661+ ...options ,
662+ url : '/v1/project/drivers'
663+ } )
664+ }
605665}
0 commit comments