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.
Files changed (31) hide show
  1. package/lib/adapters-api/dist/ApiClient.js +6 -5
  2. package/lib/adapters-api/dist/api/AttachmentsApi.js +5 -5
  3. package/lib/adapters-api/dist/api/AutoTestsApi.js +118 -10
  4. package/lib/adapters-api/dist/api/ConfigurationsApi.js +1 -1
  5. package/lib/adapters-api/dist/api/CustomAttributesApi.js +4 -4
  6. package/lib/adapters-api/dist/api/ParametersApi.js +3 -3
  7. package/lib/adapters-api/dist/api/ProjectAttributesApi.js +2 -2
  8. package/lib/adapters-api/dist/api/ProjectSectionsApi.js +1 -1
  9. package/lib/adapters-api/dist/api/ProjectWorkItemsApi.js +1 -1
  10. package/lib/adapters-api/dist/api/ProjectsApi.js +4 -4
  11. package/lib/adapters-api/dist/api/SectionsApi.js +2 -2
  12. package/lib/adapters-api/dist/api/TestResultsApi.js +3 -3
  13. package/lib/adapters-api/dist/api/TestRunsApi.js +8 -8
  14. package/lib/adapters-api/dist/api/WorkItemsApi.js +3 -3
  15. package/lib/adapters-api/dist/api/WorkflowsApi.js +1 -1
  16. package/lib/adapters-api/dist/index.js +0 -7
  17. package/lib/adapters-api/dist/model/AutoTestFilterApiModel.js +0 -27
  18. package/lib/adapters-api/dist/model/AutoTestModel.js +0 -15
  19. package/lib/adapters-api/dist/model/AutoTestUpdateApiModel.js +6 -4
  20. package/lib/adapters-api/dist/model/CreateWorkItemApiModel.js +0 -22
  21. package/lib/adapters-api/dist/model/CustomAttributeType.js +0 -6
  22. package/lib/adapters-api/dist/model/CustomAttributeTypesEnum.js +0 -6
  23. package/lib/adapters-api/dist/model/WorkItemApiResult.js +4 -28
  24. package/lib/adapters-api/dist/model/WorkItemEntityTypeApiModel.js +0 -6
  25. package/lib/adapters-api/dist/model/WorkItemFilterApiModel.js +0 -40
  26. package/lib/adapters-api/dist/model/WorkItemTypeModel.js +0 -6
  27. package/lib/adapters-api/index.d.ts +96 -85
  28. package/lib/common/base.service.js +1 -4
  29. package/lib/services/syncstorage/syncstorage.runner.js +1 -1
  30. package/package.json +1 -1
  31. package/lib/adapters-api/dist/model/AutoTestCaseModel.js +0 -85
