testit-api-client 7.2.6 → 7.3.0-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 (530) hide show
  1. package/README.MD +85 -13
  2. package/dist/api/AIServicesAPIApi.js +92 -0
  3. package/dist/api/AttachmentsApi.js +8 -8
  4. package/dist/api/AutoTestsApi.js +55 -55
  5. package/dist/api/BackgroundJobsApi.js +7 -7
  6. package/dist/api/ConfigurationsApi.js +17 -17
  7. package/dist/api/CustomAttributeTemplatesApi.js +24 -24
  8. package/dist/api/CustomAttributesApi.js +7 -7
  9. package/dist/api/ExternalIssuesApi.js +6 -6
  10. package/dist/api/{SearchApi.js → ExternalServicesApi.js} +24 -28
  11. package/dist/api/FailureCategoriesApi.js +617 -0
  12. package/dist/api/NotificationsApi.js +16 -16
  13. package/dist/api/OpenIdConnectionsApi.js +2 -2
  14. package/dist/api/ParametersApi.js +38 -38
  15. package/dist/api/ProjectAttributeTemplatesApi.js +8 -8
  16. package/dist/api/ProjectAttributesApi.js +15 -15
  17. package/dist/api/ProjectConfigurationsApi.js +4 -4
  18. package/dist/api/ProjectExternalServicesApi.js +339 -0
  19. package/dist/api/ProjectFailureCategoriesApi.js +275 -0
  20. package/dist/api/ProjectSectionsApi.js +4 -4
  21. package/dist/api/ProjectSettingsApi.js +3 -3
  22. package/dist/api/ProjectTestPlanAttributesApi.js +14 -14
  23. package/dist/api/ProjectTestPlanTestPointsApi.js +164 -6
  24. package/dist/api/ProjectTestPlansApi.js +13 -13
  25. package/dist/api/ProjectWorkItemsApi.js +107 -20
  26. package/dist/api/ProjectsApi.js +65 -96
  27. package/dist/api/RolesApi.js +76 -0
  28. package/dist/api/SectionsApi.js +21 -21
  29. package/dist/api/TagsApi.js +19 -19
  30. package/dist/api/TestPlansApi.js +128 -128
  31. package/dist/api/TestPointsApi.js +5 -5
  32. package/dist/api/TestResultsApi.js +73 -26
  33. package/dist/api/TestRunsApi.js +102 -55
  34. package/dist/api/TestStatusesApi.js +12 -12
  35. package/dist/api/TestSuitesApi.js +28 -28
  36. package/dist/api/UserRoleAssignmentsApi.js +134 -0
  37. package/dist/api/UserStoragesApi.js +120 -0
  38. package/dist/api/UsersApi.js +112 -2
  39. package/dist/api/WebhooksApi.js +11 -11
  40. package/dist/api/WebhooksLogsApi.js +4 -4
  41. package/dist/api/WorkItemsApi.js +165 -118
  42. package/dist/api/WorkItemsCommentsApi.js +10 -10
  43. package/dist/api/WorkflowsApi.js +17 -17
  44. package/dist/index.js +251 -48
  45. package/dist/model/AIServiceModelApiResult.js +1 -1
  46. package/dist/model/AIServiceModelApiResultGroup.js +156 -0
  47. package/dist/model/AIServiceModelApiResultGroupedReply.js +140 -0
  48. package/dist/model/AIServiceModelApiResultIReply.js +157 -0
  49. package/dist/model/AIServiceModelApiResultReply.js +1 -1
  50. package/dist/model/AssignAttachmentApiModel.js +1 -1
  51. package/dist/model/{Link.js → AssignAutoTestCaseIdApiModel.js} +24 -84
  52. package/dist/model/AssignIterationApiModel.js +1 -1
  53. package/dist/model/AttachmentApiResult.js +1 -1
  54. package/dist/model/AttachmentChangeViewModel.js +1 -1
  55. package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
  56. package/dist/model/AttachmentModel.js +1 -1
  57. package/dist/model/AttachmentPutModel.js +1 -1
  58. package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +2 -2
  59. package/dist/model/AttachmentUpdateRequest.js +1 -1
  60. package/dist/model/AuditApiResult.js +1 -1
  61. package/dist/model/AutoTest.js +5 -5
  62. package/dist/model/AutoTestApiResult.js +1 -1
  63. package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
  64. package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
  65. package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
  66. package/dist/model/{DemoProjectApiResult.js → AutoTestCaseApiModel.js} +29 -29
  67. package/dist/model/AutoTestCaseModel.js +112 -0
  68. package/dist/model/AutoTestChangeViewModel.js +1 -1
  69. package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
  70. package/dist/model/AutoTestClassCountApiModel.js +1 -1
  71. package/dist/model/AutoTestCreateApiModel.js +1 -1
  72. package/dist/model/AutoTestExtractionApiModel.js +1 -1
  73. package/dist/model/AutoTestFilterApiModel.js +1 -1
  74. package/dist/model/AutoTestFilterModel.js +1 -1
  75. package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
  76. package/dist/model/AutoTestIdModel.js +1 -1
  77. package/dist/model/AutoTestModel.js +1 -1
  78. package/dist/model/AutoTestModelV2GetModel.js +1 -1
  79. package/dist/model/AutoTestNamespaceApiResult.js +1 -1
  80. package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
  81. package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
  82. package/dist/model/AutoTestProjectSettingsApiModel.js +49 -5
  83. package/dist/model/AutoTestProjectSettingsApiResult.js +49 -5
  84. package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
  85. package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
  86. package/dist/model/AutoTestResultReasonShort.js +1 -1
  87. package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
  88. package/dist/model/AutoTestSearchApiModel.js +1 -1
  89. package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
  90. package/dist/model/AutoTestSelectApiModel.js +1 -1
  91. package/dist/model/AutoTestSelectModel.js +1 -1
  92. package/dist/model/AutoTestShortApiResult.js +1 -1
  93. package/dist/model/AutoTestStep.js +1 -1
  94. package/dist/model/AutoTestStepApiModel.js +1 -1
  95. package/dist/model/AutoTestStepApiResult.js +1 -1
  96. package/dist/model/AutoTestStepModel.js +1 -1
  97. package/dist/model/AutoTestStepResult.js +2 -2
  98. package/dist/model/AutoTestStepResultUpdateRequest.js +2 -2
  99. package/dist/model/AutoTestStepResultsApiResult.js +1 -1
  100. package/dist/model/AutoTestUpdateApiModel.js +1 -1
  101. package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
  102. package/dist/model/AutoTestsExtractionModel.js +1 -1
  103. package/dist/model/AutotestResultReasonFilterModel.js +1 -1
  104. package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
  105. package/dist/model/BackgroundJobAttachmentModel.js +1 -1
  106. package/dist/model/BackgroundJobFilterModel.js +1 -1
  107. package/dist/model/BackgroundJobGetModel.js +1 -1
  108. package/dist/model/BooleanChangedFieldViewModel.js +1 -1
  109. package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
  110. package/dist/model/CollectionFilter.js +1 -1
  111. package/dist/model/CompositeFilter.js +1 -1
  112. package/dist/model/ConfigurationByParametersModel.js +1 -1
  113. package/dist/model/ConfigurationExtractionApiModel.js +1 -1
  114. package/dist/model/ConfigurationExtractionModel.js +1 -1
  115. package/dist/model/ConfigurationFilterApiModel.js +1 -1
  116. package/dist/model/ConfigurationFilterModel.js +1 -1
  117. package/dist/model/ConfigurationModel.js +1 -1
  118. package/dist/model/ConfigurationPostModel.js +1 -1
  119. package/dist/model/ConfigurationPutModel.js +1 -1
  120. package/dist/model/ConfigurationSelectApiModel.js +1 -1
  121. package/dist/model/ConfigurationSelectModel.js +1 -1
  122. package/dist/model/ConfigurationShort.js +1 -1
  123. package/dist/model/ConfigurationShortApiResult.js +1 -1
  124. package/dist/model/ConfigurationShortModel.js +1 -1
  125. package/dist/model/CreateDefectApiModel.js +1 -1
  126. package/dist/model/CreateEmptyTestRunApiModel.js +3 -3
  127. package/dist/model/CreateFailureCategoryApiModel.js +1 -1
  128. package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
  129. package/dist/model/CreateLinkApiModel.js +7 -5
  130. package/dist/model/CreateParameterApiModel.js +1 -1
  131. package/dist/model/CreateProjectApiModel.js +1 -1
  132. package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
  133. package/dist/model/CreateStepApiModel.js +1 -1
  134. package/dist/model/CreateTagApiModel.js +1 -1
  135. package/dist/model/CreateTestPlanApiModel.js +1 -1
  136. package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +1 -1
  137. package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +1 -1
  138. package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +1 -1
  139. package/dist/model/CreateTestStatusApiModel.js +1 -1
  140. package/dist/model/CreateUserApiModel.js +204 -0
  141. package/dist/model/CreateWorkItemApiModel.js +15 -27
  142. package/dist/model/CreateWorkItemCommentApiModel.js +1 -1
  143. package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
  144. package/dist/model/CreateWorkflowApiModel.js +1 -1
  145. package/dist/model/CustomAttributeApiResult.js +33 -7
  146. package/dist/model/CustomAttributeChangeModel.js +1 -1
  147. package/dist/model/CustomAttributeGetModel.js +1 -1
  148. package/dist/model/CustomAttributeModel.js +33 -7
  149. package/dist/model/CustomAttributeOptionApiResult.js +1 -1
  150. package/dist/model/CustomAttributeOptionModel.js +1 -1
  151. package/dist/model/CustomAttributeOptionPostModel.js +1 -1
  152. package/dist/model/CustomAttributePostModel.js +2 -2
  153. package/dist/model/CustomAttributePutModel.js +2 -2
  154. package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
  155. package/dist/model/CustomAttributeSearchResponseModel.js +33 -7
  156. package/dist/model/CustomAttributeTemplateModel.js +1 -1
  157. package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
  158. package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
  159. package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
  160. package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
  161. package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
  162. package/dist/model/CustomAttributeValidationResult.js +1 -1
  163. package/dist/model/DateTimeRangeSelectorModel.js +1 -1
  164. package/dist/model/DefectApiModel.js +1 -1
  165. package/dist/model/{ProjectModel.js → DetailedProjectApiResult.js} +82 -71
  166. package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
  167. package/dist/model/ExternalFormAllowedValueModel.js +1 -1
  168. package/dist/model/ExternalFormCreateModel.js +1 -1
  169. package/dist/model/ExternalFormFieldModel.js +1 -1
  170. package/dist/model/ExternalFormLinkModel.js +1 -1
  171. package/dist/model/ExternalFormModel.js +1 -1
  172. package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
  173. package/dist/model/{GlobalSearchResponse.js → ExternalIssueApiFieldSuggestionGroup.js} +51 -49
  174. package/dist/model/ExternalIssueApiFieldSuggestionGroupedReply.js +140 -0
  175. package/dist/model/ExternalIssueApiFieldSuggestionIReply.js +157 -0
  176. package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
  177. package/dist/model/ExternalIssueApiMetadata.js +1 -1
  178. package/dist/model/ExternalIssueApiPriority.js +1 -1
  179. package/dist/model/ExternalIssueApiResult.js +1 -1
  180. package/dist/model/ExternalIssueApiType.js +1 -1
  181. package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
  182. package/dist/model/ExternalIssueMetadataModel.js +1 -1
  183. package/dist/model/ExternalIssueModel.js +1 -1
  184. package/dist/model/ExternalIssuePriorityModel.js +1 -1
  185. package/dist/model/ExternalIssueTypeModel.js +1 -1
  186. package/dist/model/ExternalLinkModel.js +1 -1
  187. package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
  188. package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
  189. package/dist/model/FailureCategoryApiResult.js +1 -1
  190. package/dist/model/FailureCategoryGroupApiModel.js +1 -1
  191. package/dist/model/FailureCategoryGroupApiResult.js +1 -1
  192. package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
  193. package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
  194. package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
  195. package/dist/model/FailureCategoryItemApiResult.js +1 -1
  196. package/dist/model/FailureClassRegexApiResult.js +1 -1
  197. package/dist/model/Filter.js +1 -1
  198. package/dist/model/FilterModel.js +1 -1
  199. package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -14
  200. package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
  201. package/dist/model/GetAIServiceModelsApiModel.js +1 -1
  202. package/dist/model/GetExternalFormApiResult.js +1 -1
  203. package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
  204. package/dist/model/GetShortProjectsApiModel.js +1 -1
  205. package/dist/model/{GetXlsxTestPointsByTestPlanModel.js → GetXlsxTestPointsByTestPlanApiModel.js} +81 -35
  206. package/dist/model/GlobalCustomAttributePostModel.js +2 -2
  207. package/dist/model/GlobalCustomAttributeUpdateModel.js +2 -2
  208. package/dist/model/{GlobalSearchItemResult.js → Group.js} +34 -68
  209. package/dist/model/GroupKey.js +124 -0
  210. package/dist/model/GuidChangedFieldViewModel.js +1 -1
  211. package/dist/model/GuidExtractionModel.js +1 -1
  212. package/dist/model/GuidNullableChangedFieldViewModel.js +101 -0
  213. package/dist/model/IFilter.js +1 -1
  214. package/dist/model/Inquiry.js +16 -2
  215. package/dist/model/Int32ChangedFieldViewModel.js +1 -1
  216. package/dist/model/Int32RangeSelectorModel.js +1 -1
  217. package/dist/model/Int64ChangedFieldViewModel.js +1 -1
  218. package/dist/model/Int64RangeSelectorModel.js +1 -1
  219. package/dist/model/IterationApiResult.js +1 -1
  220. package/dist/model/IterationModel.js +1 -1
  221. package/dist/model/Label.js +1 -1
  222. package/dist/model/LabelApiModel.js +1 -1
  223. package/dist/model/LabelApiResult.js +1 -1
  224. package/dist/model/LabelShortModel.js +1 -1
  225. package/dist/model/LastTestResultApiResult.js +1 -1
  226. package/dist/model/LastTestResultModel.js +1 -1
  227. package/dist/model/LinkApiResult.js +7 -5
  228. package/dist/model/LinkCreateApiModel.js +7 -5
  229. package/dist/model/LinkModel.js +7 -5
  230. package/dist/model/LinkPostModel.js +7 -5
  231. package/dist/model/LinkPutModel.js +7 -5
  232. package/dist/model/LinkShortApiResult.js +5 -9
  233. package/dist/model/LinkShortModel.js +10 -13
  234. package/dist/model/LinkUpdateApiModel.js +7 -5
  235. package/dist/model/ManualRerunApiResult.js +1 -1
  236. package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
  237. package/dist/model/ManualRerunTestResultApiModel.js +1 -1
  238. package/dist/model/NamedEntityApiModel.js +1 -1
  239. package/dist/model/NotificationModel.js +1 -1
  240. package/dist/model/NotificationQueryFilterModel.js +1 -1
  241. package/dist/model/OpenIdConnectionClientShortModel.js +1 -1
  242. package/dist/model/OpenIdConnectionSettingsShortClientModel.js +1 -1
  243. package/dist/model/Operation.js +1 -1
  244. package/dist/model/Order.js +1 -1
  245. package/dist/model/Page.js +1 -1
  246. package/dist/model/ParameterApiResult.js +1 -1
  247. package/dist/model/ParameterGroupApiResult.js +1 -1
  248. package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
  249. package/dist/model/ParameterIterationModel.js +13 -1
  250. package/dist/model/ParameterShortApiResult.js +1 -1
  251. package/dist/model/ParameterShortModel.js +13 -1
  252. package/dist/model/ParametersFilterApiModel.js +1 -1
  253. package/dist/model/PeriodViewModel.js +1 -1
  254. package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
  255. package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
  256. package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
  257. package/dist/model/ProblemDetails.js +1 -1
  258. package/dist/model/ProjectApiResult.js +12 -71
  259. package/dist/model/ProjectAttributesFilterModel.js +1 -1
  260. package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
  261. package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
  262. package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
  263. package/dist/model/ProjectExternalServiceApiResult.js +1 -1
  264. package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
  265. package/dist/model/ProjectExternalServicesApiResult.js +1 -1
  266. package/dist/model/ProjectExtractionModel.js +1 -1
  267. package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
  268. package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
  269. package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
  270. package/dist/model/ProjectNameApiResult.js +1 -1
  271. package/dist/model/ProjectSelectModel.js +1 -1
  272. package/dist/model/ProjectShortApiResult.js +1 -1
  273. package/dist/model/ProjectShortApiResultGroup.js +156 -0
  274. package/dist/model/ProjectShortApiResultGroupedReply.js +140 -0
  275. package/dist/model/ProjectShortApiResultIReply.js +157 -0
  276. package/dist/model/ProjectShortApiResultReply.js +1 -1
  277. package/dist/model/ProjectShortestModel.js +1 -1
  278. package/dist/model/ProjectTestPlansFilterModel.js +1 -1
  279. package/dist/model/ProjectsFilterModel.js +1 -1
  280. package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
  281. package/dist/model/RerunTestResultApiResult.js +1 -1
  282. package/dist/model/RerunsApiResult.js +1 -1
  283. package/dist/model/{GlobalSearchRequest.js → RoleApiModel.js} +42 -50
  284. package/dist/model/RoleApiModelApiCollection.js +142 -0
  285. package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
  286. package/dist/model/SearchExternalIssuesApiModel.js +1 -1
  287. package/dist/model/SearchTestRunsApiModel.js +1 -1
  288. package/dist/model/SearchTestStatusesApiModel.js +1 -1
  289. package/dist/model/SearchWebhooksQueryModel.js +1 -1
  290. package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
  291. package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
  292. package/dist/model/SearchWorkflowsApiModel.js +1 -1
  293. package/dist/model/SectionModel.js +1 -1
  294. package/dist/model/SectionMoveModel.js +1 -1
  295. package/dist/model/SectionPostModel.js +1 -1
  296. package/dist/model/SectionPutModel.js +1 -1
  297. package/dist/model/SectionRenameModel.js +1 -1
  298. package/dist/model/SectionWithStepsModel.js +1 -1
  299. package/dist/model/SelectTagsApiModel.js +1 -1
  300. package/dist/model/SharedStepChangeViewModel.js +1 -1
  301. package/dist/model/SharedStepModel.js +1 -1
  302. package/dist/model/SharedStepReferenceModel.js +1 -1
  303. package/dist/model/SharedStepReferenceSectionModel.js +1 -1
  304. package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
  305. package/dist/model/SharedStepReferencesQueryFilterModel.js +5 -4
  306. package/dist/model/SharedStepResultApiModel.js +1 -1
  307. package/dist/model/ShortConfiguration.js +1 -1
  308. package/dist/model/StepCommentApiModel.js +1 -1
  309. package/dist/model/StepModel.js +1 -1
  310. package/dist/model/StepPostModel.js +1 -1
  311. package/dist/model/StepPutModel.js +1 -1
  312. package/dist/model/StepResultApiModel.js +1 -1
  313. package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
  314. package/dist/model/StringChangedFieldViewModel.js +1 -1
  315. package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
  316. package/dist/model/StringExtractionModel.js +1 -1
  317. package/dist/model/TagApiModel.js +1 -1
  318. package/dist/model/TagApiResult.js +1 -1
  319. package/dist/model/TagModel.js +1 -1
  320. package/dist/model/TagShortApiResult.js +1 -1
  321. package/dist/model/TagsExtractionApiModel.js +1 -1
  322. package/dist/model/TagsFilterApiModel.js +1 -1
  323. package/dist/model/TestPlanApiResult.js +1 -1
  324. package/dist/model/TestPlanChangeModel.js +1 -1
  325. package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
  326. package/dist/model/TestPlanExtractionModel.js +1 -1
  327. package/dist/model/TestPlanGroupByStatus.js +1 -1
  328. package/dist/model/TestPlanGroupByStatusCode.js +1 -1
  329. package/dist/model/TestPlanGroupByStatusType.js +1 -1
  330. package/dist/model/TestPlanGroupByTester.js +1 -1
  331. package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
  332. package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
  333. package/dist/model/TestPlanLink.js +1 -1
  334. package/dist/model/TestPlanModel.js +1 -1
  335. package/dist/model/TestPlanSelectModel.js +1 -1
  336. package/dist/model/TestPlanShortModel.js +1 -1
  337. package/dist/model/TestPlanSummaryModel.js +1 -1
  338. package/dist/model/TestPlanTagApiResult.js +1 -1
  339. package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
  340. package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
  341. package/dist/model/TestPlanTestPointsApiModel.js +1 -1
  342. package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
  343. package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
  344. package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
  345. package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
  346. package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
  347. package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
  348. package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
  349. package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
  350. package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
  351. package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
  352. package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
  353. package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
  354. package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
  355. package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
  356. package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
  357. package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
  358. package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
  359. package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
  360. package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
  361. package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
  362. package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
  363. package/dist/model/TestPlanWithAnalyticModel.js +1 -1
  364. package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
  365. package/dist/model/TestPoint.js +1 -1
  366. package/dist/model/TestPointAnalyticResult.js +1 -1
  367. package/dist/model/TestPointByTestSuiteModel.js +2 -2
  368. package/dist/model/TestPointChangeViewModel.js +1 -1
  369. package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
  370. package/dist/model/TestPointFilterModel.js +1 -1
  371. package/dist/model/TestPointFilterRequestModel.js +1 -1
  372. package/dist/model/TestPointResultApiResult.js +1 -1
  373. package/dist/model/TestPointSelectModel.js +1 -1
  374. package/dist/model/TestPointSelector.js +1 -1
  375. package/dist/model/TestPointShortApiResult.js +2 -2
  376. package/dist/model/TestPointShortModel.js +2 -2
  377. package/dist/model/TestPointShortResponseModel.js +1 -1
  378. package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
  379. package/dist/model/TestPointsExtractionModel.js +1 -1
  380. package/dist/model/TestResultApiResult.js +1 -1
  381. package/dist/model/TestResultChangeViewModel.js +1 -1
  382. package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
  383. package/dist/model/TestResultChronologyModel.js +1 -1
  384. package/dist/model/TestResultFailureClassApiResult.js +1 -1
  385. package/dist/model/TestResultHistoryReportApiResult.js +8 -8
  386. package/dist/model/TestResultLinkApiResult.js +7 -5
  387. package/dist/model/TestResultResponse.js +5 -5
  388. package/dist/model/TestResultShortApiResult.js +1 -1
  389. package/dist/model/TestResultShortResponse.js +1 -1
  390. package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
  391. package/dist/model/TestResultUpdateV2Request.js +5 -5
  392. package/dist/model/TestResultV2GetModel.js +1 -1
  393. package/dist/model/TestResultV2ShortModel.js +1 -1
  394. package/dist/model/TestResultsExtractionApiModel.js +1 -1
  395. package/dist/model/TestResultsFilterApiModel.js +1 -1
  396. package/dist/model/TestResultsLocalFilterModel.js +1 -1
  397. package/dist/model/TestResultsSelectApiModel.js +1 -1
  398. package/dist/model/TestResultsStatisticsApiResult.js +1 -1
  399. package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
  400. package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
  401. package/dist/model/TestRunAnalyticApiResult.js +1 -1
  402. package/dist/model/TestRunApiResult.js +1 -1
  403. package/dist/model/TestRunByAutoTestApiResult.js +1 -1
  404. package/dist/model/TestRunExtractionApiModel.js +1 -1
  405. package/dist/model/TestRunFilterApiModel.js +1 -1
  406. package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
  407. package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
  408. package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
  409. package/dist/model/TestRunNameApiResult.js +1 -1
  410. package/dist/model/TestRunSelectApiModel.js +1 -1
  411. package/dist/model/TestRunShortApiResult.js +1 -1
  412. package/dist/model/TestRunStatisticsFilterApiModel.js +1 -1
  413. package/dist/model/TestRunTestResultsPartialBulkSetModel.js +1 -1
  414. package/dist/model/TestRunTestResultsSelectModel.js +1 -1
  415. package/dist/model/TestRunV2ApiResult.js +5 -5
  416. package/dist/model/TestStatusApiResult.js +1 -1
  417. package/dist/model/TestStatusApiResultGroup.js +156 -0
  418. package/dist/model/TestStatusApiResultGroupedReply.js +140 -0
  419. package/dist/model/TestStatusApiResultIReply.js +157 -0
  420. package/dist/model/TestStatusApiResultReply.js +1 -1
  421. package/dist/model/TestStatusModel.js +1 -1
  422. package/dist/model/TestStatusShortApiResult.js +1 -1
  423. package/dist/model/TestSuiteApiResult.js +1 -1
  424. package/dist/model/TestSuiteChangeViewModel.js +1 -1
  425. package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
  426. package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
  427. package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
  428. package/dist/model/TestSuiteV2GetModel.js +1 -1
  429. package/dist/model/TestSuiteV2PostModel.js +1 -1
  430. package/dist/model/TestSuiteV2PutModel.js +1 -1
  431. package/dist/model/TestSuiteWithChildrenModel.js +1 -1
  432. package/dist/model/TestSuiteWorkItemsSearchModel.js +7 -7
  433. package/dist/model/UpdateEmptyTestRunApiModel.js +2 -2
  434. package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
  435. package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
  436. package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
  437. package/dist/model/UpdateLinkApiModel.js +7 -5
  438. package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
  439. package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
  440. package/dist/model/UpdateMultipleTagsApiModel.js +1 -1
  441. package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
  442. package/dist/model/UpdateParameterApiModel.js +1 -1
  443. package/dist/model/UpdateProjectApiModel.js +1 -1
  444. package/dist/model/UpdateStepApiModel.js +1 -1
  445. package/dist/model/UpdateTagApiModel.js +1 -1
  446. package/dist/model/UpdateTestPlanApiModel.js +1 -1
  447. package/dist/model/UpdateTestStatusApiModel.js +1 -1
  448. package/dist/model/UpdateWorkItemApiModel.js +123 -143
  449. package/dist/model/UpdateWorkItemCommentApiModel.js +1 -1
  450. package/dist/model/UpdateWorkflowApiModel.js +1 -1
  451. package/dist/model/UserApiModel.js +194 -0
  452. package/dist/model/UserCustomNameValidationResponse.js +1 -1
  453. package/dist/model/UserNameApiResult.js +1 -1
  454. package/dist/model/ValidationProblemDetails.js +1 -1
  455. package/dist/model/WebHookModel.js +1 -1
  456. package/dist/model/WebHookPostModel.js +1 -1
  457. package/dist/model/WebHookTestModel.js +1 -1
  458. package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
  459. package/dist/model/WebhookLogApiResult.js +1 -1
  460. package/dist/model/WebhookResponse.js +1 -1
  461. package/dist/model/WebhooksDeleteApiModel.js +1 -1
  462. package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
  463. package/dist/model/WebhooksExtractionApiModel.js +1 -1
  464. package/dist/model/WebhooksFilterApiModel.js +1 -1
  465. package/dist/model/WebhooksUpdateApiModel.js +1 -1
  466. package/dist/model/WebhooksUpdateApiResult.js +1 -1
  467. package/dist/model/WorkItemApiResult.js +1 -1
  468. package/dist/model/WorkItemChangeModel.js +1 -1
  469. package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
  470. package/dist/model/WorkItemChangedFieldsViewModel.js +21 -5
  471. package/dist/model/WorkItemCommentApiResult.js +1 -1
  472. package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
  473. package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
  474. package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
  475. package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
  476. package/dist/model/WorkItemExtractionApiModel.js +1 -1
  477. package/dist/model/WorkItemExtractionModel.js +1 -1
  478. package/dist/model/WorkItemFilterApiModel.js +4 -4
  479. package/dist/model/WorkItemFilterModel.js +4 -4
  480. package/dist/model/WorkItemGroupGetModel.js +1 -1
  481. package/dist/model/WorkItemGroupModel.js +1 -1
  482. package/dist/model/WorkItemIdApiModel.js +1 -1
  483. package/dist/model/WorkItemIndexApiResult.js +1 -1
  484. package/dist/model/WorkItemLikeModel.js +1 -1
  485. package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
  486. package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
  487. package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
  488. package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
  489. package/dist/model/WorkItemLinkFilterModel.js +1 -1
  490. package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
  491. package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
  492. package/dist/model/WorkItemLinkUrlFilterApiModel.js +4 -4
  493. package/dist/model/WorkItemLocalFilterModel.js +4 -4
  494. package/dist/model/WorkItemLocalSelectModel.js +1 -1
  495. package/dist/model/WorkItemModel.js +37 -37
  496. package/dist/model/WorkItemMovePostModel.js +1 -1
  497. package/dist/model/WorkItemParameterKeyApiModel.js +1 -1
  498. package/dist/model/WorkItemParameterKeyApiResult.js +1 -1
  499. package/dist/model/WorkItemParameterKeyModel.js +1 -1
  500. package/dist/model/WorkItemPreviewApiModel.js +1 -1
  501. package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
  502. package/dist/model/WorkItemSearchQueryModel.js +4 -4
  503. package/dist/model/WorkItemSelectApiModel.js +1 -1
  504. package/dist/model/WorkItemSelectModel.js +1 -1
  505. package/dist/model/WorkItemShortApiResult.js +1 -1
  506. package/dist/model/WorkItemShortModel.js +5 -8
  507. package/dist/model/WorkItemStepChangeViewModel.js +1 -1
  508. package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
  509. package/dist/model/{WorkItemEntityTypes.js → WorkItemTypeModel.js} +7 -7
  510. package/dist/model/WorkItemUpdatingFieldsApiModel.js +1 -1
  511. package/dist/model/WorkItemUpdatingFieldsApiResult.js +1 -1
  512. package/dist/model/WorkItemVersionModel.js +1 -1
  513. package/dist/model/WorkflowApiResult.js +1 -1
  514. package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
  515. package/dist/model/WorkflowProjectApiResult.js +1 -1
  516. package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
  517. package/dist/model/WorkflowProjectApiResultGroup.js +156 -0
  518. package/dist/model/WorkflowProjectApiResultGroupedReply.js +140 -0
  519. package/dist/model/WorkflowProjectApiResultIReply.js +157 -0
  520. package/dist/model/WorkflowProjectApiResultReply.js +1 -1
  521. package/dist/model/WorkflowShortApiResult.js +1 -1
  522. package/dist/model/WorkflowShortApiResultGroup.js +156 -0
  523. package/dist/model/WorkflowShortApiResultGroupedReply.js +140 -0
  524. package/dist/model/WorkflowShortApiResultIReply.js +157 -0
  525. package/dist/model/WorkflowShortApiResultReply.js +1 -1
  526. package/dist/model/WorkflowStatusApiModel.js +1 -1
  527. package/dist/model/WorkflowStatusApiResult.js +1 -1
  528. package/index.d.ts +3251 -1411
  529. package/package.json +1 -1
  530. package/dist/model/ProjectShortModel.js +0 -284
