testit-js-commons 5.0.8-TMS-5.8 → 5.0.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 (65) 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 +11 -11
  4. package/lib/adapters-api/dist/api/ConfigurationsApi.js +1 -1
  5. package/lib/adapters-api/dist/api/CustomAttributesApi.js +201 -0
  6. package/lib/adapters-api/dist/api/ParametersApi.js +3 -3
  7. package/lib/adapters-api/dist/api/ProjectAttributesApi.js +6 -6
  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 +80 -3
  17. package/lib/adapters-api/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
  18. package/lib/adapters-api/dist/model/AutoTestApiResult.js +15 -0
  19. package/lib/adapters-api/dist/model/AutoTestCreateApiModel.js +15 -0
  20. package/lib/adapters-api/dist/model/AutoTestStepResult.js +1 -1
  21. package/lib/adapters-api/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
  22. package/lib/adapters-api/dist/model/AutoTestUpdateApiModel.js +30 -4
  23. package/lib/adapters-api/dist/model/CreateEmptyTestRunApiModel.js +2 -2
  24. package/lib/adapters-api/dist/model/CustomAttributeApiResult.js +56 -6
  25. package/lib/adapters-api/dist/model/{CustomAttributeGetModel.js → CustomAttributeModel.js} +89 -39
  26. package/lib/adapters-api/dist/model/CustomAttributeOptionPostApiModel.js +98 -0
  27. package/lib/adapters-api/dist/model/CustomAttributeOptionUpdateApiModel.js +124 -0
  28. package/lib/adapters-api/dist/model/CustomAttributePutModel.js +1 -1
  29. package/lib/adapters-api/dist/model/CustomAttributeSearchApiModel.js +137 -0
  30. package/lib/adapters-api/dist/model/CustomAttributeSearchApiResult.js +281 -0
  31. package/lib/adapters-api/dist/model/GlobalCustomAttributePostApiModel.js +141 -0
  32. package/lib/adapters-api/dist/model/GlobalCustomAttributeUpdateApiModel.js +129 -0
  33. package/lib/adapters-api/dist/model/LabelApiModel.js +4 -15
  34. package/lib/adapters-api/dist/model/LayerApiModel.js +102 -0
  35. package/lib/adapters-api/dist/model/LayerApiResult.js +102 -0
  36. package/lib/adapters-api/dist/model/LayerSource.js +61 -0
  37. package/lib/adapters-api/dist/model/ProjectShortestApiResult.js +138 -0
  38. package/lib/adapters-api/dist/model/ProjectsFilterModel.js +13 -13
  39. package/lib/adapters-api/dist/model/TestResultResponse.js +18 -4
  40. package/lib/adapters-api/dist/model/TestResultShortResponse.js +15 -4
  41. package/lib/adapters-api/dist/model/TestResultsFilterApiModel.js +14 -0
  42. package/lib/adapters-api/dist/model/TestRunApiResult.js +45 -4
  43. package/lib/adapters-api/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
  44. package/lib/adapters-api/index.d.ts +758 -204
  45. package/lib/common/index.d.ts +1 -0
  46. package/lib/common/index.js +1 -0
  47. package/lib/common/test-layers.d.ts +11 -0
  48. package/lib/common/test-layers.js +13 -0
  49. package/lib/common/types/common.type.d.ts +6 -0
  50. package/lib/common/utils/tms-load-test-run-debug.d.ts +2 -0
  51. package/lib/common/utils/tms-load-test-run-debug.js +6 -0
  52. package/lib/services/autotests/autotests.converter.d.ts +6 -2
  53. package/lib/services/autotests/autotests.converter.js +41 -16
  54. package/lib/services/autotests/autotests.converter.test.d.ts +1 -0
  55. package/lib/services/autotests/autotests.converter.test.js +39 -0
  56. package/lib/services/autotests/autotests.service.js +3 -3
  57. package/lib/services/autotests/autotests.type.d.ts +2 -0
  58. package/lib/services/syncstorage/syncstorage.runner.js +6 -5
  59. package/lib/services/syncstorage/syncstorage.runner.test.js +16 -0
  60. package/lib/services/testruns/testruns.handler.d.ts +2 -2
  61. package/lib/services/testruns/testruns.handler.js +12 -2
  62. package/lib/services/testruns/testruns.service.js +21 -6
  63. package/lib/services/testruns/testruns.service.test.js +0 -43
  64. package/lib/sync-storage/dist/ApiClient.js +3 -0
  65. package/package.json +1 -1
