testit-js-commons 5.0.5 → 5.0.6-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.
Files changed (43) hide show
  1. package/lib/adapters-api/dist/ApiClient.js +5 -6
  2. package/lib/adapters-api/dist/api/AttachmentsApi.js +5 -5
  3. package/lib/adapters-api/dist/api/AutoTestsApi.js +11 -11
  4. package/lib/adapters-api/dist/api/ConfigurationsApi.js +1 -1
  5. package/lib/adapters-api/dist/api/ParametersApi.js +3 -3
  6. package/lib/adapters-api/dist/api/ProjectAttributesApi.js +6 -6
  7. package/lib/adapters-api/dist/api/ProjectSectionsApi.js +1 -1
  8. package/lib/adapters-api/dist/api/ProjectWorkItemsApi.js +1 -1
  9. package/lib/adapters-api/dist/api/ProjectsApi.js +4 -4
  10. package/lib/adapters-api/dist/api/SectionsApi.js +2 -2
  11. package/lib/adapters-api/dist/api/TestResultsApi.js +3 -3
  12. package/lib/adapters-api/dist/api/TestRunsApi.js +8 -8
  13. package/lib/adapters-api/dist/api/WorkItemsApi.js +3 -3
  14. package/lib/adapters-api/dist/api/WorkflowsApi.js +1 -1
  15. package/lib/adapters-api/dist/index.js +3 -3
  16. package/lib/adapters-api/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
  17. package/lib/adapters-api/dist/model/AutoTestStepResult.js +1 -1
  18. package/lib/adapters-api/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
  19. package/lib/adapters-api/dist/model/CreateEmptyTestRunApiModel.js +2 -2
  20. package/lib/adapters-api/dist/model/CustomAttributeApiResult.js +2 -2
  21. package/lib/adapters-api/dist/model/{CustomAttributeModel.js → CustomAttributeGetModel.js} +39 -89
  22. package/lib/adapters-api/dist/model/CustomAttributePutModel.js +1 -1
  23. package/lib/adapters-api/dist/model/LabelApiModel.js +15 -4
  24. package/lib/adapters-api/dist/model/TestResultResponse.js +4 -18
  25. package/lib/adapters-api/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
  26. package/lib/adapters-api/index.d.ts +196 -40
  27. package/lib/common/utils/tms-load-test-run-debug.d.ts +0 -2
  28. package/lib/common/utils/tms-load-test-run-debug.js +0 -6
  29. package/lib/services/attachments/attachments.service.d.ts +1 -0
  30. package/lib/services/attachments/attachments.service.js +10 -2
  31. package/lib/services/syncstorage/syncstorage.runner.js +5 -6
  32. package/lib/services/syncstorage/syncstorage.runner.test.js +0 -16
  33. package/lib/services/testresults/testresults.converter.d.ts +5 -4
  34. package/lib/services/testresults/testresults.converter.js +8 -0
  35. package/lib/services/testresults/testresults.service.js +18 -1
  36. package/lib/services/testruns/testruns.handler.d.ts +2 -2
  37. package/lib/services/testruns/testruns.handler.js +2 -12
  38. package/lib/services/testruns/testruns.service.js +6 -21
  39. package/lib/services/testruns/testruns.service.test.js +43 -0
  40. package/lib/strategy/base.strategy.js +1 -0
  41. package/lib/strategy/zero.strategy.js +1 -1
  42. package/lib/sync-storage/dist/ApiClient.js +0 -3
  43. package/package.json +1 -1
@@ -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', 'Identity.Application'];
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', 'Identity.Application'];
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 50 MB (52 428 800 bytes)
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', 'Identity.Application'];
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 50 MB (52 428 800 bytes)
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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 _CustomAttributeModel = _interopRequireDefault(require("../model/CustomAttributeModel"));
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', 'Identity.Application'];
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/CustomAttributeModel>} and HTTP response
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', 'Identity.Application'];
115
+ let authNames = ['PrivateToken', 'Cookies'];
116
116
  let contentTypes = ['application/json'];
117
117
  let accepts = ['application/json'];
