testit-js-commons 5.0.6 → 5.0.8-TMS-5.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/lib/adapters-api/dist/ApiClient.js +5 -6
- package/lib/adapters-api/dist/api/AttachmentsApi.js +5 -5
- package/lib/adapters-api/dist/api/AutoTestsApi.js +11 -11
- package/lib/adapters-api/dist/api/ConfigurationsApi.js +1 -1
- package/lib/adapters-api/dist/api/ParametersApi.js +3 -3
- package/lib/adapters-api/dist/api/ProjectAttributesApi.js +6 -6
- 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 +3 -80
- package/lib/adapters-api/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
- package/lib/adapters-api/dist/model/AutoTestApiResult.js +0 -15
- package/lib/adapters-api/dist/model/AutoTestCreateApiModel.js +0 -15
- package/lib/adapters-api/dist/model/AutoTestStepResult.js +1 -1
- package/lib/adapters-api/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
- package/lib/adapters-api/dist/model/AutoTestUpdateApiModel.js +4 -30
- package/lib/adapters-api/dist/model/CreateEmptyTestRunApiModel.js +2 -2
- package/lib/adapters-api/dist/model/CustomAttributeApiResult.js +6 -56
- package/lib/adapters-api/dist/model/{CustomAttributeModel.js → CustomAttributeGetModel.js} +39 -89
- package/lib/adapters-api/dist/model/CustomAttributePutModel.js +1 -1
- package/lib/adapters-api/dist/model/LabelApiModel.js +15 -4
- package/lib/adapters-api/dist/model/ProjectsFilterModel.js +13 -13
- package/lib/adapters-api/dist/model/TestResultResponse.js +4 -18
- package/lib/adapters-api/dist/model/TestResultShortResponse.js +4 -15
- package/lib/adapters-api/dist/model/TestResultsFilterApiModel.js +0 -14
- package/lib/adapters-api/dist/model/TestRunApiResult.js +4 -45
- package/lib/adapters-api/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
- package/lib/adapters-api/index.d.ts +204 -758
- package/lib/common/index.d.ts +0 -1
- package/lib/common/index.js +0 -1
- package/lib/common/types/common.type.d.ts +0 -2
- package/lib/common/utils/tms-load-test-run-debug.d.ts +0 -2
- package/lib/common/utils/tms-load-test-run-debug.js +0 -6
- package/lib/services/attachments/attachments.service.d.ts +1 -0
- package/lib/services/attachments/attachments.service.js +10 -2
- package/lib/services/autotests/autotests.converter.d.ts +2 -6
- package/lib/services/autotests/autotests.converter.js +16 -41
- package/lib/services/autotests/autotests.service.js +3 -3
- package/lib/services/autotests/autotests.type.d.ts +0 -2
- package/lib/services/syncstorage/syncstorage.runner.js +5 -6
- package/lib/services/syncstorage/syncstorage.runner.test.js +0 -16
- package/lib/services/testresults/testresults.converter.d.ts +5 -4
- package/lib/services/testresults/testresults.converter.js +8 -0
- package/lib/services/testresults/testresults.service.js +18 -1
- package/lib/services/testruns/testruns.handler.d.ts +2 -2
- package/lib/services/testruns/testruns.handler.js +2 -12
- package/lib/services/testruns/testruns.service.d.ts +0 -2
- package/lib/services/testruns/testruns.service.js +6 -31
- package/lib/services/testruns/testruns.service.test.js +47 -5
- package/lib/strategy/base.strategy.d.ts +11 -0
- package/lib/strategy/base.strategy.js +73 -4
- package/lib/strategy/zero.strategy.js +1 -1
- package/lib/sync-storage/dist/ApiClient.js +0 -3
- package/package.json +1 -1
- package/lib/adapters-api/dist/api/CustomAttributesApi.js +0 -201
- package/lib/adapters-api/dist/model/CustomAttributeOptionPostApiModel.js +0 -98
- package/lib/adapters-api/dist/model/CustomAttributeOptionUpdateApiModel.js +0 -124
- package/lib/adapters-api/dist/model/CustomAttributeSearchApiModel.js +0 -137
- package/lib/adapters-api/dist/model/CustomAttributeSearchApiResult.js +0 -281
- package/lib/adapters-api/dist/model/GlobalCustomAttributePostApiModel.js +0 -141
- package/lib/adapters-api/dist/model/GlobalCustomAttributeUpdateApiModel.js +0 -129
- package/lib/adapters-api/dist/model/LayerApiModel.js +0 -102
- package/lib/adapters-api/dist/model/LayerApiResult.js +0 -102
- package/lib/adapters-api/dist/model/LayerSource.js +0 -61
- package/lib/adapters-api/dist/model/ProjectShortestApiResult.js +0 -138
- package/lib/common/test-layers.d.ts +0 -11
- package/lib/common/test-layers.js +0 -13
- package/lib/services/autotests/autotests.converter.test.d.ts +0 -1
- package/lib/services/autotests/autotests.converter.test.js +0 -39
|
@@ -50,13 +50,16 @@ class ApiClient {
|
|
|
50
50
|
* @type {Array.<String>}
|
|
51
51
|
*/
|
|
52
52
|
this.authentications = {
|
|
53
|
-
// ALWAYS KEEP 'PrivateToken' without changes!
|
|
54
53
|
'PrivateToken': {
|
|
55
54
|
type: 'apiKey',
|
|
56
55
|
'in': 'header',
|
|
57
56
|
name: 'Authorization'
|
|
57
|
+
},
|
|
58
|
+
'Cookies': {
|
|
59
|
+
type: 'apiKey',
|
|
60
|
+
'in': 'query',
|
|
61
|
+
name: 'session'
|
|
58
62
|
}
|
|
59
|
-
// reject any changes here
|
|
60
63
|
};
|
|
61
64
|
|
|
62
65
|
/**
|
|
@@ -306,10 +309,6 @@ class ApiClient {
|
|
|
306
309
|
applyAuthToRequest(request, authNames) {
|
|
307
310
|
authNames.forEach(authName => {
|
|
308
311
|
var auth = this.authentications[authName];
|
|
309
|
-
// KEEP without changes
|
|
310
|
-
if (!auth) {
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
312
|
switch (auth.type) {
|
|
314
313
|
case 'basic':
|
|
315
314
|
if (auth.username || auth.password) {
|
|
@@ -54,7 +54,7 @@ class AttachmentsApi {
|
|
|
54
54
|
let formParams = {
|
|
55
55
|
'files': this.apiClient.buildCollectionParam(opts['files'], 'passthrough')
|
|
56
56
|
};
|
|
57
|
-
let authNames = ['PrivateToken', '
|
|
57
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
58
58
|
let contentTypes = ['multipart/form-data'];
|
|
59
59
|
let accepts = ['application/json'];
|
|
60
60
|
let returnType = [_AttachmentModel.default];
|
|
@@ -102,7 +102,7 @@ class AttachmentsApi {
|
|
|
102
102
|
};
|
|
103
103
|
let headerParams = {};
|
|
104
104
|
let formParams = {};
|
|
105
|
-
let authNames = ['PrivateToken', '
|
|
105
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
106
106
|
let contentTypes = [];
|
|
107
107
|
let accepts = ['application/json'];
|
|
108
108
|
let returnType = null;
|
|
@@ -128,7 +128,7 @@ class AttachmentsApi {
|
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Upload new attachment file
|
|
131
|
-
* File size is restricted to
|
|
131
|
+
* File size is restricted to 1 GB (1 073 741 824 bytes)
|
|
132
132
|
* @param {Object} opts Optional parameters
|
|
133
133
|
* @param {File} [file]
|
|
134
134
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AttachmentModel} and HTTP response
|
|
@@ -142,7 +142,7 @@ class AttachmentsApi {
|
|
|
142
142
|
let formParams = {
|
|
143
143
|
'file': opts['file']
|
|
144
144
|
};
|
|
145
|
-
let authNames = ['PrivateToken', '
|
|
145
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
146
146
|
let contentTypes = ['multipart/form-data'];
|
|
147
147
|
let accepts = ['application/json'];
|
|
148
148
|
let returnType = _AttachmentModel.default;
|
|
@@ -151,7 +151,7 @@ class AttachmentsApi {
|
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Upload new attachment file
|
|
154
|
-
* File size is restricted to
|
|
154
|
+
* File size is restricted to 1 GB (1 073 741 824 bytes)
|
|
155
155
|
* @param {Object} opts Optional parameters
|
|
156
156
|
* @param {File} opts.file
|
|
157
157
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AttachmentModel}
|
|
@@ -59,7 +59,7 @@ class AutoTestsApi {
|
|
|
59
59
|
let queryParams = {};
|
|
60
60
|
let headerParams = {};
|
|
61
61
|
let formParams = {};
|
|
62
|
-
let authNames = ['PrivateToken', '
|
|
62
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
63
63
|
let contentTypes = ['application/json'];
|
|
64
64
|
let accepts = ['application/json'];
|
|
65
65
|
let returnType = [_AutoTestApiResult.default];
|
|
@@ -91,7 +91,7 @@ class AutoTestsApi {
|
|
|
91
91
|
let queryParams = {};
|
|
92
92
|
let headerParams = {};
|
|
93
93
|
let formParams = {};
|
|
94
|
-
let authNames = ['PrivateToken', '
|
|
94
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
95
95
|
let contentTypes = ['application/json'];
|
|
96
96
|
let accepts = ['application/json'];
|
|
97
97
|
let returnType = null;
|
|
@@ -174,7 +174,7 @@ class AutoTestsApi {
|
|
|
174
174
|
};
|
|
175
175
|
let headerParams = {};
|
|
176
176
|
let formParams = {};
|
|
177
|
-
let authNames = ['PrivateToken', '
|
|
177
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
178
178
|
let contentTypes = [];
|
|
179
179
|
let accepts = ['application/json'];
|
|
180
180
|
let returnType = [_AutoTestModel.default];
|
|
@@ -234,7 +234,7 @@ class AutoTestsApi {
|
|
|
234
234
|
let queryParams = {};
|
|
235
235
|
let headerParams = {};
|
|
236
236
|
let formParams = {};
|
|
237
|
-
let authNames = ['PrivateToken', '
|
|
237
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
238
238
|
let contentTypes = [];
|
|
239
239
|
let accepts = ['application/json'];
|
|
240
240
|
let returnType = _AutoTestApiResult.default;
|
|
@@ -273,7 +273,7 @@ class AutoTestsApi {
|
|
|
273
273
|
let queryParams = {};
|
|
274
274
|
let headerParams = {};
|
|
275
275
|
let formParams = {};
|
|
276
|
-
let authNames = ['PrivateToken', '
|
|
276
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
277
277
|
let contentTypes = ['application/json'];
|
|
278
278
|
let accepts = ['application/json'];
|
|
279
279
|
let returnType = null;
|
|
@@ -316,7 +316,7 @@ class AutoTestsApi {
|
|
|
316
316
|
};
|
|
317
317
|
let headerParams = {};
|
|
318
318
|
let formParams = {};
|
|
319
|
-
let authNames = ['PrivateToken', '
|
|
319
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
320
320
|
let contentTypes = [];
|
|
321
321
|
let accepts = ['application/json'];
|
|
322
322
|
let returnType = null;
|
|
@@ -360,7 +360,7 @@ class AutoTestsApi {
|
|
|
360
360
|
};
|
|
361
361
|
let headerParams = {};
|
|
362
362
|
let formParams = {};
|
|
363
|
-
let authNames = ['PrivateToken', '
|
|
363
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
364
364
|
let contentTypes = [];
|
|
365
365
|
let accepts = ['application/json'];
|
|
366
366
|
let returnType = [_AutoTestWorkItemIdentifierApiResult.default];
|
|
@@ -401,7 +401,7 @@ class AutoTestsApi {
|
|
|
401
401
|
let queryParams = {};
|
|
402
402
|
let headerParams = {};
|
|
403
403
|
let formParams = {};
|
|
404
|
-
let authNames = ['PrivateToken', '
|
|
404
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
405
405
|
let contentTypes = ['application/json'];
|
|
406
406
|
let accepts = ['application/json'];
|
|
407
407
|
let returnType = null;
|
|
@@ -434,7 +434,7 @@ class AutoTestsApi {
|
|
|
434
434
|
let queryParams = {};
|
|
435
435
|
let headerParams = {};
|
|
436
436
|
let formParams = {};
|
|
437
|
-
let authNames = ['PrivateToken', '
|
|
437
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
438
438
|
let contentTypes = ['application/json'];
|
|
439
439
|
let accepts = ['application/json'];
|
|
440
440
|
let returnType = _AutoTestApiResult.default;
|
|
@@ -466,7 +466,7 @@ class AutoTestsApi {
|
|
|
466
466
|
let queryParams = {};
|
|
467
467
|
let headerParams = {};
|
|
468
468
|
let formParams = {};
|
|
469
|
-
let authNames = ['PrivateToken', '
|
|
469
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
470
470
|
let contentTypes = ['application/json'];
|
|
471
471
|
let accepts = ['application/json'];
|
|
472
472
|
let returnType = null;
|
|
@@ -509,7 +509,7 @@ class AutoTestsApi {
|
|
|
509
509
|
};
|
|
510
510
|
let headerParams = {};
|
|
511
511
|
let formParams = {};
|
|
512
|
-
let authNames = ['PrivateToken', '
|
|
512
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
513
513
|
let contentTypes = ['application/json'];
|
|
514
514
|
let accepts = ['application/json'];
|
|
515
515
|
let returnType = [_AutoTestApiResult.default];
|
|
@@ -64,7 +64,7 @@ class ConfigurationsApi {
|
|
|
64
64
|
};
|
|
65
65
|
let headerParams = {};
|
|
66
66
|
let formParams = {};
|
|
67
|
-
let authNames = ['PrivateToken', '
|
|
67
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
68
68
|
let contentTypes = ['application/json'];
|
|
69
69
|
let accepts = ['application/json'];
|
|
70
70
|
let returnType = [_ConfigurationModel.default];
|
|
@@ -58,7 +58,7 @@ class ParametersApi {
|
|
|
58
58
|
let queryParams = {};
|
|
59
59
|
let headerParams = {};
|
|
60
60
|
let formParams = {};
|
|
61
|
-
let authNames = ['PrivateToken', '
|
|
61
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
62
62
|
let contentTypes = [];
|
|
63
63
|
let accepts = ['application/json'];
|
|
64
64
|
let returnType = _ParameterApiResult.default;
|
|
@@ -89,7 +89,7 @@ class ParametersApi {
|
|
|
89
89
|
let queryParams = {};
|
|
90
90
|
let headerParams = {};
|
|
91
91
|
let formParams = {};
|
|
92
|
-
let authNames = ['PrivateToken', '
|
|
92
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
93
93
|
let contentTypes = ['application/json'];
|
|
94
94
|
let accepts = ['application/json'];
|
|
95
95
|
let returnType = _ParameterApiResult.default;
|
|
@@ -132,7 +132,7 @@ class ParametersApi {
|
|
|
132
132
|
};
|
|
133
133
|
let headerParams = {};
|
|
134
134
|
let formParams = {};
|
|
135
|
-
let authNames = ['PrivateToken', '
|
|
135
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
136
136
|
let contentTypes = ['application/json'];
|
|
137
137
|
let accepts = ['application/json'];
|
|
138
138
|
let returnType = [_ParameterApiResult.default];
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _CustomAttributeGetModel = _interopRequireDefault(require("../model/CustomAttributeGetModel"));
|
|
9
9
|
var _CustomAttributePutModel = _interopRequireDefault(require("../model/CustomAttributePutModel"));
|
|
10
10
|
var _ProblemDetails = _interopRequireDefault(require("../model/ProblemDetails"));
|
|
11
11
|
var _ProjectAttributesFilterModel = _interopRequireDefault(require("../model/ProjectAttributesFilterModel"));
|
|
@@ -61,7 +61,7 @@ class ProjectAttributesApi {
|
|
|
61
61
|
let queryParams = {};
|
|
62
62
|
let headerParams = {};
|
|
63
63
|
let formParams = {};
|
|
64
|
-
let authNames = ['PrivateToken', '
|
|
64
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
65
65
|
let contentTypes = ['application/json'];
|
|
66
66
|
let accepts = ['application/json'];
|
|
67
67
|
let returnType = null;
|
|
@@ -91,7 +91,7 @@ class ProjectAttributesApi {
|
|
|
91
91
|
* @param {String} [searchField] Property name for searching
|
|
92
92
|
* @param {String} [searchValue] Value for searching
|
|
93
93
|
* @param {module:model/ProjectAttributesFilterModel} [projectAttributesFilterModel]
|
|
94
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/
|
|
94
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/CustomAttributeGetModel>} and HTTP response
|
|
95
95
|
*/
|
|
96
96
|
adaptersProjectsProjectIdAttributesSearchPostWithHttpInfo(projectId, opts) {
|
|
97
97
|
opts = opts || {};
|
|
@@ -112,10 +112,10 @@ class ProjectAttributesApi {
|
|
|
112
112
|
};
|
|
113
113
|
let headerParams = {};
|
|
114
114
|
let formParams = {};
|
|
115
|
-
let authNames = ['PrivateToken', '
|
|
115
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
116
116
|
let contentTypes = ['application/json'];
|
|
117
117
|
let accepts = ['application/json'];
|
|
118
|
-
let returnType = [
|
|
118
|
+
let returnType = [_CustomAttributeGetModel.default];
|
|
119
119
|
return this.apiClient.callApi('/adapters/projects/{projectId}/attributes/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -129,7 +129,7 @@ class ProjectAttributesApi {
|
|
|
129
129
|
* @param {String} opts.searchField Property name for searching
|
|
130
130
|
* @param {String} opts.searchValue Value for searching
|
|
131
131
|
* @param {module:model/ProjectAttributesFilterModel} opts.projectAttributesFilterModel
|
|
132
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/
|
|
132
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/CustomAttributeGetModel>}
|
|
133
133
|
*/
|
|
134
134
|
adaptersProjectsProjectIdAttributesSearchPost(projectId, opts) {
|
|
135
135
|
return this.adaptersProjectsProjectIdAttributesSearchPostWithHttpInfo(projectId, opts).then(function (response_and_data) {
|
|
@@ -69,7 +69,7 @@ class ProjectSectionsApi {
|
|
|
69
69
|
};
|
|
70
70
|
let headerParams = {};
|
|
71
71
|
let formParams = {};
|
|
72
|
-
let authNames = ['PrivateToken', '
|
|
72
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
73
73
|
let contentTypes = [];
|
|
74
74
|
let accepts = ['application/json'];
|
|
75
75
|
let returnType = [_SectionModel.default];
|
|
@@ -71,7 +71,7 @@ class ProjectWorkItemsApi {
|
|
|
71
71
|
};
|
|
72
72
|
let headerParams = {};
|
|
73
73
|
let formParams = {};
|
|
74
|
-
let authNames = ['PrivateToken', '
|
|
74
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
75
75
|
let contentTypes = ['application/json'];
|
|
76
76
|
let accepts = ['application/json'];
|
|
77
77
|
let returnType = [_WorkItemShortApiResult.default];
|
|
@@ -62,7 +62,7 @@ class ProjectsApi {
|
|
|
62
62
|
let queryParams = {};
|
|
63
63
|
let headerParams = {};
|
|
64
64
|
let formParams = {};
|
|
65
|
-
let authNames = ['PrivateToken', '
|
|
65
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
66
66
|
let contentTypes = ['application/json'];
|
|
67
67
|
let accepts = ['application/json'];
|
|
68
68
|
let returnType = null;
|
|
@@ -99,7 +99,7 @@ class ProjectsApi {
|
|
|
99
99
|
let queryParams = {};
|
|
100
100
|
let headerParams = {};
|
|
101
101
|
let formParams = {};
|
|
102
|
-
let authNames = ['PrivateToken', '
|
|
102
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
103
103
|
let contentTypes = [];
|
|
104
104
|
let accepts = ['application/json'];
|
|
105
105
|
let returnType = _DetailedProjectApiResult.default;
|
|
@@ -130,7 +130,7 @@ class ProjectsApi {
|
|
|
130
130
|
let queryParams = {};
|
|
131
131
|
let headerParams = {};
|
|
132
132
|
let formParams = {};
|
|
133
|
-
let authNames = ['PrivateToken', '
|
|
133
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
134
134
|
let contentTypes = ['application/json'];
|
|
135
135
|
let accepts = ['application/json'];
|
|
136
136
|
let returnType = _ProjectApiResult.default;
|
|
@@ -173,7 +173,7 @@ class ProjectsApi {
|
|
|
173
173
|
};
|
|
174
174
|
let headerParams = {};
|
|
175
175
|
let formParams = {};
|
|
176
|
-
let authNames = ['PrivateToken', '
|
|
176
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
177
177
|
let contentTypes = ['application/json'];
|
|
178
178
|
let accepts = ['application/json'];
|
|
179
179
|
let returnType = [_ProjectApiResult.default];
|
|
@@ -63,7 +63,7 @@ class SectionsApi {
|
|
|
63
63
|
};
|
|
64
64
|
let headerParams = {};
|
|
65
65
|
let formParams = {};
|
|
66
|
-
let authNames = ['PrivateToken', '
|
|
66
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
67
67
|
let contentTypes = [];
|
|
68
68
|
let accepts = ['application/json'];
|
|
69
69
|
let returnType = _SectionWithStepsModel.default;
|
|
@@ -96,7 +96,7 @@ class SectionsApi {
|
|
|
96
96
|
let queryParams = {};
|
|
97
97
|
let headerParams = {};
|
|
98
98
|
let formParams = {};
|
|
99
|
-
let authNames = ['PrivateToken', '
|
|
99
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
100
100
|
let contentTypes = ['application/json'];
|
|
101
101
|
let accepts = ['application/json'];
|
|
102
102
|
let returnType = _SectionWithStepsModel.default;
|
|
@@ -59,7 +59,7 @@ class TestResultsApi {
|
|
|
59
59
|
let queryParams = {};
|
|
60
60
|
let headerParams = {};
|
|
61
61
|
let formParams = {};
|
|
62
|
-
let authNames = ['PrivateToken', '
|
|
62
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
63
63
|
let contentTypes = [];
|
|
64
64
|
let accepts = ['application/json'];
|
|
65
65
|
let returnType = _TestResultResponse.default;
|
|
@@ -97,7 +97,7 @@ class TestResultsApi {
|
|
|
97
97
|
let queryParams = {};
|
|
98
98
|
let headerParams = {};
|
|
99
99
|
let formParams = {};
|
|
100
|
-
let authNames = ['PrivateToken', '
|
|
100
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
101
101
|
let contentTypes = ['application/json'];
|
|
102
102
|
let accepts = ['application/json'];
|
|
103
103
|
let returnType = null;
|
|
@@ -141,7 +141,7 @@ class TestResultsApi {
|
|
|
141
141
|
};
|
|
142
142
|
let headerParams = {};
|
|
143
143
|
let formParams = {};
|
|
144
|
-
let authNames = ['PrivateToken', '
|
|
144
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
145
145
|
let contentTypes = ['application/json'];
|
|
146
146
|
let accepts = ['application/json'];
|
|
147
147
|
let returnType = [_TestResultShortResponse.default];
|
|
@@ -61,7 +61,7 @@ class TestRunsApi {
|
|
|
61
61
|
let queryParams = {};
|
|
62
62
|
let headerParams = {};
|
|
63
63
|
let formParams = {};
|
|
64
|
-
let authNames = ['PrivateToken', '
|
|
64
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
65
65
|
let contentTypes = [];
|
|
66
66
|
let accepts = ['application/json'];
|
|
67
67
|
let returnType = null;
|
|
@@ -96,7 +96,7 @@ class TestRunsApi {
|
|
|
96
96
|
let queryParams = {};
|
|
97
97
|
let headerParams = {};
|
|
98
98
|
let formParams = {};
|
|
99
|
-
let authNames = ['PrivateToken', '
|
|
99
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
100
100
|
let contentTypes = [];
|
|
101
101
|
let accepts = ['application/json'];
|
|
102
102
|
let returnType = _TestRunApiResult.default;
|
|
@@ -134,7 +134,7 @@ class TestRunsApi {
|
|
|
134
134
|
let queryParams = {};
|
|
135
135
|
let headerParams = {};
|
|
136
136
|
let formParams = {};
|
|
137
|
-
let authNames = ['PrivateToken', '
|
|
137
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
138
138
|
let contentTypes = ['application/json'];
|
|
139
139
|
let accepts = ['application/json'];
|
|
140
140
|
let returnType = _ManualRerunApiResult.default;
|
|
@@ -171,7 +171,7 @@ class TestRunsApi {
|
|
|
171
171
|
let queryParams = {};
|
|
172
172
|
let headerParams = {};
|
|
173
173
|
let formParams = {};
|
|
174
|
-
let authNames = ['PrivateToken', '
|
|
174
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
175
175
|
let contentTypes = [];
|
|
176
176
|
let accepts = ['application/json'];
|
|
177
177
|
let returnType = null;
|
|
@@ -206,7 +206,7 @@ class TestRunsApi {
|
|
|
206
206
|
let queryParams = {};
|
|
207
207
|
let headerParams = {};
|
|
208
208
|
let formParams = {};
|
|
209
|
-
let authNames = ['PrivateToken', '
|
|
209
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
210
210
|
let contentTypes = [];
|
|
211
211
|
let accepts = ['application/json'];
|
|
212
212
|
let returnType = null;
|
|
@@ -244,7 +244,7 @@ class TestRunsApi {
|
|
|
244
244
|
let queryParams = {};
|
|
245
245
|
let headerParams = {};
|
|
246
246
|
let formParams = {};
|
|
247
|
-
let authNames = ['PrivateToken', '
|
|
247
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
248
248
|
let contentTypes = ['application/json'];
|
|
249
249
|
let accepts = ['application/json'];
|
|
250
250
|
let returnType = ['String'];
|
|
@@ -277,7 +277,7 @@ class TestRunsApi {
|
|
|
277
277
|
let queryParams = {};
|
|
278
278
|
let headerParams = {};
|
|
279
279
|
let formParams = {};
|
|
280
|
-
let authNames = ['PrivateToken', '
|
|
280
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
281
281
|
let contentTypes = ['application/json'];
|
|
282
282
|
let accepts = ['application/json'];
|
|
283
283
|
let returnType = _TestRunApiResult.default;
|
|
@@ -309,7 +309,7 @@ class TestRunsApi {
|
|
|
309
309
|
let queryParams = {};
|
|
310
310
|
let headerParams = {};
|
|
311
311
|
let formParams = {};
|
|
312
|
-
let authNames = ['PrivateToken', '
|
|
312
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
313
313
|
let contentTypes = ['application/json'];
|
|
314
314
|
let accepts = ['application/json'];
|
|
315
315
|
let returnType = null;
|
|
@@ -66,7 +66,7 @@ class WorkItemsApi {
|
|
|
66
66
|
};
|
|
67
67
|
let headerParams = {};
|
|
68
68
|
let formParams = {};
|
|
69
|
-
let authNames = ['PrivateToken', '
|
|
69
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
70
70
|
let contentTypes = [];
|
|
71
71
|
let accepts = ['application/json'];
|
|
72
72
|
let returnType = _WorkItemApiResult.default;
|
|
@@ -100,7 +100,7 @@ class WorkItemsApi {
|
|
|
100
100
|
let queryParams = {};
|
|
101
101
|
let headerParams = {};
|
|
102
102
|
let formParams = {};
|
|
103
|
-
let authNames = ['PrivateToken', '
|
|
103
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
104
104
|
let contentTypes = ['application/json'];
|
|
105
105
|
let accepts = ['application/json'];
|
|
106
106
|
let returnType = _WorkItemApiResult.default;
|
|
@@ -143,7 +143,7 @@ class WorkItemsApi {
|
|
|
143
143
|
};
|
|
144
144
|
let headerParams = {};
|
|
145
145
|
let formParams = {};
|
|
146
|
-
let authNames = ['PrivateToken', '
|
|
146
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
147
147
|
let contentTypes = ['application/json'];
|
|
148
148
|
let accepts = ['application/json'];
|
|
149
149
|
let returnType = [_WorkItemShortApiResult.default];
|
|
@@ -55,7 +55,7 @@ class WorkflowsApi {
|
|
|
55
55
|
let queryParams = {};
|
|
56
56
|
let headerParams = {};
|
|
57
57
|
let formParams = {};
|
|
58
|
-
let authNames = ['PrivateToken', '
|
|
58
|
+
let authNames = ['PrivateToken', 'Cookies'];
|
|
59
59
|
let contentTypes = [];
|
|
60
60
|
let accepts = ['application/json'];
|
|
61
61
|
let returnType = _WorkflowApiResult.default;
|
|
@@ -255,10 +255,10 @@ Object.defineProperty(exports, "CustomAttributeApiResult", {
|
|
|
255
255
|
return _CustomAttributeApiResult.default;
|
|
256
256
|
}
|
|
257
257
|
});
|
|
258
|
-
Object.defineProperty(exports, "
|
|
258
|
+
Object.defineProperty(exports, "CustomAttributeGetModel", {
|
|
259
259
|
enumerable: true,
|
|
260
260
|
get: function () {
|
|
261
|
-
return
|
|
261
|
+
return _CustomAttributeGetModel.default;
|
|
262
262
|
}
|
|
263
263
|
});
|
|
264
264
|
Object.defineProperty(exports, "CustomAttributeOptionApiResult", {
|
|
@@ -273,36 +273,12 @@ Object.defineProperty(exports, "CustomAttributeOptionModel", {
|
|
|
273
273
|
return _CustomAttributeOptionModel.default;
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
Object.defineProperty(exports, "CustomAttributeOptionPostApiModel", {
|
|
277
|
-
enumerable: true,
|
|
278
|
-
get: function () {
|
|
279
|
-
return _CustomAttributeOptionPostApiModel.default;
|
|
280
|
-
}
|
|
281
|
-
});
|
|
282
|
-
Object.defineProperty(exports, "CustomAttributeOptionUpdateApiModel", {
|
|
283
|
-
enumerable: true,
|
|
284
|
-
get: function () {
|
|
285
|
-
return _CustomAttributeOptionUpdateApiModel.default;
|
|
286
|
-
}
|
|
287
|
-
});
|
|
288
276
|
Object.defineProperty(exports, "CustomAttributePutModel", {
|
|
289
277
|
enumerable: true,
|
|
290
278
|
get: function () {
|
|
291
279
|
return _CustomAttributePutModel.default;
|
|
292
280
|
}
|
|
293
281
|
});
|
|
294
|
-
Object.defineProperty(exports, "CustomAttributeSearchApiModel", {
|
|
295
|
-
enumerable: true,
|
|
296
|
-
get: function () {
|
|
297
|
-
return _CustomAttributeSearchApiModel.default;
|
|
298
|
-
}
|
|
299
|
-
});
|
|
300
|
-
Object.defineProperty(exports, "CustomAttributeSearchApiResult", {
|
|
301
|
-
enumerable: true,
|
|
302
|
-
get: function () {
|
|
303
|
-
return _CustomAttributeSearchApiResult.default;
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
282
|
Object.defineProperty(exports, "CustomAttributeType", {
|
|
307
283
|
enumerable: true,
|
|
308
284
|
get: function () {
|
|
@@ -315,12 +291,6 @@ Object.defineProperty(exports, "CustomAttributeTypesEnum", {
|
|
|
315
291
|
return _CustomAttributeTypesEnum.default;
|
|
316
292
|
}
|
|
317
293
|
});
|
|
318
|
-
Object.defineProperty(exports, "CustomAttributesApi", {
|
|
319
|
-
enumerable: true,
|
|
320
|
-
get: function () {
|
|
321
|
-
return _CustomAttributesApi.default;
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
294
|
Object.defineProperty(exports, "DateTimeRangeSelectorModel", {
|
|
325
295
|
enumerable: true,
|
|
326
296
|
get: function () {
|
|
@@ -345,18 +315,6 @@ Object.defineProperty(exports, "FailureCategoryModel", {
|
|
|
345
315
|
return _FailureCategoryModel.default;
|
|
346
316
|
}
|
|
347
317
|
});
|
|
348
|
-
Object.defineProperty(exports, "GlobalCustomAttributePostApiModel", {
|
|
349
|
-
enumerable: true,
|
|
350
|
-
get: function () {
|
|
351
|
-
return _GlobalCustomAttributePostApiModel.default;
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
Object.defineProperty(exports, "GlobalCustomAttributeUpdateApiModel", {
|
|
355
|
-
enumerable: true,
|
|
356
|
-
get: function () {
|
|
357
|
-
return _GlobalCustomAttributeUpdateApiModel.default;
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
318
|
Object.defineProperty(exports, "GuidExtractionModel", {
|
|
361
319
|
enumerable: true,
|
|
362
320
|
get: function () {
|
|
@@ -411,24 +369,6 @@ Object.defineProperty(exports, "LabelShortModel", {
|
|
|
411
369
|
return _LabelShortModel.default;
|
|
412
370
|
}
|
|
413
371
|
});
|
|
414
|
-
Object.defineProperty(exports, "LayerApiModel", {
|
|
415
|
-
enumerable: true,
|
|
416
|
-
get: function () {
|
|
417
|
-
return _LayerApiModel.default;
|
|
418
|
-
}
|
|
419
|
-
});
|
|
420
|
-
Object.defineProperty(exports, "LayerApiResult", {
|
|
421
|
-
enumerable: true,
|
|
422
|
-
get: function () {
|
|
423
|
-
return _LayerApiResult.default;
|
|
424
|
-
}
|
|
425
|
-
});
|
|
426
|
-
Object.defineProperty(exports, "LayerSource", {
|
|
427
|
-
enumerable: true,
|
|
428
|
-
get: function () {
|
|
429
|
-
return _LayerSource.default;
|
|
430
|
-
}
|
|
431
|
-
});
|
|
432
372
|
Object.defineProperty(exports, "LinkApiResult", {
|
|
433
373
|
enumerable: true,
|
|
434
374
|
get: function () {
|
|
@@ -567,12 +507,6 @@ Object.defineProperty(exports, "ProjectSectionsApi", {
|
|
|
567
507
|
return _ProjectSectionsApi.default;
|
|
568
508
|
}
|
|
569
509
|
});
|
|
570
|
-
Object.defineProperty(exports, "ProjectShortestApiResult", {
|
|
571
|
-
enumerable: true,
|
|
572
|
-
get: function () {
|
|
573
|
-
return _ProjectShortestApiResult.default;
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
510
|
Object.defineProperty(exports, "ProjectTypeModel", {
|
|
577
511
|
enumerable: true,
|
|
578
512
|
get: function () {
|
|
@@ -918,22 +852,16 @@ var _CreateProjectApiModel = _interopRequireDefault(require("./model/CreateProje
|
|
|
918
852
|
var _CreateStepApiModel = _interopRequireDefault(require("./model/CreateStepApiModel"));
|
|
919
853
|
var _CreateWorkItemApiModel = _interopRequireDefault(require("./model/CreateWorkItemApiModel"));
|
|
920
854
|
var _CustomAttributeApiResult = _interopRequireDefault(require("./model/CustomAttributeApiResult"));
|
|
921
|
-
var
|
|
855
|
+
var _CustomAttributeGetModel = _interopRequireDefault(require("./model/CustomAttributeGetModel"));
|
|
922
856
|
var _CustomAttributeOptionApiResult = _interopRequireDefault(require("./model/CustomAttributeOptionApiResult"));
|
|
923
857
|
var _CustomAttributeOptionModel = _interopRequireDefault(require("./model/CustomAttributeOptionModel"));
|
|
924
|
-
var _CustomAttributeOptionPostApiModel = _interopRequireDefault(require("./model/CustomAttributeOptionPostApiModel"));
|
|
925
|
-
var _CustomAttributeOptionUpdateApiModel = _interopRequireDefault(require("./model/CustomAttributeOptionUpdateApiModel"));
|
|
926
858
|
var _CustomAttributePutModel = _interopRequireDefault(require("./model/CustomAttributePutModel"));
|
|
927
|
-
var _CustomAttributeSearchApiModel = _interopRequireDefault(require("./model/CustomAttributeSearchApiModel"));
|
|
928
|
-
var _CustomAttributeSearchApiResult = _interopRequireDefault(require("./model/CustomAttributeSearchApiResult"));
|
|
929
859
|
var _CustomAttributeType = _interopRequireDefault(require("./model/CustomAttributeType"));
|
|
930
860
|
var _CustomAttributeTypesEnum = _interopRequireDefault(require("./model/CustomAttributeTypesEnum"));
|
|
931
861
|
var _DateTimeRangeSelectorModel = _interopRequireDefault(require("./model/DateTimeRangeSelectorModel"));
|
|
932
862
|
var _DeletionState = _interopRequireDefault(require("./model/DeletionState"));
|
|
933
863
|
var _DetailedProjectApiResult = _interopRequireDefault(require("./model/DetailedProjectApiResult"));
|
|
934
864
|
var _FailureCategoryModel = _interopRequireDefault(require("./model/FailureCategoryModel"));
|
|
935
|
-
var _GlobalCustomAttributePostApiModel = _interopRequireDefault(require("./model/GlobalCustomAttributePostApiModel"));
|
|
936
|
-
var _GlobalCustomAttributeUpdateApiModel = _interopRequireDefault(require("./model/GlobalCustomAttributeUpdateApiModel"));
|
|
937
865
|
var _GuidExtractionModel = _interopRequireDefault(require("./model/GuidExtractionModel"));
|
|
938
866
|
var _ImageResizeType = _interopRequireDefault(require("./model/ImageResizeType"));
|
|
939
867
|
var _Int32RangeSelectorModel = _interopRequireDefault(require("./model/Int32RangeSelectorModel"));
|
|
@@ -943,9 +871,6 @@ var _IterationModel = _interopRequireDefault(require("./model/IterationModel"));
|
|
|
943
871
|
var _LabelApiModel = _interopRequireDefault(require("./model/LabelApiModel"));
|
|
944
872
|
var _LabelApiResult = _interopRequireDefault(require("./model/LabelApiResult"));
|
|
945
873
|
var _LabelShortModel = _interopRequireDefault(require("./model/LabelShortModel"));
|
|
946
|
-
var _LayerApiModel = _interopRequireDefault(require("./model/LayerApiModel"));
|
|
947
|
-
var _LayerApiResult = _interopRequireDefault(require("./model/LayerApiResult"));
|
|
948
|
-
var _LayerSource = _interopRequireDefault(require("./model/LayerSource"));
|
|
949
874
|
var _LinkApiResult = _interopRequireDefault(require("./model/LinkApiResult"));
|
|
950
875
|
var _LinkCreateApiModel = _interopRequireDefault(require("./model/LinkCreateApiModel"));
|
|
951
876
|
var _LinkModel = _interopRequireDefault(require("./model/LinkModel"));
|
|
@@ -966,7 +891,6 @@ var _ParametersFilterApiModel = _interopRequireDefault(require("./model/Paramete
|
|
|
966
891
|
var _ProblemDetails = _interopRequireDefault(require("./model/ProblemDetails"));
|
|
967
892
|
var _ProjectApiResult = _interopRequireDefault(require("./model/ProjectApiResult"));
|
|
968
893
|
var _ProjectAttributesFilterModel = _interopRequireDefault(require("./model/ProjectAttributesFilterModel"));
|
|
969
|
-
var _ProjectShortestApiResult = _interopRequireDefault(require("./model/ProjectShortestApiResult"));
|
|
970
894
|
var _ProjectTypeModel = _interopRequireDefault(require("./model/ProjectTypeModel"));
|
|
971
895
|
var _ProjectsFilterModel = _interopRequireDefault(require("./model/ProjectsFilterModel"));
|
|
972
896
|
var _SectionModel = _interopRequireDefault(require("./model/SectionModel"));
|
|
@@ -1014,7 +938,6 @@ var _WorkflowStatusApiResult = _interopRequireDefault(require("./model/WorkflowS
|
|
|
1014
938
|
var _AttachmentsApi = _interopRequireDefault(require("./api/AttachmentsApi"));
|
|
1015
939
|
var _AutoTestsApi = _interopRequireDefault(require("./api/AutoTestsApi"));
|
|
1016
940
|
var _ConfigurationsApi = _interopRequireDefault(require("./api/ConfigurationsApi"));
|
|
1017
|
-
var _CustomAttributesApi = _interopRequireDefault(require("./api/CustomAttributesApi"));
|
|
1018
941
|
var _ParametersApi = _interopRequireDefault(require("./api/ParametersApi"));
|
|
1019
942
|
var _ProjectAttributesApi = _interopRequireDefault(require("./api/ProjectAttributesApi"));
|
|
1020
943
|
var _ProjectSectionsApi = _interopRequireDefault(require("./api/ProjectSectionsApi"));
|
|
@@ -183,7 +183,7 @@ AttachmentPutModelAutoTestStepResultsModel.prototype['outcome'] = undefined;
|
|
|
183
183
|
AttachmentPutModelAutoTestStepResultsModel.prototype['stepResults'] = undefined;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* /// <summary>
|
|
186
|
+
* /// <summary> Specifies an attachment GUID. Multiple values can be sent. </summary>
|
|
187
187
|
* @member {Array.<module:model/AttachmentPutModel>} attachments
|
|
188
188
|
*/
|
|
189
189
|
AttachmentPutModelAutoTestStepResultsModel.prototype['attachments'] = undefined;
|