@thomas-labs/scrape-service-lib 1.1.72 → 1.1.74

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.80',
25
+ VERSION: config?.VERSION ?? '1.0.82',
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.80',
6
+ VERSION: '1.0.82',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -48,9 +48,22 @@ export declare class CollectionsService {
48
48
  * @throws ApiError
49
49
  */
50
50
  start(requestBody: StartCollectionDto): CancelablePromise<{
51
+ roundNo: any;
52
+ roundId: any;
51
53
  collectionId: any;
52
54
  ok: boolean;
53
55
  }>;
56
+ /**
57
+ * @param collectionId
58
+ * @returns any Ok
59
+ * @throws ApiError
60
+ */
61
+ startNewRound(collectionId: string): CancelablePromise<{
62
+ roundNo: any;
63
+ roundId: any;
64
+ collectionId: string;
65
+ ok: boolean;
66
+ }>;
54
67
  /**
55
68
  * @param requestBody
56
69
  * @returns any Ok
@@ -86,4 +99,18 @@ export declare class CollectionsService {
86
99
  * @throws ApiError
87
100
  */
88
101
  remove(collectionId: string): CancelablePromise<any>;
102
+ /**
103
+ * @param collectionId
104
+ * @param cursorId
105
+ * @param take
106
+ * @returns any Ok
107
+ * @throws ApiError
108
+ */
109
+ rounds(collectionId: string, cursorId?: string, take?: number): CancelablePromise<any>;
110
+ /**
111
+ * @param collectionId
112
+ * @returns any Ok
113
+ * @throws ApiError
114
+ */
115
+ progress(collectionId: string): CancelablePromise<any>;
89
116
  }
@@ -66,6 +66,20 @@ class CollectionsService {
66
66
  mediaType: 'application/json',
67
67
  });
68
68
  }
69
+ /**
70
+ * @param collectionId
71
+ * @returns any Ok
72
+ * @throws ApiError
73
+ */
74
+ startNewRound(collectionId) {
75
+ return this.httpRequest.request({
76
+ method: 'POST',
77
+ url: '/collections/{collectionId}/rounds/start',
78
+ path: {
79
+ 'collectionId': collectionId,
80
+ },
81
+ });
82
+ }
69
83
  /**
70
84
  * @param requestBody
71
85
  * @returns any Ok
@@ -136,5 +150,39 @@ class CollectionsService {
136
150
  },
137
151
  });
138
152
  }
153
+ /**
154
+ * @param collectionId
155
+ * @param cursorId
156
+ * @param take
157
+ * @returns any Ok
158
+ * @throws ApiError
159
+ */
160
+ rounds(collectionId, cursorId, take) {
161
+ return this.httpRequest.request({
162
+ method: 'GET',
163
+ url: '/collections/{collectionId}/rounds',
164
+ path: {
165
+ 'collectionId': collectionId,
166
+ },
167
+ query: {
168
+ 'cursorId': cursorId,
169
+ 'take': take,
170
+ },
171
+ });
172
+ }
173
+ /**
174
+ * @param collectionId
175
+ * @returns any Ok
176
+ * @throws ApiError
177
+ */
178
+ progress(collectionId) {
179
+ return this.httpRequest.request({
180
+ method: 'GET',
181
+ url: '/collections/{collectionId}/progress',
182
+ path: {
183
+ 'collectionId': collectionId,
184
+ },
185
+ });
186
+ }
139
187
  }
140
188
  exports.CollectionsService = CollectionsService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thomas-labs/scrape-service-lib",
3
- "version": "1.1.72",
3
+ "version": "1.1.74",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",