@sentio/api 1.0.5-rc.2 → 1.0.5-rc.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.
@@ -209,7 +209,7 @@ export declare class WebService {
209
209
  */
210
210
  static listDashboards<ThrowOnError extends boolean = false>(options?: Options<web_service.ListDashboardsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
211
211
  /**
212
- * Import a dashboard to another dashboard
212
+ * Import a dashboard
213
213
  */
214
214
  static importDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ImportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ImportDashboardResponse, unknown, ThrowOnError>;
215
215
  /**
@@ -840,7 +840,7 @@ class WebService {
840
840
  });
841
841
  }
842
842
  /**
843
- * Import a dashboard to another dashboard
843
+ * Import a dashboard
844
844
  */
845
845
  static importDashboard(options) {
846
846
  return (options.client ?? client_gen_1.client).post({
@@ -3357,9 +3357,7 @@ export declare namespace web_service {
3357
3357
  timeRange?: common.TimeRange;
3358
3358
  };
3359
3359
  type ExportDashboardResponse = {
3360
- dashboardJson?: {
3361
- [key: string]: unknown;
3362
- };
3360
+ dashboardJson?: Dashboard;
3363
3361
  };
3364
3362
  type GetDashboardHistoryResponse = {
3365
3363
  histories?: Array<DashboardHistory>;
@@ -3374,12 +3372,7 @@ export declare namespace web_service {
3374
3372
  * The id of the target dashboard to import into.
3375
3373
  */
3376
3374
  dashboardId: string;
3377
- /**
3378
- * The json data of a previously exported dashboard.
3379
- */
3380
- dashboardJson: {
3381
- [key: string]: unknown;
3382
- };
3375
+ dashboardJson: Dashboard;
3383
3376
  /**
3384
3377
  * Override the layout of target dashboard.
3385
3378
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/api",
3
- "version": "1.0.5-rc.2",
3
+ "version": "1.0.5-rc.4",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/sdk.gen.ts CHANGED
@@ -892,7 +892,7 @@ export class WebService {
892
892
  }
893
893
 
894
894
  /**
895
- * Import a dashboard to another dashboard
895
+ * Import a dashboard
896
896
  */
897
897
  public static importDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ImportDashboardData, ThrowOnError>) {
898
898
  return (options.client ?? _heyApiClient).post<web_service.ImportDashboardResponse2, unknown, ThrowOnError>({
package/src/types.gen.ts CHANGED
@@ -3371,9 +3371,7 @@ export namespace web_service {
3371
3371
  timeRange?: common.TimeRange;
3372
3372
  };
3373
3373
  export type ExportDashboardResponse = {
3374
- dashboardJson?: {
3375
- [key: string]: unknown;
3376
- };
3374
+ dashboardJson?: Dashboard;
3377
3375
  };
3378
3376
  export type GetDashboardHistoryResponse = {
3379
3377
  histories?: Array<DashboardHistory>;
@@ -3388,12 +3386,7 @@ export namespace web_service {
3388
3386
  * The id of the target dashboard to import into.
3389
3387
  */
3390
3388
  dashboardId: string;
3391
- /**
3392
- * The json data of a previously exported dashboard.
3393
- */
3394
- dashboardJson: {
3395
- [key: string]: unknown;
3396
- };
3389
+ dashboardJson: Dashboard;
3397
3390
  /**
3398
3391
  * Override the layout of target dashboard.
3399
3392
  */