@roxybrowser/openapi 1.0.13-beta.6 → 1.0.13-beta.7

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/lib/index.d.cts CHANGED
@@ -2801,6 +2801,10 @@ declare class GetBrowserDetail {
2801
2801
  type: string;
2802
2802
  description: string;
2803
2803
  };
2804
+ windowSortNum: {
2805
+ type: string;
2806
+ description: string;
2807
+ };
2804
2808
  };
2805
2809
  required: string[];
2806
2810
  };
@@ -2818,6 +2822,10 @@ declare class GetBrowserDetail {
2818
2822
  type: string;
2819
2823
  description: string;
2820
2824
  };
2825
+ windowSortNum: {
2826
+ type: string;
2827
+ description: string;
2828
+ };
2821
2829
  };
2822
2830
  required: string[];
2823
2831
  };
package/lib/index.d.ts CHANGED
@@ -2801,6 +2801,10 @@ declare class GetBrowserDetail {
2801
2801
  type: string;
2802
2802
  description: string;
2803
2803
  };
2804
+ windowSortNum: {
2805
+ type: string;
2806
+ description: string;
2807
+ };
2804
2808
  };
2805
2809
  required: string[];
2806
2810
  };
@@ -2818,6 +2822,10 @@ declare class GetBrowserDetail {
2818
2822
  type: string;
2819
2823
  description: string;
2820
2824
  };
2825
+ windowSortNum: {
2826
+ type: string;
2827
+ description: string;
2828
+ };
2821
2829
  };
2822
2830
  required: string[];
2823
2831
  };
package/lib/index.js CHANGED
@@ -2120,6 +2120,14 @@ var ListBrowsers = class {
2120
2120
  searchParams.append("page_index", params.pageIndex.toString());
2121
2121
  if (params.pageSize)
2122
2122
  searchParams.append("page_size", params.pageSize.toString());
2123
+ if (params.windowSortNum) {
2124
+ if (params.windowSortNum.includes("-")) {
2125
+ const [_, serialNo] = params.windowSortNum.split("-").map((s) => s.trim());
2126
+ searchParams.append("windowSortNum", serialNo);
2127
+ } else {
2128
+ searchParams.append("windowSortNum", params.windowSortNum);
2129
+ }
2130
+ }
2123
2131
  const result = await request(`/browser/list_v3?${searchParams}`, {
2124
2132
  method: "GET"
2125
2133
  });
@@ -2314,6 +2322,10 @@ var GetBrowserDetail = class {
2314
2322
  dirId: {
2315
2323
  type: "string",
2316
2324
  description: "Browser directory ID"
2325
+ },
2326
+ windowSortNum: {
2327
+ type: "string",
2328
+ description: "Filter by window `Serial No` (e.g. 1, 102)"
2317
2329
  }
2318
2330
  },
2319
2331
  required: ["workspaceId", "dirId"]
@@ -2339,6 +2351,14 @@ var GetBrowserDetail = class {
2339
2351
  const searchParams = new URLSearchParams();
2340
2352
  searchParams.append("workspaceId", params.workspaceId.toString());
2341
2353
  searchParams.append("dirId", params.dirId);
2354
+ if (params.windowSortNum) {
2355
+ if (params.windowSortNum.includes("-")) {
2356
+ const [_, serialNo] = params.windowSortNum.split("-").map((s) => s.trim());
2357
+ searchParams.append("windowSortNum", serialNo);
2358
+ } else {
2359
+ searchParams.append("windowSortNum", params.windowSortNum);
2360
+ }
2361
+ }
2342
2362
  const result = await request(`/browser/detail?${searchParams}`, {
2343
2363
  method: "GET"
2344
2364
  });