@@ -27,21 +27,21 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  *
28
28
  */
29
29
  /**
30
- * The GlobalSearchRequest model module.
31
- * @module model/GlobalSearchRequest
32
- * @version 7.2.6
30
+ * The RoleApiModel model module.
31
+ * @module model/RoleApiModel
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
- var GlobalSearchRequest = /*#__PURE__*/function () {
34
+ var RoleApiModel = /*#__PURE__*/function () {
35
35
  /**
36
- * Constructs a new <code>GlobalSearchRequest</code>.
37
- * @alias module:model/GlobalSearchRequest
38
- * @param query {String}
39
- * @param take {Number}
40
- * @param skip {Number}
36
+ * Constructs a new <code>RoleApiModel</code>.
37
+ * @alias module:model/RoleApiModel
38
+ * @param id {String}
39
+ * @param name {String}
40
+ * @param isSystem {Boolean}
41
41
  */
42
- function GlobalSearchRequest(query, take, skip) {
43
- _classCallCheck(this, GlobalSearchRequest);
44
- GlobalSearchRequest.initialize(this, query, take, skip);
42
+ function RoleApiModel(id, name, isSystem) {
43
+ _classCallCheck(this, RoleApiModel);
44
+ RoleApiModel.initialize(this, id, name, isSystem);
45
45
  }
46
46
 
47
47
  /**
@@ -49,52 +49,49 @@ var GlobalSearchRequest = /*#__PURE__*/function () {
49
49
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
50
  * Only for internal use.
51
51
  */
52
- return _createClass(GlobalSearchRequest, null, [{
52
+ return _createClass(RoleApiModel, null, [{
53
53
  key: "initialize",
54
- value: function initialize(obj, query, take, skip) {
55
- obj['query'] = query;
56
- obj['take'] = take;
57
- obj['skip'] = skip;
54
+ value: function initialize(obj, id, name, isSystem) {
55
+ obj['id'] = id;
56
+ obj['name'] = name;
57
+ obj['isSystem'] = isSystem;
58
58
  }
59
59
 
60
60
  /**
61
- * Constructs a <code>GlobalSearchRequest</code> from a plain JavaScript object, optionally creating a new instance.
61
+ * Constructs a <code>RoleApiModel</code> from a plain JavaScript object, optionally creating a new instance.
62
62
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
63
63
  * @param {Object} data The plain JavaScript object bearing properties of interest.
64
- * @param {module:model/GlobalSearchRequest} obj Optional instance to populate.
65
- * @return {module:model/GlobalSearchRequest} The populated <code>GlobalSearchRequest</code> instance.
64
+ * @param {module:model/RoleApiModel} obj Optional instance to populate.
65
+ * @return {module:model/RoleApiModel} The populated <code>RoleApiModel</code> instance.
66
66
  */
67
67
  }, {
68
68
  key: "constructFromObject",
69
69
  value: function constructFromObject(data, obj) {
70
70
  if (data) {
71
- obj = obj || new GlobalSearchRequest();
72
- if (data.hasOwnProperty('query')) {
73
- obj['query'] = _ApiClient["default"].convertToType(data['query'], 'String');
71
+ obj = obj || new RoleApiModel();
72
+ if (data.hasOwnProperty('id')) {
73
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
74
74
  }
75
- if (data.hasOwnProperty('resourceType')) {
76
- obj['resourceType'] = _ApiClient["default"].convertToType(data['resourceType'], 'String');
75
+ if (data.hasOwnProperty('name')) {
76
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
77
77
  }
78
- if (data.hasOwnProperty('take')) {
79
- obj['take'] = _ApiClient["default"].convertToType(data['take'], 'Number');
80
- }
81
- if (data.hasOwnProperty('skip')) {
82
- obj['skip'] = _ApiClient["default"].convertToType(data['skip'], 'Number');
78
+ if (data.hasOwnProperty('isSystem')) {
79
+ obj['isSystem'] = _ApiClient["default"].convertToType(data['isSystem'], 'Boolean');
83
80
  }
84
81
  }
85
82
  return obj;
86
83
  }
87
84
 
88
85
  /**
89
- * Validates the JSON data with respect to <code>GlobalSearchRequest</code>.
86
+ * Validates the JSON data with respect to <code>RoleApiModel</code>.
90
87
  * @param {Object} data The plain JavaScript object bearing properties of interest.
91
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>GlobalSearchRequest</code>.
88
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>RoleApiModel</code>.
92
89
  */
93
90
  }, {
94
91
  key: "validateJSON",
95
92
  value: function validateJSON(data) {
96
93
  // check to make sure all required properties are present in the JSON string
97
- var _iterator = _createForOfIteratorHelper(GlobalSearchRequest.RequiredProperties),
94
+ var _iterator = _createForOfIteratorHelper(RoleApiModel.RequiredProperties),
98
95
  _step;
99
96
  try {
100
97
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -109,36 +106,31 @@ var GlobalSearchRequest = /*#__PURE__*/function () {
109
106
  } finally {
110
107
  _iterator.f();
111
108
  }
112
- if (data['query'] && !(typeof data['query'] === 'string' || data['query'] instanceof String)) {
113
- throw new Error("Expected the field `query` to be a primitive type in the JSON string but got " + data['query']);
109
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
110
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
114
111
  }
115
112
  // ensure the json data is a string
116
- if (data['resourceType'] && !(typeof data['resourceType'] === 'string' || data['resourceType'] instanceof String)) {
117
- throw new Error("Expected the field `resourceType` to be a primitive type in the JSON string but got " + data['resourceType']);
113
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
114
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
118
115
  }
119
116
  return true;
120
117
  }
121
118
  }]);
122
119
  }();
123
- GlobalSearchRequest.RequiredProperties = ["query", "take", "skip"];
124
-
125
- /**
126
- * @member {String} query
127
- */
128
- GlobalSearchRequest.prototype['query'] = undefined;
120
+ RoleApiModel.RequiredProperties = ["id", "name", "isSystem"];
129
121
 
130
122
  /**
131
- * @member {String} resourceType
123
+ * @member {String} id
132
124
  */
133
- GlobalSearchRequest.prototype['resourceType'] = undefined;
125
+ RoleApiModel.prototype['id'] = undefined;
134
126
 
135
127
  /**
136
- * @member {Number} take
128
+ * @member {String} name
137
129
  */
138
- GlobalSearchRequest.prototype['take'] = undefined;
130
+ RoleApiModel.prototype['name'] = undefined;
139
131
 
140
132
  /**
141
- * @member {Number} skip
133
+ * @member {Boolean} isSystem
142
134
  */
143
- GlobalSearchRequest.prototype['skip'] = undefined;
144
- var _default = exports["default"] = GlobalSearchRequest;
135
+ RoleApiModel.prototype['isSystem'] = undefined;
136
+ var _default = exports["default"] = RoleApiModel;
@@ -0,0 +1,142 @@
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 _RoleApiModel = _interopRequireDefault(require("./RoleApiModel"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
12
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
15
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
19
+ * API
20
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
21
+ *
22
+ * The version of the OpenAPI document: v2.0
23
+ *
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
30
+ /**
31
+ * The RoleApiModelApiCollection model module.
32
+ * @module model/RoleApiModelApiCollection
33
+ * @version 7.3.0-TMS-5.8
34
+ */
35
+ var RoleApiModelApiCollection = /*#__PURE__*/function () {
36
+ /**
37
+ * Constructs a new <code>RoleApiModelApiCollection</code>.
38
+ * @alias module:model/RoleApiModelApiCollection
39
+ * @param data {Array.<module:model/RoleApiModel>} Items
40
+ * @param totalCount {Number} Total count
41
+ */
42
+ function RoleApiModelApiCollection(data, totalCount) {
43
+ _classCallCheck(this, RoleApiModelApiCollection);
44
+ RoleApiModelApiCollection.initialize(this, data, totalCount);
45
+ }
46
+
47
+ /**
48
+ * Initializes the fields of this object.
49
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
+ * Only for internal use.
51
+ */
52
+ return _createClass(RoleApiModelApiCollection, null, [{
53
+ key: "initialize",
54
+ value: function initialize(obj, data, totalCount) {
55
+ obj['data'] = data;
56
+ obj['totalCount'] = totalCount;
57
+ }
58
+
59
+ /**
60
+ * Constructs a <code>RoleApiModelApiCollection</code> from a plain JavaScript object, optionally creating a new instance.
61
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
62
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
63
+ * @param {module:model/RoleApiModelApiCollection} obj Optional instance to populate.
64
+ * @return {module:model/RoleApiModelApiCollection} The populated <code>RoleApiModelApiCollection</code> instance.
65
+ */
66
+ }, {
67
+ key: "constructFromObject",
68
+ value: function constructFromObject(data, obj) {
69
+ if (data) {
70
+ obj = obj || new RoleApiModelApiCollection();
71
+ if (data.hasOwnProperty('data')) {
72
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RoleApiModel["default"]]);
73
+ }
74
+ if (data.hasOwnProperty('totalCount')) {
75
+ obj['totalCount'] = _ApiClient["default"].convertToType(data['totalCount'], 'Number');
76
+ }
77
+ }
78
+ return obj;
79
+ }
80
+
81
+ /**
82
+ * Validates the JSON data with respect to <code>RoleApiModelApiCollection</code>.
83
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
84
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>RoleApiModelApiCollection</code>.
85
+ */
86
+ }, {
87
+ key: "validateJSON",
88
+ value: function validateJSON(data) {
89
+ // check to make sure all required properties are present in the JSON string
90
+ var _iterator = _createForOfIteratorHelper(RoleApiModelApiCollection.RequiredProperties),
91
+ _step;
92
+ try {
93
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
94
+ var property = _step.value;
95
+ if (!data.hasOwnProperty(property)) {
96
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
97
+ }
98
+ }
99
+ } catch (err) {
100
+ _iterator.e(err);
101
+ } finally {
102
+ _iterator.f();
103
+ }
104
+ if (data['data']) {
105
+ // data not null
106
+ // ensure the json data is an array
107
+ if (!Array.isArray(data['data'])) {
108
+ throw new Error("Expected the field `data` to be an array in the JSON data but got " + data['data']);
109
+ }
110
+ // validate the optional field `data` (array)
111
+ var _iterator2 = _createForOfIteratorHelper(data['data']),
112
+ _step2;
113
+ try {
114
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
115
+ var item = _step2.value;
116
+ _RoleApiModel["default"].validateJSON(item);
117
+ }
118
+ } catch (err) {
119
+ _iterator2.e(err);
120
+ } finally {
121
+ _iterator2.f();
122
+ }
123
+ ;
124
+ }
125
+ return true;
126
+ }
127
+ }]);
128
+ }();
129
+ RoleApiModelApiCollection.RequiredProperties = ["data", "totalCount"];
130
+
131
+ /**
132
+ * Items
133
+ * @member {Array.<module:model/RoleApiModel>} data
134
+ */
135
+ RoleApiModelApiCollection.prototype['data'] = undefined;
136
+
137
+ /**
138
+ * Total count
139
+ * @member {Number} totalCount
140
+ */
141
+ RoleApiModelApiCollection.prototype['totalCount'] = undefined;
142
+ var _default = exports["default"] = RoleApiModelApiCollection;
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The SearchCustomAttributeTemplateGetModel model module.
33
33
  * @module model/SearchCustomAttributeTemplateGetModel
34
- * @version 7.2.6
34
+ * @version 7.3.0-TMS-5.8
35
35
  */
36
36
  var SearchCustomAttributeTemplateGetModel = /*#__PURE__*/function () {
37
37
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SearchExternalIssuesApiModel model module.
31
31
  * @module model/SearchExternalIssuesApiModel
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var SearchExternalIssuesApiModel = /*#__PURE__*/function () {
35
35
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The SearchTestRunsApiModel model module.
30
30
  * @module model/SearchTestRunsApiModel
31
- * @version 7.2.6
31
+ * @version 7.3.0-TMS-5.8
32
32
  */
33
33
  var SearchTestRunsApiModel = /*#__PURE__*/function () {
34
34
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The SearchTestStatusesApiModel model module.
29
29
  * @module model/SearchTestStatusesApiModel
30
- * @version 7.2.6
30
+ * @version 7.3.0-TMS-5.8
31
31
  */
32
32
  var SearchTestStatusesApiModel = /*#__PURE__*/function () {
33
33
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The SearchWebhooksQueryModel model module.
30
30
  * @module model/SearchWebhooksQueryModel
31
- * @version 7.2.6
31
+ * @version 7.3.0-TMS-5.8
32
32
  */
33
33
  var SearchWebhooksQueryModel = /*#__PURE__*/function () {
34
34
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The SearchWorkItemLinkUrlsApiResult model module.
32
32
  * @module model/SearchWorkItemLinkUrlsApiResult
33
- * @version 7.2.6
33
+ * @version 7.3.0-TMS-5.8
34
34
  */
35
35
  var SearchWorkItemLinkUrlsApiResult = /*#__PURE__*/function () {
36
36
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The SearchWorkflowProjectsApiModel model module.
29
29
  * @module model/SearchWorkflowProjectsApiModel
30
- * @version 7.2.6
30
+ * @version 7.3.0-TMS-5.8
31
31
  */
32
32
  var SearchWorkflowProjectsApiModel = /*#__PURE__*/function () {
33
33
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The SearchWorkflowsApiModel model module.
29
29
  * @module model/SearchWorkflowsApiModel
30
- * @version 7.2.6
30
+ * @version 7.3.0-TMS-5.8
31
31
  */
32
32
  var SearchWorkflowsApiModel = /*#__PURE__*/function () {
33
33
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SectionModel model module.
31
31
  * @module model/SectionModel
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var SectionModel = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SectionMoveModel model module.
31
31
  * @module model/SectionMoveModel
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var SectionMoveModel = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The SectionPostModel model module.
33
33
  * @module model/SectionPostModel
34
- * @version 7.2.6
34
+ * @version 7.3.0-TMS-5.8
35
35
  */
36
36
  var SectionPostModel = /*#__PURE__*/function () {
37
37
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The SectionPutModel model module.
33
33
  * @module model/SectionPutModel
34
- * @version 7.2.6
34
+ * @version 7.3.0-TMS-5.8
35
35
  */
36
36
  var SectionPutModel = /*#__PURE__*/function () {
37
37
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SectionRenameModel model module.
31
31
  * @module model/SectionRenameModel
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var SectionRenameModel = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The SectionWithStepsModel model module.
33
33
  * @module model/SectionWithStepsModel
34
- * @version 7.2.6
34
+ * @version 7.3.0-TMS-5.8
35
35
  */
36
36
  var SectionWithStepsModel = /*#__PURE__*/function () {
37
37
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The SelectTagsApiModel model module.
30
30
  * @module model/SelectTagsApiModel
31
- * @version 7.2.6
31
+ * @version 7.3.0-TMS-5.8
32
32
  */
33
33
  var SelectTagsApiModel = /*#__PURE__*/function () {
34
34
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The SharedStepChangeViewModel model module.
32
32
  * @module model/SharedStepChangeViewModel
33
- * @version 7.2.6
33
+ * @version 7.3.0-TMS-5.8
34
34
  */
35
35
  var SharedStepChangeViewModel = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The SharedStepModel model module.
32
32
  * @module model/SharedStepModel
33
- * @version 7.2.6
33
+ * @version 7.3.0-TMS-5.8
34
34
  */
35
35
  var SharedStepModel = /*#__PURE__*/function () {
36
36
  /**
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  /**
33
33
  * The SharedStepReferenceModel model module.
34
34
  * @module model/SharedStepReferenceModel
35
- * @version 7.2.6
35
+ * @version 7.3.0-TMS-5.8
36
36
  */
37
37
  var SharedStepReferenceModel = /*#__PURE__*/function () {
38
38
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SharedStepReferenceSectionModel model module.
31
31
  * @module model/SharedStepReferenceSectionModel
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var SharedStepReferenceSectionModel = /*#__PURE__*/function () {
35
35
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The SharedStepReferenceSectionsQueryFilterModel model module.
29
29
  * @module model/SharedStepReferenceSectionsQueryFilterModel
30
- * @version 7.2.6
30
+ * @version 7.3.0-TMS-5.8
31
31
  */
32
32
  var SharedStepReferenceSectionsQueryFilterModel = /*#__PURE__*/function () {
33
33
  /**
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _DateTimeRangeSelectorModel = _interopRequireDefault(require("./DateTimeRangeSelectorModel"));
9
9
  var _WorkItemPriorityModel = _interopRequireDefault(require("./WorkItemPriorityModel"));
10
10
  var _WorkItemStates = _interopRequireDefault(require("./WorkItemStates"));
11
+ var _WorkItemTypeModel = _interopRequireDefault(require("./WorkItemTypeModel"));
11
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
13
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
13
14
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -29,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
30
  /**
30
31
  * The SharedStepReferencesQueryFilterModel model module.
31
32
  * @module model/SharedStepReferencesQueryFilterModel
32
- * @version 7.2.6
33
+ * @version 7.3.0-TMS-5.8
33
34
  */
34
35
  var SharedStepReferencesQueryFilterModel = /*#__PURE__*/function () {
35
36
  /**
@@ -84,7 +85,7 @@ var SharedStepReferencesQueryFilterModel = /*#__PURE__*/function () {
84
85
  obj['priorities'] = _ApiClient["default"].convertToType(data['priorities'], [_WorkItemPriorityModel["default"]]);
85
86
  }
86
87
  if (data.hasOwnProperty('entityTypes')) {
87
- obj['entityTypes'] = _ApiClient["default"].convertToType(data['entityTypes'], ['String']);
88
+ obj['entityTypes'] = _ApiClient["default"].convertToType(data['entityTypes'], [_WorkItemTypeModel["default"]]);
88
89
  }
89
90
  if (data.hasOwnProperty('createdDate')) {
90
91
  obj['createdDate'] = _ApiClient["default"].convertToType(data['createdDate'], _DateTimeRangeSelectorModel["default"]);
@@ -203,8 +204,8 @@ SharedStepReferencesQueryFilterModel.prototype['states'] = undefined;
203
204
  SharedStepReferencesQueryFilterModel.prototype['priorities'] = undefined;
204
205
 
205
206
  /**
206
- * Collection of types of work item Allowed values: `TestCases`, `CheckLists`, `SharedSteps`
207
- * @member {Array.<String>} entityTypes
207
+ * Collection of types of work item Allowed values: `TestCases`, `CheckLists`, `SharedSteps`
208
+ * @member {Array.<module:model/WorkItemTypeModel>} entityTypes
208
209
  */
209
210
  SharedStepReferencesQueryFilterModel.prototype['entityTypes'] = undefined;
210
211
 
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SharedStepResultApiModel model module.
31
31
  * @module model/SharedStepResultApiModel
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var SharedStepResultApiModel = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The ShortConfiguration model module.
31
31
  * @module model/ShortConfiguration
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var ShortConfiguration = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The StepCommentApiModel model module.
32
32
  * @module model/StepCommentApiModel
33
- * @version 7.2.6
33
+ * @version 7.3.0-TMS-5.8
34
34
  */
35
35
  var StepCommentApiModel = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The StepModel model module.
32
32
  * @module model/StepModel
33
- * @version 7.2.6
33
+ * @version 7.3.0-TMS-5.8
34
34
  */
35
35
  var StepModel = /*#__PURE__*/function () {
36
36
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The StepPostModel model module.
28
28
  * @module model/StepPostModel
29
- * @version 7.2.6
29
+ * @version 7.3.0-TMS-5.8
30
30
  */
31
31
  var StepPostModel = /*#__PURE__*/function () {
32
32
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The StepPutModel model module.
31
31
  * @module model/StepPutModel
32
- * @version 7.2.6
32
+ * @version 7.3.0-TMS-5.8
33
33
  */
34
34
  var StepPutModel = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The StepResultApiModel model module.
33
33
  * @module model/StepResultApiModel
34
- * @version 7.2.6
34
+ * @version 7.3.0-TMS-5.8
35
35
  */
36
36
  var StepResultApiModel = /*#__PURE__*/function () {
37
37
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The StringArrayChangedFieldViewModel model module.
28
28
  * @module model/StringArrayChangedFieldViewModel
29
- * @version 7.2.6
29
+ * @version 7.3.0-TMS-5.8
30
30
  */
31
31
  var StringArrayChangedFieldViewModel = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The StringChangedFieldViewModel model module.
28
28
  * @module model/StringChangedFieldViewModel
29
- * @version 7.2.6
29
+ * @version 7.3.0-TMS-5.8
30
30
  */
31
31
  var StringChangedFieldViewModel = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The StringChangedFieldWithDiffsViewModel model module.
28
28
  * @module model/StringChangedFieldWithDiffsViewModel
29
- * @version 7.2.6
29
+ * @version 7.3.0-TMS-5.8
30
30
  */
31
31
  var StringChangedFieldWithDiffsViewModel = /*#__PURE__*/function () {
32
32
  /**