@daocloud-proto/hydra 0.2.0-dev-10 → 0.5.0-dev-1
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.
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as fm from "../../../fetch.pb"
|
|
8
|
+
export type GetWebSearchAgentConfigRequest = {
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type WebSearchAgentConfig = {
|
|
12
|
+
address?: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type GetWebSearchAgentConfigResponse = {
|
|
16
|
+
config?: WebSearchAgentConfig
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export class Management {
|
|
20
|
+
static GetWebSearchAgentConfig(req: GetWebSearchAgentConfigRequest, initReq?: fm.InitReq): Promise<GetWebSearchAgentConfigResponse> {
|
|
21
|
+
return fm.fetchReq<GetWebSearchAgentConfigRequest, GetWebSearchAgentConfigResponse>(`/apis/hydra.io/v1alpha1/web-search-agent/config?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
22
|
+
}
|
|
23
|
+
}
|