@@ -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}
@@ -59,7 +59,7 @@ class AutoTestsApi {
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 = ['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', 'Cookies'];
94
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
177
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
237
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
276
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
319
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
363
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
404
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
437
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
469
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', 'Cookies'];
512
+ let authNames = ['PrivateToken', 'Identity.Application'];
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', '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];
@@ -0,0 +1,201 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _CustomAttributeApiResult = _interopRequireDefault(require("../model/CustomAttributeApiResult"));
9
+ var _CustomAttributeSearchApiModel = _interopRequireDefault(require("../model/CustomAttributeSearchApiModel"));
10
+ var _CustomAttributeSearchApiResult = _interopRequireDefault(require("../model/CustomAttributeSearchApiResult"));
11
+ var _GlobalCustomAttributePostApiModel = _interopRequireDefault(require("../model/GlobalCustomAttributePostApiModel"));
12
+ var _GlobalCustomAttributeUpdateApiModel = _interopRequireDefault(require("../model/GlobalCustomAttributeUpdateApiModel"));
13
+ var _ProblemDetails = _interopRequireDefault(require("../model/ProblemDetails"));
14
+ var _ValidationProblemDetails = _interopRequireDefault(require("../model/ValidationProblemDetails"));
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
+ /**
17
+ * API
18
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
19
+ *
20
+ * The version of the OpenAPI document: adapters
21
+ *
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
+
29
+ /**
30
+ * CustomAttributes service.
31
+ * @module api/CustomAttributesApi
32
+ * @version 1.0.0
33
+ */
34
+ class CustomAttributesApi {
35
+ /**
36
+ * Constructs a new CustomAttributesApi.
37
+ * @alias module:api/CustomAttributesApi
38
+ * @class
39
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
40
+ * default to {@link module:ApiClient#instance} if unspecified.
41
+ */
42
+ constructor(apiClient) {
43
+ this.apiClient = apiClient || _ApiClient.default.instance;
44
+ }
45
+
46
+ /**
47
+ * Update global attribute
48
+ * @param {String} id Unique ID of attribute
49
+ * @param {Object} opts Optional parameters
50
+ * @param {module:model/GlobalCustomAttributeUpdateApiModel} [globalCustomAttributeUpdateApiModel]
51
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomAttributeApiResult} and HTTP response
52
+ */
53
+ adaptersCustomAttributesGlobalIdPutWithHttpInfo(id, opts) {
54
+ opts = opts || {};
55
+ let postBody = opts['globalCustomAttributeUpdateApiModel'];
56
+ // verify the required parameter 'id' is set
57
+ if (id === undefined || id === null) {
58
+ throw new Error("Missing the required parameter 'id' when calling adaptersCustomAttributesGlobalIdPut");
59
+ }
60
+ let pathParams = {
61
+ 'id': id
62
+ };
63
+ let queryParams = {};
64
+ let headerParams = {};
65
+ let formParams = {};
66
+ let authNames = ['PrivateToken', 'Identity.Application'];
67
+ let contentTypes = ['application/json'];
68
+ let accepts = ['application/json'];
69
+ let returnType = _CustomAttributeApiResult.default;
70
+ return this.apiClient.callApi('/adapters/customAttributes/global/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
71
+ }
72
+
73
+ /**
74
+ * Update global attribute
75
+ * @param {String} id Unique ID of attribute
76
+ * @param {Object} opts Optional parameters
77
+ * @param {module:model/GlobalCustomAttributeUpdateApiModel} opts.globalCustomAttributeUpdateApiModel
78
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomAttributeApiResult}
79
+ */
80
+ adaptersCustomAttributesGlobalIdPut(id, opts) {
81
+ return this.adaptersCustomAttributesGlobalIdPutWithHttpInfo(id, opts).then(function (response_and_data) {
82
+ return response_and_data.data;
83
+ });
84
+ }
85
+
86
+ /**
87
+ * Create global attribute
88
+ * @param {Object} opts Optional parameters
89
+ * @param {module:model/GlobalCustomAttributePostApiModel} [globalCustomAttributePostApiModel]
90
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomAttributeApiResult} and HTTP response
91
+ */
92
+ adaptersCustomAttributesGlobalPostWithHttpInfo(opts) {
93
+ opts = opts || {};
94
+ let postBody = opts['globalCustomAttributePostApiModel'];
95
+ let pathParams = {};
96
+ let queryParams = {};
97
+ let headerParams = {};
98
+ let formParams = {};
99
+ let authNames = ['PrivateToken', 'Identity.Application'];
100
+ let contentTypes = ['application/json'];
101
+ let accepts = ['application/json'];
102
+ let returnType = _CustomAttributeApiResult.default;
103
+ return this.apiClient.callApi('/adapters/customAttributes/global', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
104
+ }
105
+
106
+ /**
107
+ * Create global attribute
108
+ * @param {Object} opts Optional parameters
109
+ * @param {module:model/GlobalCustomAttributePostApiModel} opts.globalCustomAttributePostApiModel
110
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomAttributeApiResult}
111
+ */
112
+ adaptersCustomAttributesGlobalPost(opts) {
113
+ return this.adaptersCustomAttributesGlobalPostWithHttpInfo(opts).then(function (response_and_data) {
114
+ return response_and_data.data;
115
+ });
116
+ }
117
+
118
+ /**
119
+ * Get attribute by ID
120
+ * @param {String} id Unique ID of attribute
121
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomAttributeApiResult} and HTTP response
122
+ */
123
+ adaptersCustomAttributesIdGetWithHttpInfo(id) {
124
+ let postBody = null;
125
+ // verify the required parameter 'id' is set
126
+ if (id === undefined || id === null) {
127
+ throw new Error("Missing the required parameter 'id' when calling adaptersCustomAttributesIdGet");
128
+ }
129
+ let pathParams = {
130
+ 'id': id
131
+ };
132
+ let queryParams = {};
133
+ let headerParams = {};
134
+ let formParams = {};
135
+ let authNames = ['PrivateToken', 'Identity.Application'];
136
+ let contentTypes = [];
137
+ let accepts = ['application/json'];
138
+ let returnType = _CustomAttributeApiResult.default;
139
+ return this.apiClient.callApi('/adapters/customAttributes/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
140
+ }
141
+
142
+ /**
143
+ * Get attribute by ID
144
+ * @param {String} id Unique ID of attribute
145
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomAttributeApiResult}
146
+ */
147
+ adaptersCustomAttributesIdGet(id) {
148
+ return this.adaptersCustomAttributesIdGetWithHttpInfo(id).then(function (response_and_data) {
149
+ return response_and_data.data;
150
+ });
151
+ }
152
+
153
+ /**
154
+ * Search for attributes
155
+ * @param {Object} opts Optional parameters
156
+ * @param {Number} [skip] Amount of items to be skipped (offset)
157
+ * @param {Number} [take] Amount of items to be taken (limit)
158
+ * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
159
+ * @param {String} [searchField] Property name for searching
160
+ * @param {String} [searchValue] Value for searching
161
+ * @param {module:model/CustomAttributeSearchApiModel} [customAttributeSearchApiModel]
162
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/CustomAttributeSearchApiResult>} and HTTP response
163
+ */
164
+ adaptersCustomAttributesSearchPostWithHttpInfo(opts) {
165
+ opts = opts || {};
166
+ let postBody = opts['customAttributeSearchApiModel'];
167
+ let pathParams = {};
168
+ let queryParams = {
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 = ['application/json'];
179
+ let accepts = ['application/json'];
180
+ let returnType = [_CustomAttributeSearchApiResult.default];
181
+ return this.apiClient.callApi('/adapters/customAttributes/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
182
+ }
183
+
184
+ /**
185
+ * Search for attributes
186
+ * @param {Object} opts Optional parameters
187
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
188
+ * @param {Number} opts.take Amount of items to be taken (limit)
189
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
190
+ * @param {String} opts.searchField Property name for searching
191
+ * @param {String} opts.searchValue Value for searching
192
+ * @param {module:model/CustomAttributeSearchApiModel} opts.customAttributeSearchApiModel
193
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/CustomAttributeSearchApiResult>}
194
+ */
195
+ adaptersCustomAttributesSearchPost(opts) {
196
+ return this.adaptersCustomAttributesSearchPostWithHttpInfo(opts).then(function (response_and_data) {
197
+ return response_and_data.data;
198
+ });
199
+ }
200
+ }
201
+ exports.default = CustomAttributesApi;
@@ -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];
@@ -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 _CustomAttributeGetModel = _interopRequireDefault(require("../model/CustomAttributeGetModel"));
8
+ var _CustomAttributeModel = _interopRequireDefault(require("../model/CustomAttributeModel"));
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', 'Cookies'];
64
+ let authNames = ['PrivateToken', 'Identity.Application'];
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/CustomAttributeGetModel>} and HTTP response
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
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', 'Cookies'];
115
+ let authNames = ['PrivateToken', 'Identity.Application'];
116
116
  let contentTypes = ['application/json'];
117
117
  let accepts = ['application/json'];
118
- let returnType = [_CustomAttributeGetModel.default];
118
+ let returnType = [_CustomAttributeModel.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/CustomAttributeGetModel>}
132
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/CustomAttributeModel>}
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', '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];