@thomas-labs/scrape-service-lib 1.1.37 → 1.1.39

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
@@ -20,7 +20,7 @@ class AppClient {
20
20
  constructor(config, HttpRequest = FetchHttpRequest_1.FetchHttpRequest) {
21
21
  this.request = new HttpRequest({
22
22
  BASE: config?.BASE ?? '/api',
23
- VERSION: config?.VERSION ?? '1.0.38',
23
+ VERSION: config?.VERSION ?? '1.0.40',
24
24
  WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
25
25
  CREDENTIALS: config?.CREDENTIALS ?? 'include',
26
26
  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.38',
6
+ VERSION: '1.0.40',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -6,6 +6,12 @@ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
6
6
  export declare class CollectionTestService {
7
7
  readonly httpRequest: BaseHttpRequest;
8
8
  constructor(httpRequest: BaseHttpRequest);
9
+ /**
10
+ * @param collectionId
11
+ * @returns any Ok
12
+ * @throws ApiError
13
+ */
14
+ autoJoin(collectionId?: string): CancelablePromise<any>;
9
15
  /**
10
16
  * @param page
11
17
  * @param limit
@@ -5,6 +5,20 @@ class CollectionTestService {
5
5
  constructor(httpRequest) {
6
6
  this.httpRequest = httpRequest;
7
7
  }
8
+ /**
9
+ * @param collectionId
10
+ * @returns any Ok
11
+ * @throws ApiError
12
+ */
13
+ autoJoin(collectionId) {
14
+ return this.httpRequest.request({
15
+ method: 'POST',
16
+ url: '/test/collection/sessions/auto-join',
17
+ query: {
18
+ 'collectionId': collectionId,
19
+ },
20
+ });
21
+ }
8
22
  /**
9
23
  * @param page
10
24
  * @param limit
@@ -67,25 +67,35 @@ export declare class StatsService {
67
67
  terms(year?: number, month?: number, date?: string): CancelablePromise<any>;
68
68
  /**
69
69
  * @param year
70
+ * @param month
70
71
  * @returns any Ok
71
72
  * @throws ApiError
72
73
  */
73
- adminUserGrowth(year?: number): CancelablePromise<any>;
74
+ adminUserGrowth(year?: number, month?: number): CancelablePromise<any>;
74
75
  /**
76
+ * @param year
77
+ * @param month
78
+ * @param day
75
79
  * @returns any Ok
76
80
  * @throws ApiError
77
81
  */
78
- adminActiveUsers(): CancelablePromise<any>;
82
+ adminActiveUsers(year?: number, month?: number, day?: number): CancelablePromise<any>;
79
83
  /**
80
84
  * @param days
85
+ * @param year
86
+ * @param month
87
+ * @param day
81
88
  * @returns any Ok
82
89
  * @throws ApiError
83
90
  */
84
- adminActivationFunnel(days?: number): CancelablePromise<any>;
91
+ adminActivationFunnel(days?: number, year?: number, month?: number, day?: number): CancelablePromise<any>;
85
92
  /**
86
93
  * @param days
94
+ * @param year
95
+ * @param month
96
+ * @param day
87
97
  * @returns any Ok
88
98
  * @throws ApiError
89
99
  */
90
- adminReportTicketsDaily(days?: number): CancelablePromise<any>;
100
+ adminReportTicketsDaily(days?: number, year?: number, month?: number, day?: number): CancelablePromise<any>;
91
101
  }
@@ -143,53 +143,75 @@ class StatsService {
143
143
  }
144
144
  /**
145
145
  * @param year
146
+ * @param month
146
147
  * @returns any Ok
147
148
  * @throws ApiError
148
149
  */
149
- adminUserGrowth(year) {
150
+ adminUserGrowth(year, month) {
150
151
  return this.httpRequest.request({
151
152
  method: 'GET',
152
153
  url: '/stats/admin/user-growth',
153
154
  query: {
154
155
  'year': year,
156
+ 'month': month,
155
157
  },
156
158
  });
157
159
  }
158
160
  /**
161
+ * @param year
162
+ * @param month
163
+ * @param day
159
164
  * @returns any Ok
160
165
  * @throws ApiError
161
166
  */
162
- adminActiveUsers() {
167
+ adminActiveUsers(year, month, day) {
163
168
  return this.httpRequest.request({
164
169
  method: 'GET',
165
170
  url: '/stats/admin/active-users',
171
+ query: {
172
+ 'year': year,
173
+ 'month': month,
174
+ 'day': day,
175
+ },
166
176
  });
167
177
  }
168
178
  /**
169
179
  * @param days
180
+ * @param year
181
+ * @param month
182
+ * @param day
170
183
  * @returns any Ok
171
184
  * @throws ApiError
172
185
  */
173
- adminActivationFunnel(days) {
186
+ adminActivationFunnel(days, year, month, day) {
174
187
  return this.httpRequest.request({
175
188
  method: 'GET',
176
189
  url: '/stats/admin/activation-funnel',
177
190
  query: {
178
191
  'days': days,
192
+ 'year': year,
193
+ 'month': month,
194
+ 'day': day,
179
195
  },
180
196
  });
181
197
  }
182
198
  /**
183
199
  * @param days
200
+ * @param year
201
+ * @param month
202
+ * @param day
184
203
  * @returns any Ok
185
204
  * @throws ApiError
186
205
  */
187
- adminReportTicketsDaily(days) {
206
+ adminReportTicketsDaily(days, year, month, day) {
188
207
  return this.httpRequest.request({
189
208
  method: 'GET',
190
209
  url: '/stats/admin/report-tickets-daily',
191
210
  query: {
192
211
  'days': days,
212
+ 'year': year,
213
+ 'month': month,
214
+ 'day': day,
193
215
  },
194
216
  });
195
217
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thomas-labs/scrape-service-lib",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",