@thomas-labs/scrape-service-lib 1.1.7 → 1.1.8

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
@@ -16,7 +16,7 @@ class AppClient {
16
16
  constructor(config, HttpRequest = FetchHttpRequest_1.FetchHttpRequest) {
17
17
  this.request = new HttpRequest({
18
18
  BASE: config?.BASE ?? '/api',
19
- VERSION: config?.VERSION ?? '1.0.8',
19
+ VERSION: config?.VERSION ?? '1.0.9',
20
20
  WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
21
21
  CREDENTIALS: config?.CREDENTIALS ?? 'include',
22
22
  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.8',
6
+ VERSION: '1.0.9',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -24,6 +24,11 @@ export declare class StatsService {
24
24
  * @throws ApiError
25
25
  */
26
26
  history(year?: number, month?: number): CancelablePromise<any>;
27
+ /**
28
+ * @returns any Ok
29
+ * @throws ApiError
30
+ */
31
+ historyYears(): CancelablePromise<any>;
27
32
  /**
28
33
  * @param year
29
34
  * @param month
@@ -31,6 +31,16 @@ class StatsService {
31
31
  },
32
32
  });
33
33
  }
34
+ /**
35
+ * @returns any Ok
36
+ * @throws ApiError
37
+ */
38
+ historyYears() {
39
+ return this.httpRequest.request({
40
+ method: 'GET',
41
+ url: '/stats/history/years',
42
+ });
43
+ }
34
44
  /**
35
45
  * @param year
36
46
  * @param month
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thomas-labs/scrape-service-lib",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",