118
- let returnType = [_CustomAttributeModel.default];
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/CustomAttributeModel>}
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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', 'Identity.Application'];
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, "CustomAttributeModel", {
258
+ Object.defineProperty(exports, "CustomAttributeGetModel", {
259
259
  enumerable: true,
260
260
  get: function () {
261
- return _CustomAttributeModel.default;
261
+ return _CustomAttributeGetModel.default;
262
262
  }
263
263
  });
264
264
  Object.defineProperty(exports, "CustomAttributeOptionApiResult", {
@@ -852,7 +852,7 @@ var _CreateProjectApiModel = _interopRequireDefault(require("./model/CreateProje
852
852
  var _CreateStepApiModel = _interopRequireDefault(require("./model/CreateStepApiModel"));
853
853
  var _CreateWorkItemApiModel = _interopRequireDefault(require("./model/CreateWorkItemApiModel"));
854
854
  var _CustomAttributeApiResult = _interopRequireDefault(require("./model/CustomAttributeApiResult"));
855
- var _CustomAttributeModel = _interopRequireDefault(require("./model/CustomAttributeModel"));
855
+ var _CustomAttributeGetModel = _interopRequireDefault(require("./model/CustomAttributeGetModel"));
856
856
  var _CustomAttributeOptionApiResult = _interopRequireDefault(require("./model/CustomAttributeOptionApiResult"));
857
857
  var _CustomAttributeOptionModel = _interopRequireDefault(require("./model/CustomAttributeOptionModel"));
858
858
  var _CustomAttributePutModel = _interopRequireDefault(require("./model/CustomAttributePutModel"));
@@ -183,7 +183,7 @@ AttachmentPutModelAutoTestStepResultsModel.prototype['outcome'] = undefined;
183
183
  AttachmentPutModelAutoTestStepResultsModel.prototype['stepResults'] = undefined;
184
184
 
185
185
  /**
186
- * /// <summary> Specifies an attachment GUID. Multiple values can be sent. </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;
@@ -183,7 +183,7 @@ AutoTestStepResult.prototype['outcome'] = undefined;
183
183
  AutoTestStepResult.prototype['stepResults'] = undefined;
184
184
 
185
185
  /**
186
- * /// <summary> Specifies an attachment GUID. Multiple values can be sent. </summary>
186
+ * /// <summary> Specifies an attachment GUID. Multiple values can be sent. </summary>
187
187
  * @member {Array.<module:model/AttachmentApiResult>} attachments
188
188
  */
189
189
  AutoTestStepResult.prototype['attachments'] = undefined;
@@ -183,7 +183,7 @@ AutoTestStepResultUpdateRequest.prototype['outcome'] = undefined;
183
183
  AutoTestStepResultUpdateRequest.prototype['stepResults'] = undefined;
184
184
 
185
185
  /**
186
- * /// <summary> Specifies an attachment GUID. Multiple values can be sent. </summary>
186
+ * /// <summary> Specifies an attachment GUID. Multiple values can be sent. </summary>
187
187
  * @member {Array.<module:model/AttachmentUpdateRequest>} attachments
188
188
  */
189
189
  AutoTestStepResultUpdateRequest.prototype['attachments'] = undefined;
@@ -30,7 +30,7 @@ class CreateEmptyTestRunApiModel {
30
30
  /**
31
31
  * Constructs a new <code>CreateEmptyTestRunApiModel</code>.
32
32
  * @alias module:model/CreateEmptyTestRunApiModel
33
- * @param projectId {String} Project unique identifier This property is to link test run with a project
33
+ * @param projectId {String} Project unique identifier This property is to link test run with a project
34
34
  */
35
35
  constructor(projectId) {
36
36
  CreateEmptyTestRunApiModel.initialize(this, projectId);
@@ -142,7 +142,7 @@ class CreateEmptyTestRunApiModel {
142
142
  CreateEmptyTestRunApiModel.RequiredProperties = ["projectId"];
143
143
 
144
144
  /**
145
- * Project unique identifier This property is to link test run with a project
145
+ * Project unique identifier This property is to link test run with a project
146
146
  * @member {String} projectId
147
147
  */
148
148
  CreateEmptyTestRunApiModel.prototype['projectId'] = undefined;
@@ -31,7 +31,7 @@ class CustomAttributeApiResult {
31
31
  * Constructs a new <code>CustomAttributeApiResult</code>.
32
32
  * @alias module:model/CustomAttributeApiResult
33
33
  * @param id {String} Unique ID of the attribute
34
- * @param options {Array.<module:model/CustomAttributeOptionApiResult>} Collection of the attribute options Available for attributes of type `options` and `multiple options` only
34
+ * @param options {Array.<module:model/CustomAttributeOptionApiResult>} Collection of the attribute options Available for attributes of type `options` and `multiple options` only
35
35
  * @param type {module:model/CustomAttributeType} Type of the attribute
36
36
  * @param isDeleted {Boolean} Indicates if the attribute is deleted
37
37
  * @param name {String} Name of the attribute
@@ -141,7 +141,7 @@ CustomAttributeApiResult.RequiredProperties = ["id", "options", "type", "isDelet
141
141
  CustomAttributeApiResult.prototype['id'] = undefined;
142
142
 
143
143
  /**
144
- * Collection of the attribute options Available for attributes of type `options` and `multiple options` only
144
+ * Collection of the attribute options Available for attributes of type `options` and `multiple options` only
145
145
  * @member {Array.<module:model/CustomAttributeOptionApiResult>} options
146
146
  */
147
147
  CustomAttributeApiResult.prototype['options'] = undefined;