@daocloud-proto/insight 0.9.12 → 0.9.13-4

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.
@@ -156,8 +156,8 @@ export class Log {
156
156
  static DownloadLog(req: InsightIoApiLogV1alpha1Log.DownloadLogRequest, initReq?: fm.InitReq): Promise<InsightIoApiLogV1alpha1Log.DownloadLogResponse> {
157
157
  return fm.fetchReq<InsightIoApiLogV1alpha1Log.DownloadLogRequest, InsightIoApiLogV1alpha1Log.DownloadLogResponse>(`/apis/insight.io/v1alpha1/log/export`, {...initReq, method: "POST", body: JSON.stringify(req)})
158
158
  }
159
- static ListLogFilePaths(req: empty, initReq?: fm.InitReq): Promise<InsightIoApiLogV1alpha1Log.ListLogFilePathsResponse> {
160
- return fm.fetchReq<empty, InsightIoApiLogV1alpha1Log.ListLogFilePathsResponse>(`/apis/insight.io/v1alpha1/log/filepaths?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
159
+ static ListLogFilePaths(req: InsightIoApiLogV1alpha1Log.ListLogFilePathsRequest, initReq?: fm.InitReq): Promise<InsightIoApiLogV1alpha1Log.ListLogFilePathsResponse> {
160
+ return fm.fetchReq<InsightIoApiLogV1alpha1Log.ListLogFilePathsRequest, InsightIoApiLogV1alpha1Log.ListLogFilePathsResponse>(`/apis/insight.io/v1alpha1/log/filepaths?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
161
161
  }
162
162
  }
163
163
  export class Metric {
@@ -134,6 +134,10 @@ export type DownloadLogResponse = {
134
134
  url?: string
135
135
  }
136
136
 
137
+ export type ListLogFilePathsRequest = {
138
+ cluster?: string
139
+ }
140
+
137
141
  export type ListLogFilePathsResponse = {
138
142
  paths?: string[]
139
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.9.12",
3
+ "version":"0.9.13-4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {