testit-js-commons 5.1.2-TMS-6.0 → 5.1.2
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/lib/adapters-api/dist/ApiClient.js +6 -5
- package/lib/adapters-api/dist/api/AttachmentsApi.js +5 -5
- package/lib/adapters-api/dist/api/AutoTestsApi.js +118 -10
- package/lib/adapters-api/dist/api/ConfigurationsApi.js +1 -1
- package/lib/adapters-api/dist/api/CustomAttributesApi.js +4 -4
- package/lib/adapters-api/dist/api/ParametersApi.js +3 -3
- package/lib/adapters-api/dist/api/ProjectAttributesApi.js +2 -2
- package/lib/adapters-api/dist/api/ProjectSectionsApi.js +1 -1
- package/lib/adapters-api/dist/api/ProjectWorkItemsApi.js +1 -1
- package/lib/adapters-api/dist/api/ProjectsApi.js +4 -4
- package/lib/adapters-api/dist/api/SectionsApi.js +2 -2
- package/lib/adapters-api/dist/api/TestResultsApi.js +3 -3
- package/lib/adapters-api/dist/api/TestRunsApi.js +8 -8
- package/lib/adapters-api/dist/api/WorkItemsApi.js +3 -3
- package/lib/adapters-api/dist/api/WorkflowsApi.js +1 -1
- package/lib/adapters-api/dist/index.js +0 -7
- package/lib/adapters-api/dist/model/AutoTestFilterApiModel.js +0 -27
- package/lib/adapters-api/dist/model/AutoTestModel.js +0 -15
- package/lib/adapters-api/dist/model/AutoTestUpdateApiModel.js +6 -4
- package/lib/adapters-api/dist/model/CreateWorkItemApiModel.js +0 -22
- package/lib/adapters-api/dist/model/CustomAttributeType.js +0 -6
- package/lib/adapters-api/dist/model/CustomAttributeTypesEnum.js +0 -6
- package/lib/adapters-api/dist/model/WorkItemApiResult.js +4 -28
- package/lib/adapters-api/dist/model/WorkItemEntityTypeApiModel.js +0 -6
- package/lib/adapters-api/dist/model/WorkItemFilterApiModel.js +0 -40
- package/lib/adapters-api/dist/model/WorkItemTypeModel.js +0 -6
- package/lib/adapters-api/index.d.ts +96 -85
- package/lib/common/base.service.js +1 -4
- package/lib/services/syncstorage/syncstorage.runner.js +1 -1
- package/package.json +1 -1
- package/lib/adapters-api/dist/model/AutoTestCaseModel.js +0 -85
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
/**
|
|
10
|
-
* API
|
|
11
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
12
|
-
*
|
|
13
|
-
* The version of the OpenAPI document: adapters
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17
|
-
* https://openapi-generator.tech
|
|
18
|
-
* Do not edit the class manually.
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* The AutoTestCaseModel model module.
|
|
24
|
-
* @module model/AutoTestCaseModel
|
|
25
|
-
* @version 1.0.0
|
|
26
|
-
*/
|
|
27
|
-
class AutoTestCaseModel {
|
|
28
|
-
/**
|
|
29
|
-
* Constructs a new <code>AutoTestCaseModel</code>.
|
|
30
|
-
* @alias module:model/AutoTestCaseModel
|
|
31
|
-
* @param globalId {Number} Global ID of the auto test case
|
|
32
|
-
*/
|
|
33
|
-
constructor(globalId) {
|
|
34
|
-
AutoTestCaseModel.initialize(this, globalId);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Initializes the fields of this object.
|
|
39
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
40
|
-
* Only for internal use.
|
|
41
|
-
*/
|
|
42
|
-
static initialize(obj, globalId) {
|
|
43
|
-
obj['globalId'] = globalId;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Constructs a <code>AutoTestCaseModel</code> from a plain JavaScript object, optionally creating a new instance.
|
|
48
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
49
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
50
|
-
* @param {module:model/AutoTestCaseModel} obj Optional instance to populate.
|
|
51
|
-
* @return {module:model/AutoTestCaseModel} The populated <code>AutoTestCaseModel</code> instance.
|
|
52
|
-
*/
|
|
53
|
-
static constructFromObject(data, obj) {
|
|
54
|
-
if (data) {
|
|
55
|
-
obj = obj || new AutoTestCaseModel();
|
|
56
|
-
if (data.hasOwnProperty('globalId')) {
|
|
57
|
-
obj['globalId'] = _ApiClient.default.convertToType(data['globalId'], 'Number');
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return obj;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Validates the JSON data with respect to <code>AutoTestCaseModel</code>.
|
|
65
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
66
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AutoTestCaseModel</code>.
|
|
67
|
-
*/
|
|
68
|
-
static validateJSON(data) {
|
|
69
|
-
// check to make sure all required properties are present in the JSON string
|
|
70
|
-
for (const property of AutoTestCaseModel.RequiredProperties) {
|
|
71
|
-
if (!data.hasOwnProperty(property)) {
|
|
72
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return true;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
AutoTestCaseModel.RequiredProperties = ["globalId"];
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Global ID of the auto test case
|
|
82
|
-
* @member {Number} globalId
|
|
83
|
-
*/
|
|
84
|
-
AutoTestCaseModel.prototype['globalId'] = undefined;
|
|
85
|
-
var _default = exports.default = AutoTestCaseModel;
|