diff --git a/src/main/kotlin/ru/testit/management/clients/TmsClient.kt b/src/main/kotlin/ru/testit/management/clients/TmsClient.kt index 9e949f5..d01e7bb 100644 --- a/src/main/kotlin/ru/testit/management/clients/TmsClient.kt +++ b/src/main/kotlin/ru/testit/management/clients/TmsClient.kt @@ -5,9 +5,9 @@ import ru.testit.client.api.ProjectsApi import ru.testit.client.api.WorkItemsApi import ru.testit.client.invoker.ApiClient import ru.testit.client.model.SectionModel -import ru.testit.client.model.WorkItemFilterModel +import ru.testit.client.model.WorkItemSelectModelFilter import ru.testit.client.model.WorkItemModel -import ru.testit.client.model.WorkItemSelectModel +import ru.testit.client.model.ApiV2ProjectsProjectIdWorkItemsSearchPostRequest import ru.testit.management.utils.MessagesUtils import ru.testit.management.windows.settings.TmsSettingsState import java.util.* @@ -80,11 +80,11 @@ object TmsClient { return workItems } - val filter = WorkItemFilterModel() + val filter = WorkItemSelectModelFilter() filter.sectionIds = setOf(sectionId) filter.isDeleted = false - val request = WorkItemSelectModel() + val request = ApiV2ProjectsProjectIdWorkItemsSearchPostRequest() request.filter = filter try {