@@ -50,16 +50,13 @@ class ApiClient {
50
50
  * @type {Array.<String>}
51
51
  */
52
52
  this.authentications = {
53
+ // ALWAYS KEEP 'PrivateToken' without changes!
53
54
  'PrivateToken': {
54
55
  type: 'apiKey',
55
56
  'in': 'header',
56
57
  name: 'Authorization'
57
- },
58
- 'Cookies': {
59
- type: 'apiKey',
60
- 'in': 'query',
61
- name: 'session'
62
58
  }
59
+ // reject any changes here
63
60
  };
64
61
 
65
62
  /**
@@ -309,6 +306,10 @@ class ApiClient {
309
306
  applyAuthToRequest(request, authNames) {
310
307
  authNames.forEach(authName => {
311
308
  var auth = this.authentications[authName];
309
+ // KEEP without changes
310
+ if (!auth) {
311
+ return;
312
+ }
312
313
  switch (auth.type) {
313
314
  case 'basic':
314
315
  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', 'Cookies'];
57
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
105
+ let authNames = ['PrivateToken', 'Identity.Application'];
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 1 GB (1 073 741 824 bytes)
131
+ * File size is restricted to 50 MB (52 428 800 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', 'Cookies'];
145
+ let authNames = ['PrivateToken', 'Identity.Application'];
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 1 GB (1 073 741 824 bytes)
154
+ * File size is restricted to 50 MB (52 428 800 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}
@@ -7,6 +7,7 @@ exports.default = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _AutoTestApiResult = _interopRequireDefault(require("../model/AutoTestApiResult"));
9
9
  var _AutoTestCreateApiModel = _interopRequireDefault(require("../model/AutoTestCreateApiModel"));
10
+ var _AutoTestModel = _interopRequireDefault(require("../model/AutoTestModel"));
10
11
  var _AutoTestSearchApiModel = _interopRequireDefault(require("../model/AutoTestSearchApiModel"));
11
12
  var _AutoTestUpdateApiModel = _interopRequireDefault(require("../model/AutoTestUpdateApiModel"));
12
13
  var _AutoTestWorkItemIdentifierApiResult = _interopRequireDefault(require("../model/AutoTestWorkItemIdentifierApiResult"));
@@ -58,7 +59,7 @@ class AutoTestsApi {
58
59
  let queryParams = {};
59
60
  let headerParams = {};
60
61
  let formParams = {};
61
- let authNames = ['PrivateToken', 'Cookies'];
62
+ let authNames = ['PrivateToken', 'Identity.Application'];
62
63
  let contentTypes = ['application/json'];
63
64
  let accepts = ['application/json'];
64
65
  let returnType = [_AutoTestApiResult.default];
@@ -90,7 +91,7 @@ class AutoTestsApi {
90
91
  let queryParams = {};
91
92
  let headerParams = {};
92
93
  let formParams = {};
93
- let authNames = ['PrivateToken', 'Cookies'];
94
+ let authNames = ['PrivateToken', 'Identity.Application'];
94
95
  let contentTypes = ['application/json'];
95
96
  let accepts = ['application/json'];
96
97
  let returnType = null;
@@ -109,6 +110,113 @@ class AutoTestsApi {
109
110
  });
110
111
  }
111
112
 
113
+ /**
114
+ * @param {Object} opts Optional parameters
115
+ * @param {String} [projectId] Project internal ID
116
+ * @param {String} [externalId] Autotest external ID
117
+ * @param {Number} [globalId] Autotest global ID
118
+ * @param {String} [namespace] Namespace in which autotest is located
119
+ * @param {Boolean} [isNamespaceNull] OBSOLETE: Use `includeEmptyNamespaces` instead
120
+ * @param {Boolean} [includeEmptyNamespaces] If result must contain autotests without namespace
121
+ * @param {String} [className] Name of class in which autotest is located
122
+ * @param {Boolean} [isClassnameNull] OBSOLETE: Use `includeEmptyClassNames` instead
123
+ * @param {Boolean} [includeEmptyClassNames] If result must contain autotests without class
124
+ * @param {Boolean} [isDeleted] OBSOLETE: Use `deleted` instead
125
+ * @param {Boolean} [deleted] Is autotest deleted
126
+ * @param {Array.<String>} [labels] Include only autotests with provided labels
127
+ * @param {Number} [stabilityMinimal] OBSOLETE: Use `minStability` instead
128
+ * @param {Number} [minStability] Minimum stability value of autotest
129
+ * @param {Number} [stabilityMaximal] OBSOLETE: Use `maxStability` instead
130
+ * @param {Number} [maxStability] Maximum stability value of autotest
131
+ * @param {Boolean} [isFlaky] OBSOLETE: Use `flaky` instead
132
+ * @param {Boolean} [flaky] Is autotest marked as \"Flaky\"
133
+ * @param {Boolean} [includeSteps] If result must also include autotest steps
134
+ * @param {Boolean} [includeLabels] If result must also include autotest labels
135
+ * @param {String} [externalKey] External key of autotest
136
+ * @param {Number} [skip] Amount of items to be skipped (offset)
137
+ * @param {Number} [take] Amount of items to be taken (limit)
138
+ * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
139
+ * @param {String} [searchField] Property name for searching
140
+ * @param {String} [searchValue] Value for searching
141
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestModel>} and HTTP response
142
+ */
143
+ adaptersAutoTestsGetWithHttpInfo(opts) {
144
+ opts = opts || {};
145
+ let postBody = null;
146
+ let pathParams = {};
147
+ let queryParams = {
148
+ 'projectId': opts['projectId'],
149
+ 'externalId': opts['externalId'],
150
+ 'globalId': opts['globalId'],
151
+ 'namespace': opts['namespace'],
152
+ 'isNamespaceNull': opts['isNamespaceNull'],
153
+ 'includeEmptyNamespaces': opts['includeEmptyNamespaces'],
154
+ 'className': opts['className'],
155
+ 'isClassnameNull': opts['isClassnameNull'],
156
+ 'includeEmptyClassNames': opts['includeEmptyClassNames'],
157
+ 'isDeleted': opts['isDeleted'],
158
+ 'deleted': opts['deleted'],
159
+ 'labels': this.apiClient.buildCollectionParam(opts['labels'], 'multi'),
160
+ 'stabilityMinimal': opts['stabilityMinimal'],
161
+ 'minStability': opts['minStability'],
162
+ 'stabilityMaximal': opts['stabilityMaximal'],
163
+ 'maxStability': opts['maxStability'],
164
+ 'isFlaky': opts['isFlaky'],
165
+ 'flaky': opts['flaky'],
166
+ 'includeSteps': opts['includeSteps'],
167
+ 'includeLabels': opts['includeLabels'],
168
+ 'externalKey': opts['externalKey'],
169
+ 'Skip': opts['skip'],
170
+ 'Take': opts['take'],
171
+ 'OrderBy': opts['orderBy'],
172
+ 'SearchField': opts['searchField'],
173
+ 'SearchValue': opts['searchValue']
174
+ };
175
+ let headerParams = {};
176
+ let formParams = {};
177
+ let authNames = ['PrivateToken', 'Identity.Application'];
178
+ let contentTypes = [];
179
+ let accepts = ['application/json'];
180
+ let returnType = [_AutoTestModel.default];
181
+ return this.apiClient.callApi('/adapters/autoTests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
182
+ }
183
+
184
+ /**
185
+ * @param {Object} opts Optional parameters
186
+ * @param {String} opts.projectId Project internal ID
187
+ * @param {String} opts.externalId Autotest external ID
188
+ * @param {Number} opts.globalId Autotest global ID
189
+ * @param {String} opts.namespace Namespace in which autotest is located
190
+ * @param {Boolean} opts.isNamespaceNull OBSOLETE: Use `includeEmptyNamespaces` instead
191
+ * @param {Boolean} opts.includeEmptyNamespaces If result must contain autotests without namespace
192
+ * @param {String} opts.className Name of class in which autotest is located
193
+ * @param {Boolean} opts.isClassnameNull OBSOLETE: Use `includeEmptyClassNames` instead
194
+ * @param {Boolean} opts.includeEmptyClassNames If result must contain autotests without class
195
+ * @param {Boolean} opts.isDeleted OBSOLETE: Use `deleted` instead
196
+ * @param {Boolean} opts.deleted Is autotest deleted
197
+ * @param {Array.<String>} opts.labels Include only autotests with provided labels
198
+ * @param {Number} opts.stabilityMinimal OBSOLETE: Use `minStability` instead
199
+ * @param {Number} opts.minStability Minimum stability value of autotest
200
+ * @param {Number} opts.stabilityMaximal OBSOLETE: Use `maxStability` instead
201
+ * @param {Number} opts.maxStability Maximum stability value of autotest
202
+ * @param {Boolean} opts.isFlaky OBSOLETE: Use `flaky` instead
203
+ * @param {Boolean} opts.flaky Is autotest marked as \"Flaky\"
204
+ * @param {Boolean} opts.includeSteps If result must also include autotest steps
205
+ * @param {Boolean} opts.includeLabels If result must also include autotest labels
206
+ * @param {String} opts.externalKey External key of autotest
207
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
208
+ * @param {Number} opts.take Amount of items to be taken (limit)
209
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
210
+ * @param {String} opts.searchField Property name for searching
211
+ * @param {String} opts.searchValue Value for searching
212
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestModel>}
213
+ */
214
+ adaptersAutoTestsGet(opts) {
215
+ return this.adaptersAutoTestsGetWithHttpInfo(opts).then(function (response_and_data) {
216
+ return response_and_data.data;
217
+ });
218
+ }
219
+
112
220
  /**
113
221
  * Get autotest by internal or global ID
114
222
  * @param {String} id Internal (UUID) or global (integer) identifier
@@ -126,7 +234,7 @@ class AutoTestsApi {
126
234
  let queryParams = {};
127
235
  let headerParams = {};
128
236
  let formParams = {};
129
- let authNames = ['PrivateToken', 'Cookies'];
237
+ let authNames = ['PrivateToken', 'Identity.Application'];
130
238
  let contentTypes = [];
131
239
  let accepts = ['application/json'];
132
240
  let returnType = _AutoTestApiResult.default;
@@ -165,7 +273,7 @@ class AutoTestsApi {
165
273
  let queryParams = {};
166
274
  let headerParams = {};
167
275
  let formParams = {};
168
- let authNames = ['PrivateToken', 'Cookies'];
276
+ let authNames = ['PrivateToken', 'Identity.Application'];
169
277
  let contentTypes = ['application/json'];
170
278
  let accepts = ['application/json'];
171
279
  let returnType = null;
@@ -208,7 +316,7 @@ class AutoTestsApi {
208
316
  };
209
317
  let headerParams = {};
210
318
  let formParams = {};
211
- let authNames = ['PrivateToken', 'Cookies'];
319
+ let authNames = ['PrivateToken', 'Identity.Application'];
212
320
  let contentTypes = [];
213
321
  let accepts = ['application/json'];
214
322
  let returnType = null;
@@ -252,7 +360,7 @@ class AutoTestsApi {
252
360
  };
253
361
  let headerParams = {};
254
362
  let formParams = {};
255
- let authNames = ['PrivateToken', 'Cookies'];
363
+ let authNames = ['PrivateToken', 'Identity.Application'];
256
364
  let contentTypes = [];
257
365
  let accepts = ['application/json'];
258
366
  let returnType = [_AutoTestWorkItemIdentifierApiResult.default];
@@ -293,7 +401,7 @@ class AutoTestsApi {
293
401
  let queryParams = {};
294
402
  let headerParams = {};
295
403
  let formParams = {};
296
- let authNames = ['PrivateToken', 'Cookies'];
404
+ let authNames = ['PrivateToken', 'Identity.Application'];
297
405
  let contentTypes = ['application/json'];
298
406
  let accepts = ['application/json'];
299
407
  let returnType = null;
@@ -326,7 +434,7 @@ class AutoTestsApi {
326
434
  let queryParams = {};
327
435
  let headerParams = {};
328
436
  let formParams = {};
329
- let authNames = ['PrivateToken', 'Cookies'];
437
+ let authNames = ['PrivateToken', 'Identity.Application'];
330
438
  let contentTypes = ['application/json'];
331
439
  let accepts = ['application/json'];
332
440
  let returnType = _AutoTestApiResult.default;
@@ -358,7 +466,7 @@ class AutoTestsApi {
358
466
  let queryParams = {};
359
467
  let headerParams = {};
360
468
  let formParams = {};
361
- let authNames = ['PrivateToken', 'Cookies'];
469
+ let authNames = ['PrivateToken', 'Identity.Application'];
362
470
  let contentTypes = ['application/json'];
363
471
  let accepts = ['application/json'];
364
472
  let returnType = null;
@@ -401,7 +509,7 @@ class AutoTestsApi {
401
509
  };
402
510
  let headerParams = {};
403
511
  let formParams = {};
404
- let authNames = ['PrivateToken', 'Cookies'];
512
+ let authNames = ['PrivateToken', 'Identity.Application'];
405
513
  let contentTypes = ['application/json'];
406
514
  let accepts = ['application/json'];
407
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', 'Cookies'];
67
+ let authNames = ['PrivateToken', 'Identity.Application'];
68
68
  let contentTypes = ['application/json'];
69
69
  let accepts = ['application/json'];
70
70
  let returnType = [_ConfigurationModel.default];
@@ -63,7 +63,7 @@ class CustomAttributesApi {
63
63
  let queryParams = {};
64
64
  let headerParams = {};
65
65
  let formParams = {};
66
- let authNames = ['PrivateToken', 'Cookies'];
66
+ let authNames = ['PrivateToken', 'Identity.Application'];
67
67
  let contentTypes = ['application/json'];
68
68
  let accepts = ['application/json'];
69
69
  let returnType = _CustomAttributeApiResult.default;
@@ -96,7 +96,7 @@ class CustomAttributesApi {
96
96
  let queryParams = {};
97
97
  let headerParams = {};
98
98
  let formParams = {};
99
- let authNames = ['PrivateToken', 'Cookies'];
99
+ let authNames = ['PrivateToken', 'Identity.Application'];
100
100
  let contentTypes = ['application/json'];
101
101
  let accepts = ['application/json'];
102
102
  let returnType = _CustomAttributeApiResult.default;
@@ -132,7 +132,7 @@ class CustomAttributesApi {
132
132
  let queryParams = {};
133
133
  let headerParams = {};
134
134
  let formParams = {};
135
- let authNames = ['PrivateToken', 'Cookies'];
135
+ let authNames = ['PrivateToken', 'Identity.Application'];
136
136
  let contentTypes = [];
137
137
  let accepts = ['application/json'];
138
138
  let returnType = _CustomAttributeApiResult.default;
@@ -174,7 +174,7 @@ class CustomAttributesApi {
174
174
  };
175
175
  let headerParams = {};
176
176
  let formParams = {};
177
- let authNames = ['PrivateToken', 'Cookies'];
177
+ let authNames = ['PrivateToken', 'Identity.Application'];
178
178
  let contentTypes = ['application/json'];
179
179
  let accepts = ['application/json'];
180
180
  let returnType = [_CustomAttributeSearchApiResult.default];
@@ -58,7 +58,7 @@ class ParametersApi {
58
58
  let queryParams = {};
59
59
  let headerParams = {};
60
60
  let formParams = {};
61
- let authNames = ['PrivateToken', 'Cookies'];
61
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
92
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
135
+ let authNames = ['PrivateToken', 'Identity.Application'];
136
136
  let contentTypes = ['application/json'];
137
137
  let accepts = ['application/json'];
138
138
  let returnType = [_ParameterApiResult.default];
@@ -61,7 +61,7 @@ class ProjectAttributesApi {
61
61
  let queryParams = {};
62
62
  let headerParams = {};
63
63
  let formParams = {};
64
- let authNames = ['PrivateToken', 'Cookies'];
64
+ let authNames = ['PrivateToken', 'Identity.Application'];
65
65
  let contentTypes = ['application/json'];
66
66
  let accepts = ['application/json'];
67
67
  let returnType = null;
@@ -112,7 +112,7 @@ class ProjectAttributesApi {
112
112
  };
113
113
  let headerParams = {};
114
114
  let formParams = {};
115
- let authNames = ['PrivateToken', 'Cookies'];
115
+ let authNames = ['PrivateToken', 'Identity.Application'];
116
116
  let contentTypes = ['application/json'];
117
117
  let accepts = ['application/json'];
118
118
  let returnType = [_CustomAttributeModel.default];
@@ -69,7 +69,7 @@ class ProjectSectionsApi {
69
69
  };
70
70
  let headerParams = {};
71
71
  let formParams = {};
72
- let authNames = ['PrivateToken', 'Cookies'];
72
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
74
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
65
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
102
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
133
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
176
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
66
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
99
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
62
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
100
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
144
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
64
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
99
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
137
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
174
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
209
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
247
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
280
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
312
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
69
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
103
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
146
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
58
+ let authNames = ['PrivateToken', 'Identity.Application'];
59
59
  let contentTypes = [];
60
60
  let accepts = ['application/json'];
61
61
  let returnType = _WorkflowApiResult.default;
@@ -81,12 +81,6 @@ Object.defineProperty(exports, "AutoTestCaseApiModel", {
81
81
  return _AutoTestCaseApiModel.default;
82
82
  }
83
83
  });
84
- Object.defineProperty(exports, "AutoTestCaseModel", {
85
- enumerable: true,
86
- get: function () {
87
- return _AutoTestCaseModel.default;
88
- }
89
- });
90
84
  Object.defineProperty(exports, "AutoTestCreateApiModel", {
91
85
  enumerable: true,
92
86
  get: function () {
@@ -897,7 +891,6 @@ var _AttachmentUpdateRequest = _interopRequireDefault(require("./model/Attachmen
897
891
  var _AutoTest = _interopRequireDefault(require("./model/AutoTest"));
898
892
  var _AutoTestApiResult = _interopRequireDefault(require("./model/AutoTestApiResult"));
899
893
  var _AutoTestCaseApiModel = _interopRequireDefault(require("./model/AutoTestCaseApiModel"));
900
- var _AutoTestCaseModel = _interopRequireDefault(require("./model/AutoTestCaseModel"));
901
894
  var _AutoTestCreateApiModel = _interopRequireDefault(require("./model/AutoTestCreateApiModel"));
902
895
  var _AutoTestFilterApiModel = _interopRequireDefault(require("./model/AutoTestFilterApiModel"));
903
896
  var _AutoTestIdModel = _interopRequireDefault(require("./model/AutoTestIdModel"));
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _LayerSource = _interopRequireDefault(require("./LayerSource"));
9
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
9
  /**
11
10
  * API
@@ -84,12 +83,6 @@ class AutoTestFilterApiModel {
84
83
  if (data.hasOwnProperty('excludeTags')) {
85
84
  obj['excludeTags'] = _ApiClient.default.convertToType(data['excludeTags'], ['String']);
86
85
  }
87
- if (data.hasOwnProperty('layers')) {
88
- obj['layers'] = _ApiClient.default.convertToType(data['layers'], ['String']);
89
- }
90
- if (data.hasOwnProperty('layerSources')) {
91
- obj['layerSources'] = _ApiClient.default.convertToType(data['layerSources'], [_LayerSource.default]);
92
- }
93
86
  }
94
87
  return obj;
95
88
  }
@@ -136,14 +129,6 @@ class AutoTestFilterApiModel {
136
129
  if (!Array.isArray(data['excludeTags'])) {
137
130
  throw new Error("Expected the field `excludeTags` to be an array in the JSON data but got " + data['excludeTags']);
138
131
  }
139
- // ensure the json data is an array
140
- if (!Array.isArray(data['layers'])) {
141
- throw new Error("Expected the field `layers` to be an array in the JSON data but got " + data['layers']);
142
- }
143
- // ensure the json data is an array
144
- if (!Array.isArray(data['layerSources'])) {
145
- throw new Error("Expected the field `layerSources` to be an array in the JSON data but got " + data['layerSources']);
146
- }
147
132
  return true;
148
133
  }
149
134
  }
@@ -213,16 +198,4 @@ AutoTestFilterApiModel.prototype['tags'] = undefined;
213
198
  * @member {Array.<String>} excludeTags
214
199
  */
215
200
  AutoTestFilterApiModel.prototype['excludeTags'] = undefined;
216
-
217
- /**
218
- * Specifies auto test layers to search for
219
- * @member {Array.<String>} layers
220
- */
221
- AutoTestFilterApiModel.prototype['layers'] = undefined;
222
-
223
- /**
224
- * Specifies list of auto test layer sources to search for
225
- * @member {Array.<module:model/LayerSource>} layerSources
226
- */
227
- AutoTestFilterApiModel.prototype['layerSources'] = undefined;
228
201
  var _default = exports.default = AutoTestFilterApiModel;