testit-js-commons 2.1.8 → 2.2.0

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.
@@ -1,4 +1,4 @@
1
- import { AutoTestModelV2GetModel, AutoTestPostModel, CreateAutoTestRequest } from "testit-api-client";
1
+ import { AutoTestModelV2GetModel, AutoTestPostModel } from "testit-api-client";
2
2
  import { BaseConverter, AdapterConfig } from "../../common";
3
3
  import { AutotestGet, AutotestPost } from "./autotests.type";
4
4
  export interface IAutotestConverter {
@@ -7,6 +7,6 @@ export interface IAutotestConverter {
7
7
  }
8
8
  export declare class AutotestConverter extends BaseConverter implements IAutotestConverter {
9
9
  constructor(config: AdapterConfig);
10
- toOriginAutotest(autotest: AutotestPost): CreateAutoTestRequest;
10
+ toOriginAutotest(autotest: AutotestPost): AutoTestPostModel;
11
11
  toLocalAutotest(autotest: AutoTestModelV2GetModel): AutotestGet;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-js-commons",
3
- "version": "2.1.8",
3
+ "version": "2.2.0",
4
4
  "description": "JavaScript commons for Test IT",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "dotenv": "^16.0.3",
28
- "testit-api-client": "~4.1.0"
28
+ "testit-api-client": "~5.0.0"
29
29
  },
30
30
  "files": [
31
31
  "lib"