@roxybrowser/openapi 1.0.13-beta.5 → 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/cli.cjs +24 -0
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +24 -0
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +24 -0
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +16 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.js +24 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -2635,6 +2635,10 @@ declare class ListBrowsers {
|
|
|
2635
2635
|
type: string;
|
|
2636
2636
|
description: string;
|
|
2637
2637
|
};
|
|
2638
|
+
windowSortNum: {
|
|
2639
|
+
type: string;
|
|
2640
|
+
description: string;
|
|
2641
|
+
};
|
|
2638
2642
|
windowName: {
|
|
2639
2643
|
type: string;
|
|
2640
2644
|
description: string;
|
|
@@ -2666,6 +2670,10 @@ declare class ListBrowsers {
|
|
|
2666
2670
|
type: string;
|
|
2667
2671
|
description: string;
|
|
2668
2672
|
};
|
|
2673
|
+
windowSortNum: {
|
|
2674
|
+
type: string;
|
|
2675
|
+
description: string;
|
|
2676
|
+
};
|
|
2669
2677
|
windowName: {
|
|
2670
2678
|
type: string;
|
|
2671
2679
|
description: string;
|
|
@@ -2793,6 +2801,10 @@ declare class GetBrowserDetail {
|
|
|
2793
2801
|
type: string;
|
|
2794
2802
|
description: string;
|
|
2795
2803
|
};
|
|
2804
|
+
windowSortNum: {
|
|
2805
|
+
type: string;
|
|
2806
|
+
description: string;
|
|
2807
|
+
};
|
|
2796
2808
|
};
|
|
2797
2809
|
required: string[];
|
|
2798
2810
|
};
|
|
@@ -2810,6 +2822,10 @@ declare class GetBrowserDetail {
|
|
|
2810
2822
|
type: string;
|
|
2811
2823
|
description: string;
|
|
2812
2824
|
};
|
|
2825
|
+
windowSortNum: {
|
|
2826
|
+
type: string;
|
|
2827
|
+
description: string;
|
|
2828
|
+
};
|
|
2813
2829
|
};
|
|
2814
2830
|
required: string[];
|
|
2815
2831
|
};
|
package/lib/index.d.ts
CHANGED
|
@@ -2635,6 +2635,10 @@ declare class ListBrowsers {
|
|
|
2635
2635
|
type: string;
|
|
2636
2636
|
description: string;
|
|
2637
2637
|
};
|
|
2638
|
+
windowSortNum: {
|
|
2639
|
+
type: string;
|
|
2640
|
+
description: string;
|
|
2641
|
+
};
|
|
2638
2642
|
windowName: {
|
|
2639
2643
|
type: string;
|
|
2640
2644
|
description: string;
|
|
@@ -2666,6 +2670,10 @@ declare class ListBrowsers {
|
|
|
2666
2670
|
type: string;
|
|
2667
2671
|
description: string;
|
|
2668
2672
|
};
|
|
2673
|
+
windowSortNum: {
|
|
2674
|
+
type: string;
|
|
2675
|
+
description: string;
|
|
2676
|
+
};
|
|
2669
2677
|
windowName: {
|
|
2670
2678
|
type: string;
|
|
2671
2679
|
description: string;
|
|
@@ -2793,6 +2801,10 @@ declare class GetBrowserDetail {
|
|
|
2793
2801
|
type: string;
|
|
2794
2802
|
description: string;
|
|
2795
2803
|
};
|
|
2804
|
+
windowSortNum: {
|
|
2805
|
+
type: string;
|
|
2806
|
+
description: string;
|
|
2807
|
+
};
|
|
2796
2808
|
};
|
|
2797
2809
|
required: string[];
|
|
2798
2810
|
};
|
|
@@ -2810,6 +2822,10 @@ declare class GetBrowserDetail {
|
|
|
2810
2822
|
type: string;
|
|
2811
2823
|
description: string;
|
|
2812
2824
|
};
|
|
2825
|
+
windowSortNum: {
|
|
2826
|
+
type: string;
|
|
2827
|
+
description: string;
|
|
2828
|
+
};
|
|
2813
2829
|
};
|
|
2814
2830
|
required: string[];
|
|
2815
2831
|
};
|
package/lib/index.js
CHANGED
|
@@ -2081,6 +2081,10 @@ var ListBrowsers = class {
|
|
|
2081
2081
|
type: "string",
|
|
2082
2082
|
description: "Comma-separated project IDs"
|
|
2083
2083
|
},
|
|
2084
|
+
windowSortNum: {
|
|
2085
|
+
type: "string",
|
|
2086
|
+
description: "Filter by window `Serial No` (e.g. 1, 102)"
|
|
2087
|
+
},
|
|
2084
2088
|
windowName: {
|
|
2085
2089
|
type: "string",
|
|
2086
2090
|
description: "Filter by browser window name"
|
|
@@ -2116,6 +2120,14 @@ var ListBrowsers = class {
|
|
|
2116
2120
|
searchParams.append("page_index", params.pageIndex.toString());
|
|
2117
2121
|
if (params.pageSize)
|
|
2118
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
|
+
}
|
|
2119
2131
|
const result = await request(`/browser/list_v3?${searchParams}`, {
|
|
2120
2132
|
method: "GET"
|
|
2121
2133
|
});
|
|
@@ -2310,6 +2322,10 @@ var GetBrowserDetail = class {
|
|
|
2310
2322
|
dirId: {
|
|
2311
2323
|
type: "string",
|
|
2312
2324
|
description: "Browser directory ID"
|
|
2325
|
+
},
|
|
2326
|
+
windowSortNum: {
|
|
2327
|
+
type: "string",
|
|
2328
|
+
description: "Filter by window `Serial No` (e.g. 1, 102)"
|
|
2313
2329
|
}
|
|
2314
2330
|
},
|
|
2315
2331
|
required: ["workspaceId", "dirId"]
|
|
@@ -2335,6 +2351,14 @@ var GetBrowserDetail = class {
|
|
|
2335
2351
|
const searchParams = new URLSearchParams();
|
|
2336
2352
|
searchParams.append("workspaceId", params.workspaceId.toString());
|
|
2337
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
|
+
}
|
|
2338
2362
|
const result = await request(`/browser/detail?${searchParams}`, {
|
|
2339
2363
|
method: "GET"
|
|
2340
2364
|
});
|