@thomas-labs/scrape-service-lib 1.1.54 → 1.1.55

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/dist/AppClient.js CHANGED
@@ -22,7 +22,7 @@ class AppClient {
22
22
  constructor(config, HttpRequest = FetchHttpRequest_1.FetchHttpRequest) {
23
23
  this.request = new HttpRequest({
24
24
  BASE: config?.BASE ?? '/api',
25
- VERSION: config?.VERSION ?? '1.0.62',
25
+ VERSION: config?.VERSION ?? '1.0.63',
26
26
  WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
27
27
  CREDENTIALS: config?.CREDENTIALS ?? 'include',
28
28
  TOKEN: config?.TOKEN,
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.0.62',
6
+ VERSION: '1.0.63',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -15,4 +15,14 @@ export declare class UserService {
15
15
  * @throws ApiError
16
16
  */
17
17
  updateMe(requestBody: UpdateUserProfileDto): CancelablePromise<any>;
18
+ /**
19
+ * @param page
20
+ * @param limit
21
+ * @param search
22
+ * @param cursorId
23
+ * @param take
24
+ * @returns any Ok
25
+ * @throws ApiError
26
+ */
27
+ adminList(page?: number, limit?: number, search?: string, cursorId?: string, take?: number): CancelablePromise<any>;
18
28
  }
@@ -28,5 +28,27 @@ class UserService {
28
28
  mediaType: 'application/json',
29
29
  });
30
30
  }
31
+ /**
32
+ * @param page
33
+ * @param limit
34
+ * @param search
35
+ * @param cursorId
36
+ * @param take
37
+ * @returns any Ok
38
+ * @throws ApiError
39
+ */
40
+ adminList(page, limit, search, cursorId, take) {
41
+ return this.httpRequest.request({
42
+ method: 'GET',
43
+ url: '/user/admin/list',
44
+ query: {
45
+ 'page': page,
46
+ 'limit': limit,
47
+ 'search': search,
48
+ 'cursorId': cursorId,
49
+ 'take': take,
50
+ },
51
+ });
52
+ }
31
53
  }
32
54
  exports.UserService = UserService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thomas-labs/scrape-service-lib",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",