{"openapi":"3.0.1","info":{"title":"1699.nmfd-user-s-rest-v1","description":"API для работы с ИС 1699 Нормирование","contact":{"name":"Лощаков Евгений Анатольевич","url":"https://wiki.corp.dev.vtb/pages/viewpage.action?pageId=1675262933","email":"loschakov@vtb.ru"},"version":"1.0.0"},"servers":[{"url":"https://nmfd.apps.ss5-genr02.test.vtb.ru/api/cross/nmfd/user/v1","description":"K3"},{"url":"https://norm.test.vtb.ru/api/cross/nmfd/user/v1","description":"K4"},{"url":"https://norm.region.vtb.ru/api/cross/nmfd/user/v1","description":"PROD"}],"security":[{"EpaAuth":[]}],"paths":{"/admin/systemProperties":{"get":{"tags":["system-property-resource"],"description":"Получить все системные настройки","operationId":"getAllSystemProperties","parameters":[{"name":"lang","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"keys","in":"query","required":false,"style":"form","explode":true,"schema":{"maxItems":1000,"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SystemPropertyDto"},"maxItems":1000}}}}}},"put":{"tags":["system-property-resource"],"description":"Изменить системные настройки","operationId":"updateSystemProperty","requestBody":{"content":{"application/json":{"schema":{"type":"object","maxProperties":255,"additionalProperties":{"maxLength":255,"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SystemPropertyDto"},"maxItems":1000}}}}}}},"/admin/systemProperty":{"get":{"tags":["system-property-resource"],"description":"Получить системную настройку","operationId":"getOneSystemProperty","parameters":[{"name":"key","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SystemPropertyDto"}}}}}}},"/admin/internal/systemProperty":{"get":{"tags":["system-property-resource"],"description":"Получить карту системных настроек","operationId":"getSystemPropertyMap","parameters":[{"name":"keys","in":"query","required":true,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","maxProperties":255,"additionalProperties":{"maxLength":255,"type":"string"}}}}}}}},"/xauth/timeZone":{"put":{"tags":["user-x-auth-token-resource"],"operationId":"updateUserTimeZone","parameters":[{"name":"timeZoneId","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK"}}}},"/xauth/changePassword":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"checkChangePassword","parameters":[{"name":"dto","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/CheckChangePasswordDTO"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["user-x-auth-token-resource"],"operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}}}}},"/xauth/touch/delete":{"post":{"tags":["touch-resource"],"operationId":"deleteTouchUid","responses":{"200":{"description":"OK"}}}},"/xauth/touch/authenticate":{"post":{"tags":["touch-resource"],"operationId":"authorize","parameters":[{"name":"device","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Device"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTouchDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Token"}}}}}}},"/xauth/forgotPassword":{"post":{"tags":["user-x-auth-token-resource"],"operationId":"forgotPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequestDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordResponseDTO"}}}}}}},"/xauth/existTenant":{"post":{"tags":["user-x-auth-token-resource"],"operationId":"existTenant","responses":{"200":{"description":"OK"}}}},"/xauth/authenticate":{"post":{"tags":["user-x-auth-token-resource"],"operationId":"authorize_1","parameters":[{"name":"device","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Device"}},{"name":"username","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"password","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}}}}},"/auth/password-recovery/send-request":{"post":{"tags":["user-auth-token-resource"],"operationId":"sendPasswordChange","parameters":[{"name":"x-tenant","in":"header","required":false,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreCodeDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}}}}},"/auth/password-recovery/reset":{"post":{"tags":["user-auth-token-resource"],"operationId":"changePassword_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreCodeDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}}}}},"/auth/password-recovery/check-code":{"post":{"tags":["user-auth-token-resource"],"operationId":"checkPasswordChangeCode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreCodeDTO"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/auth/authenticate":{"post":{"tags":["user-auth-token-resource"],"operationId":"authenticate","parameters":[{"name":"device","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Device"}},{"name":"x-tenant","in":"header","required":false,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticateQvalonRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}}}}},"/xauth/verifyingKey":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"getVerifyingKey","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}}}}},"/xauth/touch":{"get":{"tags":["touch-resource"],"operationId":"generateTouchUid","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}}}}},"/xauth/token":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"getToken","parameters":[{"name":"x-tenant","in":"header","required":false,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}},{"name":"x-auth-token","in":"header","required":false,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}},{"name":"expires","in":"query","required":false,"style":"form","explode":true,"schema":{"maximum":86400,"minimum":600,"type":"integer","format":"int32","default":3600}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TenantToken"}}}}}}},"/xauth/token/list":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"getTokenList","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TenantToken"},"maxItems":1000}}}}}}},"/xauth/tenant/properties":{"get":{"tags":["user-x-auth-token-resource"],"description":"Получение параметров системы","operationId":"getParams","parameters":[{"name":"lastModified","in":"query","description":"Дата и время последнего обновления","required":false,"style":"form","explode":true,"schema":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TenantParamDTO"},"maxItems":1000}}}}}}},"/xauth/statistics":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"getUsersStats","parameters":[{"name":"userIds","in":"query","required":true,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuthStatisticsDto"},"maxItems":1000}}}}}}},"/xauth/passwordComplexity":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"passwordComplexity","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordComplexityDTO"}}}}}}},"/xauth/generateOTP":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"generateOTP","parameters":[{"name":"login","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"tenant","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}}}}},"/xauth/encryptPasswords":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"encryptPasswords","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"maxLength":255,"type":"string"}}}}},"deprecated":true}},"/xauth/encodePass":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"authorize_2","parameters":[{"name":"pass","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"maxLength":255,"type":"string"}}}}}}},"/xauth/auditlog":{"get":{"tags":["audit-log-resource"],"description":"Получение аудит-логов с фильтрацией и паджинацией","operationId":"findLogsByFilter","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuditLogFilter"}},{"name":"pageable","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogWebDTO"},"maxItems":1000}}}}}}},"/xauth/auditlog/xls":{"get":{"tags":["audit-log-resource"],"description":"Получение аудит-логов с фильтрацией в excel формате с паджинацией","operationId":"findLogsByFilterAsXls","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuditLogFilter"}},{"name":"pageable","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/vnd.ms-excel":{"schema":{"type":"string","format":"binary","maxLength":255}}}}}}},"/xauth/auditlog/names":{"get":{"tags":["audit-log-resource"],"description":"Получение названий методов api для фильтрации","operationId":"getAllAvailableMethodNames","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"maxItems":1000,"type":"array","items":{"maxLength":255,"type":"string"}}}}}}}},"/xauth/account":{"get":{"tags":["user-x-auth-token-resource"],"description":"Получение данных о пользователе","operationId":"getAccount","parameters":[{"name":"device","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Device"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDTO"}}}}}}},"/statistic/lastLogin":{"get":{"tags":["user-x-auth-token-resource"],"operationId":"getLastLoginDate","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}}}}}}},"/xauth/touch/delete/{userId}":{"delete":{"tags":["touch-resource"],"operationId":"deleteAllUserTouch","parameters":[{"name":"userId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"}}}},"/normocard":{"put":{"tags":["normo-card-resource"],"description":"Обновление замеров по нормокарте","operationId":"updateNormoCard","parameters":[{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardDTO"}}},"required":true},"responses":{"200":{"description":"OK"}}},"post":{"tags":["normo-card-resource"],"description":"Сохраниение замеров по нормокарте","operationId":"saveNormoCard","parameters":[{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardDTO"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/normocard/questionDriver/{id}":{"put":{"tags":["normo-card-question-driver-resource"],"description":"Обновление драйвера ЭД","operationId":"updateNormoCardQuestionDriver","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionDriverDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionDriverDTO"}}}}}},"delete":{"tags":["normo-card-question-driver-resource"],"description":"Удаление драйвера ЭД","operationId":"deleteNormoCardQuestionDriver","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"}}}},"/normocard/questionCorrectionFactor/{id}":{"put":{"tags":["normo-card-question-correction-factor-resource"],"description":"Обновление корректирующего коэфицента ЭД","operationId":"updateNormoCardQuestionCorrectionFactor","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionCorrectionFactorDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionCorrectionFactorDTO"}}}}}},"delete":{"tags":["normo-card-question-correction-factor-resource"],"description":"Удаление корректирующего коэфицента ЭД","operationId":"deleteNormoCardQuestionCorrectionFactor","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"}}}},"/normocard/mvz/group":{"get":{"tags":["normo-card-mvz-group-resource"],"operationId":"getNormoCardMVZGroups","parameters":[{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"businessDirs","in":"query","required":false,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardMVZGroupDTO"},"maxItems":1000}}}}}},"put":{"tags":["normo-card-mvz-group-resource"],"operationId":"updateNormoCardMVZGroup","parameters":[{"name":"id","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"name","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"businessDir","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardMVZGroupDTO"}}}}}},"post":{"tags":["normo-card-mvz-group-resource"],"operationId":"createNormoCardMVZGroup","parameters":[{"name":"name","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"businessDir","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardMVZGroupDTO"}}}}}},"delete":{"tags":["normo-card-mvz-group-resource"],"operationId":"deleteNormoCardMVZGroup","parameters":[{"name":"id","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK"}}}},"/normocard/driver/{id}":{"put":{"tags":["normocard-driver-resource"],"operationId":"updateNormoCardDriver","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardDriverDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardDriverDTO"}}}}}},"delete":{"tags":["normocard-driver-resource"],"operationId":"deleteNormoCardDriver","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"}}}},"/normocard/correctionFactor/{id}":{"put":{"tags":["normo-card-correction-factor-resource"],"operationId":"updateNormoCardCorrectionFactor","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardCorrectionFactorDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardCorrectionFactorDTO"}}}}}},"delete":{"tags":["normo-card-correction-factor-resource"],"operationId":"deleteNormoCardCorrectionFactor","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/through_process/{id}":{"get":{"tags":["normocard-through-process-resource"],"operationId":"getOne","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ThroughProcessDTO"}}}}}},"put":{"tags":["normocard-through-process-resource"],"operationId":"update","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThroughProcessDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ThroughProcessDTO"}}}}}}},"/normocard/constructor/through_process/link/{id}":{"put":{"tags":["normocard-through-process-resource"],"operationId":"editLink","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThroughProcessTemplateAddDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TemplateThroughProcessDTO"}}}}}},"delete":{"tags":["normocard-through-process-resource"],"operationId":"deleteLink","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/templates/{templateId}":{"get":{"tags":["normo-card-template-resource"],"operationId":"getById","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TemplateDTO"}}}}}},"put":{"tags":["normo-card-template-resource"],"operationId":"update_1","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRequestDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TemplateDTO"}}}}}}},"/normocard/constructor/templates/{templateId}/questions":{"get":{"tags":["normo-card-question-resource"],"operationId":"getAllByTemplateId","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionDTO"},"maxItems":1000}}}}}},"put":{"tags":["normo-card-question-resource"],"operationId":"updateQuestionInTemplate","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/QuestionDTO"}}}}}},"post":{"tags":["normo-card-question-resource"],"operationId":"addToTemplate","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionRequestDto"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/templates/{templateId}/questions/order":{"put":{"tags":["normo-card-question-resource"],"operationId":"updateQuestionOrderInTemplate","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionsOrderDTO"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/questions":{"put":{"tags":["normo-card-question-resource"],"operationId":"update_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/QuestionDTO"}}}}}}},"/normocard/constructor/questions/cloned/{questionId}/name":{"get":{"tags":["normo-card-question-resource"],"operationId":"getClonedNames","parameters":[{"name":"questionId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UpdateQuestionDTO"},"maxItems":1000}}}}}},"put":{"tags":["normo-card-question-resource"],"operationId":"updateNamesFromOriginal","parameters":[{"name":"questionId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/processes/{processId}/questions/move":{"put":{"tags":["normo-card-question-resource"],"operationId":"moveToProcess","parameters":[{"name":"processId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/processes/{processId}/parent":{"put":{"tags":["normo-card-process-resource"],"operationId":"updateParent","parameters":[{"name":"processId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ConstructorProcessDTO"}}}}}}},"/normocard/constructor/processes/{processId}/name":{"put":{"tags":["normo-card-process-resource"],"operationId":"updateName","parameters":[{"name":"processId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"maxLength":255,"type":"string"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ConstructorProcessDTO"}}}}}}},"/normocard/report":{"post":{"tags":["normocard-report-resource"],"operationId":"report","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportFilter"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/normocard/report/statistic":{"post":{"tags":["normocard-report-resource"],"operationId":"reportStatistic","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatisticReportFilter"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/normocard/report/history":{"post":{"tags":["normocard-report-resource"],"operationId":"reportHistory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoryReportFilter"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoryReportDTO"},"maxItems":1000}}}}}}},"/normocard/questionDriver":{"get":{"tags":["normo-card-question-driver-resource"],"description":"Получить драйвера ЭД","operationId":"getNormoCardQuestionDriver","parameters":[{"name":"shortName","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"bnIds","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardQuestionDriverDTO"},"maxItems":1000}}}}}},"post":{"tags":["normo-card-question-driver-resource"],"description":"Добавить драйвер ЭД","operationId":"saveNormoCardQuestionDriver","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionDriverDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionDriverDTO"}}}}}}},"/normocard/questionCorrectionFactor":{"get":{"tags":["normo-card-question-correction-factor-resource"],"description":"Получить корректирующие коэфиценты ЭД","operationId":"getNormoCardQuestionCorrectionFactor","parameters":[{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardQuestionCorrectionFactorDTO"},"maxItems":1000}}}}}},"post":{"tags":["normo-card-question-correction-factor-resource"],"description":"Добавить корректирующий коэфицент ЭД","operationId":"saveNormoCardQuestionCorrectionFactor","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionCorrectionFactorDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardQuestionCorrectionFactorDTO"}}}}}}},"/normocard/driver":{"get":{"tags":["normocard-driver-resource"],"operationId":"getNormoCardDriver","parameters":[{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"bnIds","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardDriverDTO"},"maxItems":1000}}}}}},"post":{"tags":["normocard-driver-resource"],"operationId":"saveNormoCardDriver","parameters":[{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardDriverDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardDriverDTO"}}}}}}},"/normocard/driver/import/values":{"post":{"tags":["normocard-driver-resource"],"operationId":"importDriverValues","parameters":[{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_values_body"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverResultImportDTO"},"maxItems":1000}}}}}}},"/normocard/correctionFactor":{"get":{"tags":["normo-card-correction-factor-resource"],"operationId":"getNormoCardCorrectionFactors","parameters":[{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardCorrectionFactorDTO"},"maxItems":1000}}}}}},"post":{"tags":["normo-card-correction-factor-resource"],"operationId":"saveNormoCardCorrectionFactor","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormoCardCorrectionFactorDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardCorrectionFactorDTO"}}}}}}},"/normocard/constructor/through_process":{"post":{"tags":["normocard-through-process-resource"],"operationId":"create","parameters":[{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThroughProcessDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ThroughProcessDTO"}}}}}}},"/normocard/constructor/through_process/{id}/template":{"post":{"tags":["normocard-through-process-resource"],"operationId":"addLinkTemplate","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThroughProcessTemplateAddDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TemplateThroughProcessDTO"}}}}}}},"/normocard/constructor/through_process/{id}/reorder":{"post":{"tags":["normocard-through-process-resource"],"operationId":"reorderTemplates","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/through_process/template/check":{"post":{"tags":["normocard-through-process-resource"],"operationId":"checkLink","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThroughProcessTemplateCheckDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThroughProcessTemplateCheckResultDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/through_process/find":{"post":{"tags":["normocard-through-process-resource"],"operationId":"findThroughProcessByFilter","parameters":[{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThroughProcessFilter"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThroughProcessDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/templates":{"get":{"tags":["normo-card-template-resource"],"operationId":"search","parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"activity","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateDTO"},"maxItems":1000}}}}}},"post":{"tags":["normo-card-template-resource"],"operationId":"create_1","parameters":[{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRequestDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TemplateDTO"}}}}}}},"/normocard/constructor/templates/{templateId}/approving":{"get":{"tags":["normo-card-template-resource"],"operationId":"getApprovingUserForTemplate","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApprovedUserDTO"},"maxItems":1000}}}}}},"post":{"tags":["normo-card-template-resource"],"operationId":"setOrUpdateApprovingUserToTemplate","parameters":[{"name":"templateId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApprovedUserDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/templates/{id}/mvz/check":{"post":{"tags":["normo-card-template-resource"],"operationId":"checkMVZLinks","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/templates/copy":{"post":{"tags":["normo-card-template-resource"],"operationId":"copyTemplate","parameters":[{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyTemplateDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TemplateDTO"}}}}}}},"/normocard/constructor/templates/all":{"post":{"tags":["normo-card-template-resource"],"operationId":"getAllByFilter","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateFilter"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimpleTemplateDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/processes":{"get":{"tags":["normo-card-process-resource"],"operationId":"getAllRoot","parameters":[{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConstructorProcessDTO"},"maxItems":1000}}}}}},"post":{"tags":["normo-card-process-resource"],"operationId":"create_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConstructorProcessDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ConstructorProcessDTO"}}}}}}},"/normocard/constructor/processes/{processId}/questions":{"get":{"tags":["normo-card-question-resource"],"operationId":"getAllByProcessId","parameters":[{"name":"processId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionDTO"},"maxItems":1000}}}}}},"post":{"tags":["normo-card-question-resource"],"operationId":"createInProcess","parameters":[{"name":"processId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/QuestionDTO"}}}}}}},"/normocard/constructor/processes/search":{"post":{"tags":["normo-card-process-resource"],"operationId":"liveSearchPost","parameters":[{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"maxLength":255,"type":"string"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConstructorProcessDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/processes/questions/search":{"post":{"tags":["normo-card-question-resource"],"operationId":"searchQuestionsInLibraryPost","parameters":[{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"maxLength":255,"type":"string"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionDTO"},"maxItems":1000}}}}}}},"/normocard/trm-roles":{"get":{"tags":["normo-card-trm-resource"],"operationId":"getNormoCardTRMRoles","parameters":[{"name":"shortName","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardTRMRoleDTO"},"maxItems":1000}}}}}}},"/normocard/throughProcess":{"get":{"tags":["normocard-catalog-resource"],"operationId":"getThroughProcess","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThroughProcessDTO"},"maxItems":1000}}}}}}},"/normocard/templates":{"get":{"tags":["normo-card-resource"],"operationId":"getTemplateForNormocard","parameters":[{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimpleTemplateWithQuestionsDTO"},"maxItems":1000}}}}}}},"/normocard/system/calculateStandard":{"get":{"tags":["job-resource"],"operationId":"calculateStandard","parameters":[{"name":"reportDate","in":"query","required":false,"style":"form","explode":true,"schema":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK"}}}},"/normocard/report/history/{caseId}/details":{"get":{"tags":["normocard-report-resource"],"operationId":"reportHistoryDetails","parameters":[{"name":"caseId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoryDetailsReportDTO"},"maxItems":1000}}}}}}},"/normocard/report/history/{caseId}/details/full":{"get":{"tags":["normocard-report-resource"],"operationId":"reportHistoryDetailsFull","parameters":[{"name":"caseId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoryFullReportDTO"},"maxItems":1000}}}}}}},"/normocard/reorderReasons":{"get":{"tags":["normocard-catalog-resource"],"operationId":"getReorderReasons","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimpleCatalogDTO"},"maxItems":1000}}}}}}},"/normocard/questionDriver/{id}/templates":{"get":{"tags":["normo-card-question-driver-resource"],"operationId":"getDriverTemplates","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateShortDTO"},"maxItems":1000}}}}}}},"/normocard/product":{"get":{"tags":["normo-card-product-resource"],"operationId":"getNormoCardProduct","parameters":[{"name":"shortName","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardProductDTO"},"maxItems":1000}}}}}}},"/normocard/mvz":{"get":{"tags":["normo-card-mvz-resource"],"operationId":"getNormoCardMVZ","parameters":[{"name":"shortName","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardMVZDTO"},"maxItems":1000}}}}}}},"/normocard/mvz/group/{id}":{"get":{"tags":["normo-card-mvz-group-resource"],"operationId":"getNormoCardMVZGroupById","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NormoCardMVZGroupDTO"}}}}}}},"/normocard/method":{"get":{"tags":["normo-card-method-resource"],"operationId":"getNormoCardMethods","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardMethodDTO"},"maxItems":1000}}}}}}},"/normocard/infoSystem":{"get":{"tags":["normo-card-info-system-resource"],"operationId":"getInfoSystems","parameters":[{"name":"shortName","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InfoSystemDTO"},"maxItems":1000}}}}}}},"/normocard/function":{"get":{"tags":["normo-card-function-resource"],"operationId":"getNormoCardFunction","parameters":[{"name":"shortName","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardFunctionDTO"},"maxItems":1000}}}}}}},"/normocard/driver/{id}/templates":{"get":{"tags":["normocard-driver-resource"],"operationId":"getDriverTemplates_1","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateShortDTO"},"maxItems":1000}}}}}}},"/normocard/driver/template":{"get":{"tags":["normocard-driver-resource"],"description":"Скачать шаблон НК в excel формате","operationId":"downloadTemplate","responses":{"200":{"description":"OK"}}}},"/normocard/driver/export":{"get":{"tags":["normocard-driver-resource"],"description":"Скачать справочник драйверов в excel формате","operationId":"downloadNormocardDriver","parameters":[{"name":"onlyActive","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/through_process/{id}/templates":{"get":{"tags":["normocard-through-process-resource"],"operationId":"getTemplatesByThroughProcess","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"atDate","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateThroughProcessDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/templates/{id}/function/{functionId}/check":{"get":{"tags":["normo-card-template-resource"],"operationId":"checkLinks","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"functionId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckTemplateFunctionLinkDTO"}}}}}}},"/normocard/constructor/processes/{processId}/path":{"get":{"tags":["normo-card-process-resource"],"description":"Получить путь категории","operationId":"getPathFromRoot","parameters":[{"name":"processId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}}}}},"/normocard/constructor/processes/{parentId}":{"get":{"tags":["normo-card-process-resource"],"operationId":"getAllByParentId","parameters":[{"name":"parentId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConstructorProcessDTO"},"maxItems":1000}}}}}}},"/normocard/channel":{"get":{"tags":["normo-card-channel-resource"],"operationId":"getNormoCardChannel","parameters":[{"name":"shortName","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string","default":""}},{"name":"page","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardChannelDTO"},"maxItems":1000}}}}}}},"/normocard/cancelReasons":{"get":{"tags":["normocard-catalog-resource"],"operationId":"getCancelRReasons","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimpleCatalogDTO"},"maxItems":1000}}}}}}},"/normocard/account-unit":{"get":{"tags":["normo-card-account-unit-resource"],"operationId":"getAccountUnits","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountUnitDTO"},"maxItems":1000}}}}}}},"/normocard/constructor/questions/{questionIds}":{"delete":{"tags":["normo-card-question-resource"],"description":"Деактивация ЭД","operationId":"deactivate","parameters":[{"name":"questionIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"}}}},"/normocard/constructor/processes/{processId}/remove":{"delete":{"tags":["normo-card-process-resource"],"description":"Деактивация категории","operationId":"deactivate_1","parameters":[{"name":"processId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"}}}},"/orgstruct/users/{userId}/updateLang":{"put":{"tags":["user-resource"],"operationId":"updateLang","parameters":[{"name":"userId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateLangRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/roles/{roles}":{"put":{"tags":["user-roles-resource"],"operationId":"replaceUserReportAuthorities","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"roles","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["user-roles-resource"],"operationId":"addUserReportAuthorities","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"roles","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["user-roles-resource"],"operationId":"removeUserSelectedReportAuthorities","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"roles","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/groups/{groupIds}":{"put":{"tags":["user-groups-resource"],"operationId":"replaceUserGroups","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"groupIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["user-groups-resource"],"operationId":"addUserGroups","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"groupIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["user-groups-resource"],"operationId":"removeGroupsFromUser","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"groupIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}":{"get":{"tags":["user-resource"],"operationId":"getUser","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"fields","in":"query","required":false,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000,"default":[]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["user-resource"],"operationId":"updateUser","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/UserUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"patch":{"tags":["user-resource"],"operationId":"patchUser","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/shops/{id}/users":{"get":{"tags":["shops-resource"],"operationId":"getShopUsers_1","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/ShopUserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["shops-resource"],"operationId":"addShopUsers","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdsDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["shops-resource"],"operationId":"removeShopUsers","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles":{"get":{"tags":["authority-resource"],"operationId":"getAllAuthorities","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["authority-resource"],"operationId":"update_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAuthorityRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FullAuthorityDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/regions/{id}/dirs/{userIds}":{"put":{"tags":["region-users-resource"],"operationId":"replaceRegionDirs","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["region-users-resource"],"operationId":"addDirsToRegion","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["region-users-resource"],"operationId":"deleteDirsFromRegion","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/mvz/{id}":{"put":{"tags":["mvz-resource"],"operationId":"createMVZ","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMVZDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SimpleMVZDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/mvz/group":{"get":{"tags":["mvz-group-resource"],"operationId":"getMVZFromGroup","parameters":[{"name":"id","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["mvz-group-resource"],"operationId":"updateMVZGroup","parameters":[{"name":"id","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/groups/{id}/roles/{roles}":{"put":{"tags":["group-roles-resource"],"operationId":"replaceGroupReportRoles","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"roles","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["group-roles-resource"],"operationId":"addGroupReportRoles","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"roles","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["group-roles-resource"],"operationId":"removeGroupReportRoles","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"roles","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/groups/{id}":{"get":{"tags":["group-resource"],"operationId":"getGroupById","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["group-resource"],"operationId":"updateGroup","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/divisions/{id}/dirs/{userIds}":{"put":{"tags":["division-users-resource"],"operationId":"replaceDivisionDirs","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["division-users-resource"],"operationId":"addDirsToDivision","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["division-users-resource"],"operationId":"deleteDirsFromDivision","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userIds","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/divisions/{id}":{"get":{"tags":["division-resource"],"operationId":"getDivision","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"fields","in":"query","required":false,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000,"default":[]}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DivisionDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["division-resource"],"operationId":"updateDivision","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DivisionUpdateRequest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/DivisionUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DivisionDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/business-dirs/{id}/dependency":{"get":{"tags":["business-dir-depend-resource"],"operationId":"getDependBusinessDirections","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirDependencyDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["business-dir-depend-resource"],"operationId":"replaceDependBusinessDirections","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirDependencyDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["business-dir-depend-resource"],"operationId":"addDependBusinessDirections","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirDependencyDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["business-dir-depend-resource"],"operationId":"removeDependBusinessDirections","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/business-dirs/{id}":{"get":{"tags":["business-dir-resource"],"operationId":"getOneBusinessDirections","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["business-dir-resource"],"operationId":"updateBusinessDirection","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["business-dir-resource"],"operationId":"deleteBusinessDir","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/shop/{shopId}":{"post":{"tags":["user-resource"],"operationId":"addShop","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"shopId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["user-resource"],"operationId":"unAssignShop","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"shopId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/v2/directorsOfUsers":{"post":{"tags":["user-resource"],"operationId":"findDirectorsOfUsersV2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectorOfUsersFilter"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/shop_directors":{"post":{"tags":["user-resource"],"operationId":"getShopDirectors","requestBody":{"content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","maxProperties":255,"additionalProperties":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/shopUsers/v2":{"post":{"tags":["user-resource"],"operationId":"getShopUsersV2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersByShopIdsRequestDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","maxProperties":255,"additionalProperties":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/find":{"post":{"tags":["user-resource"],"operationId":"findUserByFilter","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFilter"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/checkObserversDependent":{"post":{"tags":["user-resource"],"operationId":"checkObserversDependent","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObserverCheckDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users":{"get":{"tags":["user-resource"],"operationId":"findUsersAsXls_1","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/vnd.ms-excel":{"schema":{"type":"array","items":{"type":"string","format":"byte","maxLength":255},"maxItems":1000}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["user-resource"],"operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateRequest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/UserCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/shops/isUsersInShop":{"post":{"tags":["shops-resource"],"operationId":"returnUserIdsOnlyInShopId","parameters":[{"name":"shopId","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/mvz":{"post":{"tags":["mvz-resource"],"operationId":"createMVZ_1","parameters":[{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMVZDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SimpleMVZDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/mvz/mapping/import":{"post":{"tags":["mvz-mapping-resource"],"operationId":"importMvzMapping","parameters":[{"name":"infoSystemId","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mapping_import_body"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":false}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/groups":{"get":{"tags":["group-resource"],"operationId":"getGroups","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/GroupFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["group-resource"],"operationId":"createGroup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/divisions":{"get":{"tags":["division-resource"],"operationId":"getDivisions","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/DivisionFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DivisionDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["division-resource"],"operationId":"createDivision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DivisionUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DivisionDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/business-dirs":{"get":{"tags":["business-dir-resource"],"operationId":"getAllBusinessDirections","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/BusinessDirFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BusinessDirDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["business-dir-resource"],"operationId":"createBusinessDirection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessDirDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/shops/move":{"patch":{"tags":["shops-resource"],"operationId":"move","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovingRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/regions/move":{"patch":{"tags":["regions-resource"],"operationId":"moveRegions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovingRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/shops":{"get":{"tags":["user-resource"],"operationId":"getUserShops","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ShopDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/roles/sources":{"get":{"tags":["user-roles-resource"],"operationId":"getUserAuthoritiesSources","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"report","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuthoritySourceDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/roles/names":{"get":{"tags":["user-roles-resource"],"operationId":"getUserAuthoritiesNames","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"report","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/roles":{"get":{"tags":["user-roles-resource"],"operationId":"getUserAuthorities","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"report","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["user-roles-resource"],"operationId":"removeUserAllReportAuthorities","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/regions":{"get":{"tags":["user-regions-resource"],"operationId":"getUserRegions","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RegionDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/groups":{"get":{"tags":["user-groups-resource"],"operationId":"getUserGroups","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["user-groups-resource"],"operationId":"deleteAllGroupsFromUser","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/groups/available":{"get":{"tags":["user-groups-resource"],"operationId":"getUserAvailableGroups","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/{id}/divisions":{"get":{"tags":["user-divisions-resource"],"operationId":"getUserDivisions","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DivisionDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/usersOfDependDirections":{"get":{"tags":["user-resource"],"operationId":"getUsersOfDependBusinessDirs","parameters":[{"name":"currentUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDependBNAndUsers"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/subordinates/ids":{"get":{"tags":["user-resource"],"operationId":"getSubordinatesIds","parameters":[{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/subordinates":{"get":{"tags":["user-resource"],"operationId":"getSubordinates","parameters":[{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/shopUsers":{"get":{"tags":["user-resource"],"operationId":"getShopUsers","parameters":[{"name":"shopIds","in":"query","required":true,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"bnIds","in":"query","required":false,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","maxProperties":255,"additionalProperties":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}},"deprecated":true}},"/orgstruct/users/reports":{"get":{"tags":["user-resource"],"operationId":"findAllUsersForReports","parameters":[{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/observers":{"get":{"tags":["user-resource"],"operationId":"findObservers","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/modified":{"get":{"tags":["user-resource"],"operationId":"getUsersModified","parameters":[{"name":"modifiedAfter","in":"query","required":true,"style":"form","explode":true,"schema":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}},{"name":"fields","in":"query","required":false,"style":"form","explode":true,"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/levels":{"get":{"tags":["levels-resource"],"operationId":"getLevelDescriptions","parameters":[{"name":"lang","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","maxProperties":255,"additionalProperties":{"maxLength":255,"type":"string"}},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/head":{"get":{"tags":["user-resource"],"operationId":"isHead","parameters":[{"name":"supposedHeadUserId","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"subordinateUserId","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/directorsOfUsers":{"get":{"tags":["user-resource"],"operationId":"findDirectorsOfUsers","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}},"deprecated":true}},"/orgstruct/users/directors/unsigned":{"get":{"tags":["user-resource"],"operationId":"getUnsigned","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/directors":{"get":{"tags":["user-resource"],"operationId":"getAllActive","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/director":{"get":{"tags":["user-resource"],"operationId":"getShopDirector","parameters":[{"name":"shopId","in":"query","required":true,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/businessDir/{businessDirId}/userLevel/{userLevel}":{"get":{"tags":["user-resource"],"operationId":"findByLevelAndBusinessDirId","parameters":[{"name":"userLevel","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}},{"name":"businessDirId","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/users/allTenantDuplicates":{"get":{"tags":["user-resource"],"operationId":"findLoginInAllTenantsResults","parameters":[{"name":"login","in":"query","required":true,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FindLoginInAllTenantsResult"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/shops/{id}/supervisors":{"get":{"tags":["shop-supervisors-resource"],"operationId":"getSupervisors","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"onlySupervisors","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":false}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/shops/{id}/supervisors/available":{"get":{"tags":["shop-supervisors-resource"],"operationId":"getAvailableSupervisors","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/shops/unsigned":{"get":{"tags":["shops-resource"],"operationId":"getUnsigned_1","parameters":[{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":0,"type":"integer","format":"int32","default":1}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","default":500}},{"name":"q","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageShopMapDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles/{name}":{"get":{"tags":["authority-resource"],"operationId":"get","parameters":[{"name":"name","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FullAuthorityDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles/reports/names":{"get":{"tags":["authority-resource"],"operationId":"getReportAuthoritiesNames","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles/reports":{"get":{"tags":["authority-resource"],"operationId":"getReportAuthorities","parameters":[{"name":"lang","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles/names":{"get":{"tags":["authority-resource"],"operationId":"getAllAuthoritiesNames","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles/groups-available":{"get":{"tags":["authority-resource"],"operationId":"getAuthoritiesAvailableToGroups","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles/functional/names":{"get":{"tags":["authority-resource"],"operationId":"getFunctionalAuthoritiesNames","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/roles/functional":{"get":{"tags":["authority-resource"],"operationId":"getFunctionalAuthorities","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/regions/{id}/dirs/available":{"get":{"tags":["region-users-resource"],"operationId":"getAvailableRegionDirs","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/regions/{id}/dirs":{"get":{"tags":["region-users-resource"],"operationId":"getRegionDirs","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["region-users-resource"],"operationId":"deleteAllDirsFromRegion","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/regions/{ids}/users":{"get":{"tags":["regions-resource"],"operationId":"getRegionsUsers","parameters":[{"name":"ids","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/regions/hierarchy":{"get":{"tags":["regions-resource"],"operationId":"getRegionsHierarchy","parameters":[{"name":"withDirs","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":false}},{"name":"businessDirId","in":"query","required":false,"style":"form","explode":true,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DivisionDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/mvz/modified":{"get":{"tags":["mvz-resource"],"operationId":"getMVZModified","parameters":[{"name":"modifiedAfter","in":"query","required":true,"style":"form","explode":true,"schema":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":false}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/mvz/mapping":{"get":{"tags":["mvz-mapping-resource"],"operationId":"getMVZMapping","parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":255,"type":"string"}},{"name":"pageable","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MVZMappingDTO"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/mvz/mapping/template":{"get":{"tags":["mvz-mapping-resource"],"operationId":"downloadMvzMappingTemplate","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/hierarchy/shop":{"get":{"tags":["hierarchy-resource"],"operationId":"getShopHierarchy","parameters":[{"name":"divisionIds","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"regionIds","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"shopIds","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AllHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/groups/{id}/roles/names":{"get":{"tags":["group-roles-resource"],"operationId":"getGroupReportRoleNames","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/groups/{id}/roles/available":{"get":{"tags":["group-roles-resource"],"operationId":"getGroupAvailableReportRoles","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/groups/{id}/roles":{"get":{"tags":["group-roles-resource"],"operationId":"getGroupReportRoles","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["group-roles-resource"],"operationId":"removeAllGroupReportRoles","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/divisions/{id}/dirs/available":{"get":{"tags":["division-users-resource"],"operationId":"getAvailableDivisionDirs","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/divisions/{id}/dirs":{"get":{"tags":["division-users-resource"],"operationId":"getDivisionDirs","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["division-users-resource"],"operationId":"deleteAllDirsFromDivision","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/divisions/{ids}/users":{"get":{"tags":["division-resource"],"operationId":"getDivisionsUsers","parameters":[{"name":"ids","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/divisions/modified":{"get":{"tags":["division-resource"],"operationId":"getAllDivisions","parameters":[{"name":"modifiedAfter","in":"query","required":true,"style":"form","explode":true,"schema":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DivisionDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/company/counters":{"get":{"tags":["company-structure-resource"],"operationId":"getCounters","parameters":[{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectsCounters"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/business-dirs/{id}/users/mixed":{"get":{"tags":["business-dir-users-resource"],"operationId":"getBusinessDirUsersAndAvailable","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userFilter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/business-dirs/{id}/users/available":{"get":{"tags":["business-dir-users-resource"],"operationId":"getBusinessDirUsersAvailable","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"userFilter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/UserFilter"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/business-dirs/{id}/users":{"get":{"tags":["business-dir-users-resource"],"operationId":"getBusinessDirUsers","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},{"name":"pageRequest","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/shops/{id}/director":{"delete":{"tags":["shops-resource"],"operationId":"removeShopDirector","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/groups/{ids}/remove":{"delete":{"tags":["group-resource"],"operationId":"deleteGroups","parameters":[{"name":"ids","in":"path","required":true,"style":"simple","explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/business-dirs/{id}/dependency/clear":{"delete":{"tags":["business-dir-depend-resource"],"operationId":"removeAllDependBusinessDirections","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/hierarchy/process":{"get":{"tags":["hierarchy-resource"],"operationId":"getProcessHierarchy","parameters":[{"name":"processId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"templateId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"onlyAvailable","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProcessHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["hierarchy-resource"],"operationId":"getProcessHierarchy_4","parameters":[{"name":"processId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"templateId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"onlyAvailable","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProcessHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["hierarchy-resource"],"operationId":"getProcessHierarchy_2","parameters":[{"name":"processId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"templateId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"onlyAvailable","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProcessHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["hierarchy-resource"],"operationId":"getProcessHierarchy_5","parameters":[{"name":"processId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"templateId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"onlyAvailable","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProcessHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"options":{"tags":["hierarchy-resource"],"operationId":"getProcessHierarchy_3","parameters":[{"name":"processId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"templateId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"onlyAvailable","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProcessHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"head":{"tags":["hierarchy-resource"],"operationId":"getProcessHierarchy_1","parameters":[{"name":"processId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"templateId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"onlyAvailable","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProcessHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"patch":{"tags":["hierarchy-resource"],"operationId":"getProcessHierarchy_6","parameters":[{"name":"processId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"templateId","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},{"name":"onlyAvailable","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","default":true}},{"name":"user","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProcessHierarchyDTO"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/orgstruct/company/users":{"get":{"tags":["company-resource"],"operationId":"getCompanyUsers","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["company-resource"],"operationId":"getCompanyUsers_4","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["company-resource"],"operationId":"getCompanyUsers_2","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["company-resource"],"operationId":"getCompanyUsers_5","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"options":{"tags":["company-resource"],"operationId":"getCompanyUsers_3","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"head":{"tags":["company-resource"],"operationId":"getCompanyUsers_1","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"patch":{"tags":["company-resource"],"operationId":"getCompanyUsers_6","parameters":[{"name":"filter","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/OrgstructUsersFilter"}},{"name":"authenticatedUser","in":"query","required":true,"style":"form","explode":true,"schema":{"$ref":"#/components/schemas/AuthenticatedUser"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/debug/build/version":{"get":{"tags":["wrs-build-resource"],"operationId":"version","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["wrs-build-resource"],"operationId":"version_4","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["wrs-build-resource"],"operationId":"version_2","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["wrs-build-resource"],"operationId":"version_5","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"options":{"tags":["wrs-build-resource"],"operationId":"version_3","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"head":{"tags":["wrs-build-resource"],"operationId":"version_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"patch":{"tags":["wrs-build-resource"],"operationId":"version_6","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}},"/debug/build/commit":{"get":{"tags":["wrs-build-resource"],"operationId":"commit","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["wrs-build-resource"],"operationId":"commit_4","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["wrs-build-resource"],"operationId":"commit_2","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["wrs-build-resource"],"operationId":"commit_5","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"options":{"tags":["wrs-build-resource"],"operationId":"commit_3","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"head":{"tags":["wrs-build-resource"],"operationId":"commit_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}},"patch":{"tags":["wrs-build-resource"],"operationId":"commit_6","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"maxLength":255,"type":"string"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Internal Server Error"}}}}},"components":{"schemas":{"SystemPropertyDto":{"type":"object","properties":{"propertyKey":{"maxLength":255,"type":"string"},"value":{"maxLength":255,"type":"string"},"type":{"maxLength":255,"type":"string"},"russianName":{"maxLength":255,"type":"string"},"possibleValues":{"maxLength":255,"type":"string"},"clientType":{"maxLength":255,"type":"string"},"hide":{"type":"boolean"}},"additionalProperties":false},"TenantParamDTO":{"type":"object","properties":{"key":{"maxLength":255,"minLength":1,"type":"string","description":"Ключ параметра"},"value":{"maxLength":255,"minLength":1,"type":"string","description":"Значение параметра"},"title":{"maxLength":255,"minLength":1,"type":"string","description":"Название параметра"},"type":{"maxLength":255,"minLength":1,"type":"string","description":"Тип параметра"}},"additionalProperties":false},"AuditLogFilter":{"type":"object","properties":{"dateFrom":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","description":"Дата начала выборки","format":"date"},"dateTo":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","description":"Дата конца выборки","format":"date"},"userId":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Фильтр по id пользователя","format":"int32"},"status":{"maxLength":255,"minLength":0,"type":"string","description":"Фильтр по статусу запроса"},"methodName":{"maxLength":255,"minLength":0,"type":"string","description":"Фильтр по имени запроса"}},"additionalProperties":false},"Pageable":{"type":"object","properties":{"page":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Номер страницы","format":"int32"},"size":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Кол-во элементов на странице","format":"int32"},"sort":{"type":"array","description":"Сортировка в формате parameter,order","items":{"maxLength":255,"type":"string"},"maxItems":1000}},"additionalProperties":false},"AuditLogWebDTO":{"type":"object","properties":{"date":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","description":"Дата действия","format":"date-time"},"methodName":{"maxLength":255,"minLength":1,"type":"string","description":"Название запроса"},"methodType":{"maxLength":255,"minLength":1,"type":"string","description":"Тип запроса"},"methodPath":{"maxLength":255,"minLength":1,"type":"string","description":"Путь запроса"},"userId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Id пользователя совревшего запроса","format":"int32"},"requestBody":{"maxLength":255,"minLength":1,"type":"string","description":"Тело запроса"},"status":{"maxLength":255,"minLength":1,"type":"string","description":"Статус запроса"},"error":{"maxLength":255,"minLength":1,"type":"string","description":"Текст ошибки"}},"additionalProperties":false},"ChangePasswordDTO":{"required":["login","password"],"type":"object","properties":{"login":{"maxLength":255,"type":"string"},"password":{"maxLength":255,"type":"string"},"uid":{"maxLength":255,"type":"string"},"deleteTouch":{"type":"boolean"}},"additionalProperties":false},"Token":{"type":"object","properties":{"token":{"maxLength":255,"type":"string"},"expires":{"maximum":9223372036854775807,"minimum":1,"type":"integer","format":"int64"}},"additionalProperties":false},"Device":{"type":"object","properties":{"devicePlatform":{"type":"string","enum":["IOS","ANDROID","UNKNOWN"]},"tablet":{"type":"boolean"},"mobile":{"type":"boolean"},"normal":{"type":"boolean"}},"additionalProperties":false},"UserTouchDTO":{"type":"object","properties":{"touchUid":{"maxLength":255,"type":"string"}},"additionalProperties":false},"ForgotPasswordRequestDTO":{"required":["login"],"type":"object","properties":{"login":{"maxLength":255,"type":"string"}},"additionalProperties":false},"ForgotPasswordResponseDTO":{"type":"object","properties":{"login":{"maxLength":255,"type":"string"},"email":{"maxLength":255,"type":"string"},"expiredDate":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}},"additionalProperties":false},"RestoreCodeDTO":{"type":"object","properties":{"code":{"maxLength":255,"type":"string"},"login":{"maxLength":255,"type":"string"},"password":{"maxLength":255,"type":"string"}},"additionalProperties":false},"AuthenticateQvalonRequest":{"type":"object","properties":{"login":{"maxLength":255,"type":"string"},"password":{"maxLength":255,"type":"string"},"tenant":{"maxLength":255,"type":"string"}},"additionalProperties":false},"TenantToken":{"type":"object","properties":{"tenant":{"maxLength":255,"type":"string"},"token":{"maxLength":255,"type":"string"}},"additionalProperties":false},"AuthStatisticsDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"userId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"appVersion":{"maxLength":255,"type":"string"},"deviceUid":{"maxLength":255,"type":"string"},"devicePlatform":{"maxLength":255,"type":"string"},"deviceModel":{"maxLength":255,"type":"string"},"lastUpdateDatetime":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"creationDatetime":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"data":{"maxLength":255,"type":"string"}},"additionalProperties":false},"PasswordComplexityDTO":{"type":"object","properties":{"good":{"$ref":"#/components/schemas/PasswordComplexityField"}},"additionalProperties":false},"PasswordComplexityField":{"type":"object","properties":{"regexp":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"}},"additionalProperties":false},"CheckChangePasswordDTO":{"required":["login","uid"],"type":"object","properties":{"login":{"maxLength":255,"type":"string"},"uid":{"maxLength":255,"type":"string"}},"additionalProperties":false},"UserDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Индентификатор","format":"int32"},"login":{"maxLength":255,"minLength":6,"type":"string","description":"Логин"},"password":{"maxLength":255,"minLength":8,"type":"string","description":"Пароль"},"firstName":{"maxLength":255,"minLength":0,"type":"string","description":"Имя"},"lastName":{"maxLength":255,"minLength":0,"type":"string","description":"Фамилия"},"displayName":{"maxLength":255,"minLength":0,"type":"string","description":"Отображаемое имя"},"roles":{"type":"array","description":"Роли пользователя","items":{"type":"string","maxLength":255,"minLength":0},"maxItems":1000},"position":{"maxLength":255,"minLength":0,"type":"string","description":"Должность"},"needChangePassword":{"type":"boolean","description":"Необходимость смены пароля"},"authType":{"maximum":1,"minimum":0,"type":"integer","description":"Тип авторизации","format":"int32"},"email":{"maxLength":255,"minLength":0,"type":"string","description":"Email пользователя"},"lang":{"maxLength":50,"minLength":0,"type":"string","description":"Язык пользователя в системе"},"level":{"maxLength":255,"minLength":0,"type":"string","description":"Организационный уровень в системе"},"voximplantLogin":{"maxLength":255,"minLength":0,"type":"string","description":"Логин для платформы Voximplant"},"mindAndMachineLogin":{"maxLength":255,"minLength":0,"type":"string","description":"Логин для MindAndMachine"},"avatarName":{"maxLength":255,"minLength":0,"type":"string","description":"Название аватара"},"avatarColor":{"maxLength":255,"minLength":0,"type":"string","description":"Цвет аватара"},"timeZoneId":{"maxLength":255,"minLength":0,"type":"string","description":"Индентификатор тайм-зоны"},"businessDirIds":{"uniqueItems":true,"type":"array","description":"Индентификаторы департаментов","items":{"maximum":2147483647,"minimum":0,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"EventDTO":{"type":"object","properties":{"eventTypeId":{"maximum":5,"minimum":1,"type":"integer","description":"Тип действия","format":"int32"},"eventTime":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"eventTypeName":{"maxLength":255,"minLength":1,"type":"string","description":"Название действия"},"durationInSec":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Длительность действия в секунду","format":"int32"}},"additionalProperties":false},"NormoCardDTO":{"type":"object","properties":{"caseId":{"maxLength":255,"minLength":0,"type":"string","description":"Индентификатор замера"},"normocardName":{"maxLength":255,"minLength":0,"type":"string","description":"Название замера"},"shopId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор отделения","format":"int32"},"shopName":{"maxLength":255,"minLength":0,"type":"string","description":"Наименование отделения"},"mvzId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор МВЗ","format":"int32"},"templateId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор НК","format":"int32"},"templateName":{"maxLength":255,"minLength":1,"type":"string","description":"Наименование НК"},"startTime":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","description":"Дата и время начало замеров по НК","format":"date-time"},"stopTime":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","description":"Дата и время окончания замеров по НК","format":"date-time"},"durationInSec":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Длительность замеров в секундах","format":"int32"},"answers":{"type":"array","description":"Спискок элементарных действий","items":{"$ref":"#/components/schemas/NormocardAnswerDTO"},"maxItems":1000}},"additionalProperties":false},"NormocardAnswerDTO":{"type":"object","properties":{"questionId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор ЭД","format":"int32"},"questionName":{"maxLength":255,"minLength":0,"type":"string","description":"Наименование ЭД"},"orderInTemplate":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Порядковый номер в НК","format":"int32"},"custom":{"type":"boolean","description":"Признак ручного замера"},"events":{"type":"array","description":"Список событий","items":{"$ref":"#/components/schemas/EventDTO"},"maxItems":1000},"comment":{"maxLength":255,"minLength":0,"type":"string","description":"Комментарий"},"canceled":{"type":"boolean","description":"Признак сброшенного замера"},"cancelReasonText":{"maxLength":255,"minLength":0,"type":"string","description":"Текст причины сброса"},"cancelReasonId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор причины сброса","format":"int32"},"newOrderInTemplate":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Новый порядковый номер","format":"int32"},"reorderReasonId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор причины смены порядка","format":"int32"},"reorderReasonText":{"maxLength":255,"type":"string","description":"Текст причины смены порядка"},"driverResult":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Результат драйвера","format":"int32"},"durationPerDriver":{"maximum":2147483647,"minimum":0,"type":"number","description":"Результат по 1 драйверу","format":"double"},"standardDriverResult":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Норматив драйвера","format":"int32"}},"additionalProperties":false},"AuthenticatedUser":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"login":{"maxLength":255,"type":"string"},"firstName":{"maxLength":255,"type":"string"},"lastName":{"maxLength":255,"type":"string"},"position":{"maxLength":255,"type":"string"},"email":{"maxLength":255,"type":"string"},"businessDirIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"roles":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"tenant":{"maxLength":255,"type":"string"},"token":{"maxLength":255,"type":"string"},"internalRequestId":{"maxLength":255,"type":"string"},"lang":{"maxLength":255,"type":"string"},"level":{"maxLength":255,"type":"string"},"groupIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"voximplantLogin":{"maxLength":255,"type":"string"},"mindAndMachineLogin":{"maxLength":255,"type":"string"},"timeZoneId":{"maxLength":255,"type":"string"},"fullName":{"maxLength":255,"type":"string"}},"additionalProperties":false},"NormoCardQuestionDriverDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор драйвера ЭД","format":"int32"},"code":{"maxLength":255,"minLength":0,"type":"string","description":"Код драйвера ЭД"},"name":{"maxLength":255,"minLength":0,"type":"string","description":"Наименование драйвера ЭД"},"shortName":{"maxLength":255,"minLength":0,"type":"string","description":"Сокращенное наименование драйвера ЭД"},"accountUnitId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор организационной единицы","format":"int32"},"infoSystemId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор информационной системы","format":"int32"},"infoSystemName":{"maxLength":255,"minLength":1,"type":"string","description":"Наименование информационной системы"},"calculationType":{"maxLength":255,"minLength":1,"type":"string","description":"Тип расчета"},"active":{"type":"boolean","description":"Признак активности"},"businessDirId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор департамента","format":"int32"},"comment":{"maxLength":255,"minLength":0,"type":"string","description":"Комментарий"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","description":"Дата и время последнего изменения","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор сотрудника совершившего последнего изменения","format":"int32"},"authorId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор автора","format":"int32"}},"additionalProperties":false},"NormoCardQuestionCorrectionFactorDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор","format":"int32"},"externalId":{"maxLength":255,"minLength":0,"type":"string","description":"Внешний индентификатор"},"name":{"maxLength":255,"minLength":0,"type":"string","description":"Наименование"},"quantity":{"maximum":2147483647,"minimum":0,"type":"number","description":"Значение корректирующего коэффициента","format":"double"},"active":{"type":"boolean","description":"Признак активности"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","description":"Дата и время последнего изменения","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Индентификатор сотрудника совершившего последнего изменения","format":"int32"}},"additionalProperties":false,"description":"Объект корректирующего коэфицента ЭД"},"NormoCardMVZGroupDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"NormoCardDriverDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"accountUnitId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"infoSystemId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"infoSystemName":{"maxLength":255,"type":"string"},"calculationType":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"comment":{"maxLength":255,"type":"string"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"authorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"NormoCardCorrectionFactorDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"externalId":{"maxLength":255,"type":"string"},"quantity":{"maximum":2147483647,"minimum":0,"type":"number","format":"double"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"CreateThroughProcessDTO":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"ThroughProcessDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"authorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"ThroughProcessTemplateAddDTO":{"type":"object","properties":{"templateId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"orderNum":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"dateFrom":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"dateTo":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"}},"additionalProperties":false},"TemplateThroughProcessDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"thoughProcessId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"templateId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"templateName":{"maxLength":255,"type":"string"},"bnId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"status":{"type":"string","enum":["IN_WORK","ON_APPROVAL","APPROVED"]},"orderNum":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"dateFrom":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"dateTo":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"}},"additionalProperties":false},"TemplateRequestDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"status":{"type":"string","enum":["IN_WORK","ON_APPROVAL","APPROVED"]},"authorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"approvedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"approvedUserId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"comment":{"maxLength":255,"type":"string"},"returned":{"type":"boolean"},"canApprove":{"type":"boolean"},"groups":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"hasQuestions":{"type":"boolean"},"throughProcessIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"driverName":{"maxLength":255,"type":"string"},"correctionFactorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"startDate":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"finishDate":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"accountUnitName":{"maxLength":255,"type":"string"},"correctionFactorName":{"maxLength":255,"type":"string"},"infoSystemName":{"maxLength":255,"type":"string"},"mvzIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"productIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"channelIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"validityOfCoefficient":{"type":"string","enum":["EXPERTLY","JUSTIFIED"]},"validityOfCoefficientComment":{"maxLength":255,"type":"string"}},"additionalProperties":false},"NormoCardChannelDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"externalId":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"NormoCardProductDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"externalId":{"maxLength":255,"type":"string"},"parentGroupId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"parentGroupName":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"TemplateDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"status":{"type":"string","enum":["IN_WORK","ON_APPROVAL","APPROVED"]},"authorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"approvedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"approvedUserId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"comment":{"maxLength":255,"type":"string"},"returned":{"type":"boolean"},"canApprove":{"type":"boolean"},"groups":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"hasQuestions":{"type":"boolean"},"throughProcessIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"driverName":{"maxLength":255,"type":"string"},"correctionFactorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"startDate":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"finishDate":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"authorName":{"maxLength":255,"type":"string"},"approvedUserName":{"maxLength":255,"type":"string"},"accountUnitName":{"maxLength":255,"type":"string"},"correctionFactorName":{"maxLength":255,"type":"string"},"infoSystemName":{"maxLength":255,"type":"string"},"mvzIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"products":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardProductDTO"},"maxItems":1000},"channels":{"type":"array","items":{"$ref":"#/components/schemas/NormoCardChannelDTO"},"maxItems":1000},"validityOfCoefficient":{"type":"string","enum":["EXPERTLY","JUSTIFIED"]},"validityOfCoefficientComment":{"maxLength":255,"type":"string"}},"additionalProperties":false},"QuestionRequestDto":{"type":"object","properties":{"questionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"trmRoleId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"correctionFactorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"comment":{"maxLength":255,"type":"string"},"validityOfCoefficient":{"type":"string","enum":["EXPERTLY","JUSTIFIED"]},"validityOfCoefficientComment":{"maxLength":255,"type":"string"}},"additionalProperties":false},"QuestionDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"hint":{"maxLength":255,"type":"string"},"orderInCategory":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"categoryId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"originalId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"categoryName":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"templateId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"standardInSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"calculatedResult":{"maximum":2147483647,"minimum":0,"type":"number","format":"double"},"infoSystemId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"methodId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"functionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"functionName":{"maxLength":255,"type":"string"},"infoSystemName":{"maxLength":255,"type":"string"},"driverName":{"maxLength":255,"type":"string"},"actionType":{"maxLength":255,"type":"string"},"customerInteraction":{"type":"boolean"},"ndConformity":{"type":"boolean"},"measurementType":{"type":"string","enum":["SYSTEM","MANUAL"]},"rareAction":{"type":"boolean"},"comment":{"maxLength":255,"type":"string"},"trmRoleId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"trmRoleName":{"maxLength":255,"type":"string"},"correctionFactorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"correctionFactorName":{"maxLength":255,"type":"string"},"correctionFactorQuantity":{"maximum":2147483647,"minimum":0,"type":"number","format":"double"},"standardDriverResult":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"validityOfCoefficient":{"type":"string","enum":["EXPERTLY","JUSTIFIED"]},"validityOfCoefficientComment":{"maxLength":255,"type":"string"},"approvedStandardInSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"calculatedResult20":{"maximum":2147483647,"minimum":0,"type":"number","format":"double"}},"additionalProperties":false},"QuestionsOrderDTO":{"type":"object","properties":{"questionIdsOrdered":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"ConstructorProcessDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"parentId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"active":{"type":"boolean"},"hasQuestions":{"type":"boolean"},"hasChildren":{"type":"boolean"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"ReportFilter":{"type":"object","properties":{"dateFrom":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"dateTo":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"templateIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"questionIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"shopIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"mvzIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"userIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"StatisticReportFilter":{"type":"object","properties":{"dateFrom":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"dateTo":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"templateIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"categoryIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"questionIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"shopIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"mvzIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"userIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"CustomSort":{"type":"object","properties":{"direction":{"type":"string","enum":["ASC","DESC"]},"properties":{"maxLength":255,"type":"string"}},"additionalProperties":false},"HistoryReportFilter":{"type":"object","properties":{"sort":{"type":"array","items":{"$ref":"#/components/schemas/CustomSort"},"maxItems":1000},"page":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"perPage":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shopIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"mvzIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"userId":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"dateFrom":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"dateTo":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"templateIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"search":{"maxLength":255,"type":"string"},"pageable":{"$ref":"#/components/schemas/PageableObject"}},"additionalProperties":false},"PageableObject":{"type":"object","properties":{"pageNumber":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"pageSize":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"paged":{"type":"boolean"},"unpaged":{"type":"boolean"},"offset":{"maximum":9223372036854775807,"minimum":1,"type":"integer","format":"int64"},"sort":{"$ref":"#/components/schemas/Sort"}},"additionalProperties":false},"Sort":{"type":"object","properties":{"unsorted":{"type":"boolean"},"sorted":{"type":"boolean"},"empty":{"type":"boolean"}},"additionalProperties":false},"HistoryReportDTO":{"type":"object","properties":{"id":{"maxLength":255,"type":"string"},"caseId":{"maxLength":255,"type":"string"},"startTime":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"endTime":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"name":{"maxLength":255,"type":"string"},"templateName":{"maxLength":255,"type":"string"},"allAnswerCount":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"answeredCount":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"sumDuration":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shopId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"mvzId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shopName":{"maxLength":255,"type":"string"},"templateId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"standardDriverResult":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"DriverResultImportDTO":{"type":"object","properties":{"reportDate":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"driverName":{"maxLength":255,"type":"string"},"location":{"maxLength":255,"type":"string"},"structuralSubdivision":{"maxLength":255,"type":"string"},"driverValue":{"maximum":2147483647,"minimum":0,"type":"number","format":"double"},"analytics1":{"maxLength":255,"type":"string"},"analytics2":{"maxLength":255,"type":"string"},"analytics3":{"maxLength":255,"type":"string"}},"additionalProperties":false},"ThroughProcessTemplateCheckDTO":{"type":"object","properties":{"throughProcessId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"templateId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"linkId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"dateFrom":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"dateTo":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"}},"additionalProperties":false},"ThroughProcessTemplateCheckResultDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"dateFrom":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"dateTo":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}},"additionalProperties":false},"ThroughProcessFilter":{"type":"object","properties":{"onlyUserBn":{"type":"boolean"},"active":{"type":"boolean"},"bnIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"search":{"maxLength":255,"type":"string"}},"additionalProperties":false},"ApprovedUserDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"login":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"}},"additionalProperties":false},"CopyTemplateDTO":{"type":"object","properties":{"copiedTemplateId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"newTemplateName":{"maxLength":255,"type":"string"}},"additionalProperties":false},"TemplateFilter":{"type":"object","properties":{"sort":{"type":"array","items":{"$ref":"#/components/schemas/CustomSort"},"maxItems":1000},"page":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"perPage":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"status":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["IN_WORK","ON_APPROVAL","APPROVED"]},"maxItems":1000},"search":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"}},"additionalProperties":false},"SimpleTemplateDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"status":{"type":"string","enum":["IN_WORK","ON_APPROVAL","APPROVED"]},"authorId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"NormoCardTRMRoleDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"externalId":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"SimpleQuestionDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"hint":{"maxLength":255,"type":"string"},"orderInTemplate":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"driverName":{"maxLength":255,"type":"string"},"driverAccUnitName":{"maxLength":255,"type":"string"},"standardDriverResult":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"SimpleTemplateWithQuestionsDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"throughProcessIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"startDate":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"endDate":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string","format":"date"},"mvzIds":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"questions":{"type":"array","items":{"$ref":"#/components/schemas/SimpleQuestionDTO"},"maxItems":1000}},"additionalProperties":false},"HistoryDetailsEvent":{"type":"object","properties":{"eventStart":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"eventEnd":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"eventDuration":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"HistoryDetailsReportDTO":{"type":"object","properties":{"questionName":{"maxLength":255,"type":"string"},"sumDuration":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"orderInTemplate":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"newOrderInTemplate":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"driverName":{"maxLength":255,"type":"string"},"driverResult":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"answerComment":{"maxLength":255,"type":"string"},"events":{"type":"array","items":{"$ref":"#/components/schemas/HistoryDetailsEvent"},"maxItems":1000}},"additionalProperties":false},"HistoryFullReportDTO":{"type":"object","properties":{"questionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"questionName":{"maxLength":255,"type":"string"},"orderInTemplate":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"newOrderInTemplate":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"custom":{"type":"boolean"},"userComment":{"maxLength":255,"type":"string"},"canceled":{"type":"boolean"},"cancelReasonText":{"maxLength":255,"type":"string"},"cancelReasonId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"reorderReasonId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"reorderReasonText":{"maxLength":255,"type":"string"},"driverResult":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"standardDriverResult":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"events":{"type":"array","items":{"$ref":"#/components/schemas/HistoryDetailsEvent"},"maxItems":1000}},"additionalProperties":false},"SimpleCatalogDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"}},"additionalProperties":false},"TemplateShortDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"}},"additionalProperties":false},"NormoCardMVZDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"parentId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"externalId":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"NormoCardMethodDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"InfoSystemDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"externalId":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"NormoCardFunctionDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"externalId":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"CheckTemplateFunctionLinkDTO":{"type":"object","properties":{"trmRoles":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/ShortCatalogDTO"},"maxItems":1000},"mvzNames":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}},"additionalProperties":false},"ShortCatalogDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"}},"additionalProperties":false},"UpdateQuestionDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"hint":{"maxLength":255,"type":"string"},"templateName":{"maxLength":255,"type":"string"}},"additionalProperties":false},"AccountUnitDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shortName":{"maxLength":255,"type":"string"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"UserUpdateLangRequest":{"required":["lang"],"type":"object","properties":{"lang":{"maxLength":255,"type":"string"}},"additionalProperties":false},"AuthorityDto":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"}},"additionalProperties":false},"BusinessDirDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"createTask":{"type":"boolean"},"system":{"type":"boolean"},"geoCheckStart":{"maxLength":255,"type":"string"},"geoCheckFinish":{"maxLength":255,"type":"string"},"observeMyShopTask":{"type":"boolean"}},"additionalProperties":false},"UserDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"active":{"type":"boolean"},"login":{"maxLength":255,"type":"string"},"firstName":{"maxLength":255,"type":"string"},"lastName":{"maxLength":255,"type":"string"},"displayName":{"maxLength":255,"type":"string"},"position":{"maxLength":255,"type":"string"},"email":{"maxLength":255,"type":"string"},"level":{"type":"string","enum":["COMPANY","DIVISION","REGION","SHOP"]},"businessDirIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"authType":{"type":"string","enum":["LOCAL","LDAP"]},"authoritiesAll":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000},"roles":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"businessDir":{"$ref":"#/components/schemas/BusinessDirDto"},"ldapLogin":{"maxLength":255,"type":"string"},"directorOfShops":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"shops":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"regions":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"divisions":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"avatarColor":{"maxLength":255,"type":"string"},"avatarName":{"maxLength":255,"type":"string"},"lang":{"maxLength":255,"type":"string"},"voximplantLogin":{"maxLength":255,"type":"string"},"voximplantEnabled":{"type":"boolean"},"mindAndMachineLogin":{"maxLength":255,"type":"string"}},"additionalProperties":false},"UserUpdateRequest":{"required":["level","login"],"type":"object","properties":{"level":{"type":"string","enum":["COMPANY","DIVISION","REGION","SHOP"]},"shopDirector":{"type":"boolean"},"divisionIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"divisionIds"}},"maxItems":1000},"regionIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"regionIds"}},"maxItems":1000},"shopIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"shopIds"}},"maxItems":1000},"login":{"maxLength":255,"minLength":1,"type":"string"},"ldapLogin":{"maxLength":255,"minLength":1,"type":"string"},"email":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"supervisor":{"type":"boolean"},"taskManager":{"type":"boolean"},"userChecklistsOrganizer":{"type":"boolean"},"surveyAdmin":{"type":"boolean"},"admin":{"type":"boolean"},"userAdminRole":{"type":"boolean"},"userCKNRole":{"type":"boolean"},"userAuditorRole":{"type":"boolean"},"authType":{"type":"string","enum":["LOCAL","LDAP"]},"firstName":{"maxLength":255,"type":"string"},"lastName":{"maxLength":255,"type":"string"},"position":{"maxLength":255,"type":"string"},"businessDirIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"shopIds"}},"maxItems":1000},"password":{"maxLength":255,"type":"string"},"lang":{"maxLength":255,"type":"string"},"voximplantLogin":{"maxLength":255,"type":"string"},"timeZoneId":{"maxLength":255,"type":"string"}},"additionalProperties":false,"xml":{"name":"body"}},"UserIdsDto":{"type":"object","properties":{"userIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"ShopCreateRequest":{"type":"object","properties":{"active":{"type":"boolean"},"sap":{"maxLength":255,"type":"string"},"address":{"maxLength":255,"type":"string"},"locality":{"maxLength":255,"type":"string"},"city":{"maxLength":255,"type":"string"},"addrRegOffice":{"maxLength":255,"type":"string"},"format":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"clusterId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"statusId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"latitude":{"maximum":90,"minimum":-90,"type":"number","format":"double"},"longitude":{"maximum":180,"minimum":-180,"type":"number","format":"double"},"allDay":{"type":"boolean"},"timeZoneId":{"maxLength":255,"type":"string"}},"additionalProperties":false},"DivisionDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"dirs":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000},"regions":{"type":"array","items":{"$ref":"#/components/schemas/RegionDto"},"maxItems":1000},"regionsCount":{"maximum":9223372036854775807,"minimum":1,"type":"integer","format":"int64"},"shopsCount":{"maximum":9223372036854775807,"minimum":1,"type":"integer","format":"int64"}},"additionalProperties":false},"RegionDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"divisionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"division":{"$ref":"#/components/schemas/DivisionDto"},"dirs":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000},"shops":{"type":"array","items":{"$ref":"#/components/schemas/ShopDto"},"maxItems":1000},"divisionName":{"maxLength":255,"type":"string","deprecated":true},"shopsCount":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"ShopDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"active":{"type":"boolean"},"sap":{"maxLength":255,"type":"string"},"locality":{"maxLength":255,"type":"string"},"address":{"maxLength":255,"type":"string"},"city":{"maxLength":255,"type":"string"},"latitude":{"maximum":90,"minimum":-90,"type":"number","format":"double"},"longitude":{"maximum":180,"minimum":-180,"type":"number","format":"double"},"regionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"clusterId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"timeZoneId":{"maxLength":255,"type":"string"},"dir":{"$ref":"#/components/schemas/UserDto"},"cluster":{"$ref":"#/components/schemas/RegionDto"},"division":{"$ref":"#/components/schemas/DivisionDto"},"supervisors":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"},"maxItems":1000}},"additionalProperties":false},"SimpleGroupDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"}},"additionalProperties":false},"SimpleUserDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"login":{"maxLength":255,"type":"string"},"firstName":{"maxLength":255,"type":"string"},"lastName":{"maxLength":255,"type":"string"}},"additionalProperties":false},"UpdateAuthorityRequest":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"users":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/SimpleUserDto"},"maxItems":1000},"groups":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/SimpleGroupDto"},"maxItems":1000}},"additionalProperties":false},"FullAuthorityDto":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"},"users":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/SimpleUserDto"},"maxItems":1000},"groups":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/GroupDto"},"maxItems":1000}},"additionalProperties":false},"GroupDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"},"blockWebAccess":{"type":"boolean"},"authorities":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/AuthorityDto"},"maxItems":1000},"users":{"type":"array","items":{"$ref":"#/components/schemas/SimpleUserDto"},"maxItems":1000}},"additionalProperties":false},"RegionUpdateRequest":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"divisionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false,"xml":{"name":"body"}},"CreateMVZDTO":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"externalId":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"active":{"type":"boolean"}},"additionalProperties":false},"SimpleMVZDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"shortName":{"maxLength":255,"type":"string"},"externalId":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"GroupUpdateRequest":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"},"blockWebAccess":{"type":"boolean"},"users":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"authorities":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}},"additionalProperties":false},"DivisionUpdateRequest":{"type":"object","properties":{"active":{"type":"boolean"},"name":{"maxLength":255,"type":"string"}},"additionalProperties":false,"xml":{"name":"body"}},"BusinessDirDependencyDto":{"type":"object","properties":{"forTasks":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"forChecklists":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"BusinessDirUpdateRequest":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"createTask":{"type":"boolean"},"geoCheckStart":{"maxLength":255,"type":"string"},"geoCheckFinish":{"maxLength":255,"type":"string"}},"additionalProperties":false},"DirectorOfUsersFilter":{"type":"object","properties":{"type":{"type":"string","enum":["ORGSTRUCT","USER"]},"userObjectMap":{"type":"object","maxProperties":255,"additionalProperties":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}}},"additionalProperties":false},"UsersByShopIdsRequestDTO":{"type":"object","properties":{"shopIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"bnIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"UserFilter":{"type":"object","properties":{"active":{"type":"boolean"},"ids":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"role":{"maxLength":255,"type":"string"},"roles":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"businessDirId":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"divisionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"regionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"login":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"emails":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"levels":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["COMPANY","DIVISION","REGION","SHOP"]},"maxItems":1000},"shopDir":{"type":"boolean","deprecated":true},"directorForShop":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"loginLike":{"maxLength":255,"type":"string"},"emailLike":{"maxLength":255,"type":"string"},"firstNameLike":{"maxLength":255,"type":"string"},"lastNameLike":{"maxLength":255,"type":"string"},"positionLike":{"maxLength":255,"type":"string"},"hasBusinessDir":{"type":"boolean"},"hasGroup":{"type":"boolean"},"skipRoles":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"skipBusinessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"skipDivisionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"skipRegionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"skipShopIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"search":{"maxLength":255,"type":"string"},"fields":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"composition":{"type":"string","enum":["AND","OR"]},"lessThanUserLevel":{"type":"string","enum":["COMPANY","DIVISION","REGION","SHOP"]},"containsInSupervisorListForShops":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"lang":{"maxLength":255,"type":"string"}},"additionalProperties":false},"ObserverCheckDTO":{"type":"object","properties":{"taskResponseShopId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"taskResponseRegionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"taskResponseDivisionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"observerIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"UserCreateRequest":{"required":["authType","level","login"],"type":"object","properties":{"level":{"type":"string","enum":["COMPANY","DIVISION","REGION","SHOP"]},"shopDirector":{"type":"boolean"},"divisionIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"divisionIds"}},"maxItems":1000},"regionIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"regionIds"}},"maxItems":1000},"shopIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"shopIds"}},"maxItems":1000},"login":{"maxLength":255,"minLength":1,"type":"string"},"ldapLogin":{"maxLength":255,"type":"string"},"email":{"maxLength":255,"type":"string"},"authType":{"type":"string","enum":["LOCAL","LDAP"]},"active":{"type":"boolean"},"supervisor":{"type":"boolean"},"taskManager":{"type":"boolean"},"userChecklistsOrganizer":{"type":"boolean"},"surveyAdmin":{"type":"boolean"},"admin":{"type":"boolean"},"userAdminRole":{"type":"boolean"},"userCKNRole":{"type":"boolean"},"userAuditorRole":{"type":"boolean"},"firstName":{"maxLength":255,"type":"string"},"lastName":{"maxLength":255,"type":"string"},"position":{"maxLength":255,"type":"string"},"password":{"maxLength":255,"type":"string"},"businessDirIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32","xml":{"name":"shopIds"}},"maxItems":1000},"lang":{"maxLength":255,"type":"string"},"timeZoneId":{"maxLength":255,"type":"string"}},"additionalProperties":false,"xml":{"name":"body"}},"ShopFilter":{"type":"object","properties":{"active":{"type":"boolean"},"sapLike":{"maxLength":255,"type":"string"},"localityLike":{"maxLength":255,"type":"string"},"search":{"maxLength":255,"type":"string"},"cityLike":{"maxLength":255,"type":"string"},"addressLike":{"maxLength":255,"type":"string"},"status":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"ids":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"region":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"division":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"catalogValueIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"allDay":{"type":"boolean"},"director":{"type":"boolean"},"searchString":{"maxLength":255,"type":"string"},"userId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"fields":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"withDirs":{"type":"boolean","deprecated":true}},"additionalProperties":false},"RegionFilter":{"type":"object","properties":{"ids":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"active":{"type":"boolean"},"nameLike":{"maxLength":255,"type":"string"},"divisionIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"userId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shopId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shopIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"fields":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"searchString":{"maxLength":255,"type":"string"},"withDirs":{"type":"boolean","deprecated":true}},"additionalProperties":false},"RegionCreateRequest":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"divisionId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false,"xml":{"name":"body"}},"BusinessDirCreateRequest":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"}},"additionalProperties":false},"MovingRequestDto":{"type":"object","properties":{"ids":{"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"destinationId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"AuthoritySourceDto":{"type":"object","properties":{"name":{"maxLength":255,"type":"string"},"description":{"maxLength":255,"type":"string"},"assignedDirectly":{"type":"boolean"},"assignedByGroups":{"maxLength":255,"type":"string"}},"additionalProperties":false},"UserDependBNAndUsers":{"type":"object","properties":{"users":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"businessDirections":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"FindLoginInAllTenantsResult":{"type":"object","properties":{"userId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"tenant":{"maxLength":255,"type":"string"}},"additionalProperties":false},"ShopUserFilter":{"type":"object","properties":{"active":{"type":"boolean"},"includeDirs":{"type":"boolean"},"searchString":{"maxLength":255,"type":"string"},"fields":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000}},"additionalProperties":false},"PageShopMapDto":{"type":"object","properties":{"totalPages":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"totalElements":{"maximum":9223372036854775807,"minimum":1,"type":"integer","format":"int64"},"numberOfElements":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"sort":{"$ref":"#/components/schemas/Sort"},"size":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ShopMapDto"},"maxItems":1000},"number":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"empty":{"type":"boolean"}},"additionalProperties":false},"ShopMapDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"}},"additionalProperties":false},"SimpleShopDto":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"sap":{"maxLength":255,"type":"string"},"locality":{"maxLength":255,"type":"string"},"active":{"type":"boolean"},"city":{"maxLength":255,"type":"string"},"mvz":{"maxLength":255,"type":"string"},"address":{"maxLength":255,"type":"string"},"allDay":{"type":"boolean"},"latitude":{"maximum":90,"minimum":-90,"type":"number","format":"double"},"longitude":{"maximum":180,"minimum":-180,"type":"number","format":"double"},"director":{"$ref":"#/components/schemas/UserDto"},"cluster":{"$ref":"#/components/schemas/RegionDto"},"division":{"$ref":"#/components/schemas/DivisionDto"},"timeZoneId":{"maxLength":255,"type":"string"}},"additionalProperties":false},"OrgstructUsersFilter":{"type":"object","properties":{"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"businessDirIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"loginOrLastNameLike":{"maxLength":255,"type":"string"},"roles":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"excludeCurrentUser":{"type":"boolean"},"excludeLevel":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["COMPANY","DIVISION","REGION","SHOP"]},"maxItems":1000},"activeOnly":{"type":"boolean"}},"additionalProperties":false},"MVZMappingDTO":{"type":"object","properties":{"id":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"infoSystemId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"name":{"maxLength":255,"type":"string"},"code":{"maxLength":255,"type":"string"},"mvzCode":{"maxLength":255,"type":"string"},"mvzName":{"maxLength":255,"type":"string"},"startDate":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"endDate":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"},"modifiedBy":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"modifiedAt":{"pattern":"^[0-9]{4}-((0[1-9])|(1[0-2]))-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(()|(.[0-9]{1,6})(Z|([+-](0[0-9]|1[0-2]):([0-5][0-9])))|(.[0-9]{1,6}))$","type":"string","format":"date-time"}},"additionalProperties":false},"AllHierarchyDTO":{"type":"object","properties":{"divisions":{"type":"object","maxProperties":255,"additionalProperties":{"maxLength":255,"type":"string"}},"clusters":{"type":"object","maxProperties":255,"additionalProperties":{"maxLength":255,"type":"string"}},"shops":{"type":"object","maxProperties":255,"additionalProperties":{"maxLength":255,"type":"string"}}},"additionalProperties":false},"GroupFilter":{"type":"object","properties":{"ids":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"fields":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"name":{"maxLength":255,"type":"string"},"userId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"skipUserId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"businessDirIds":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000}},"additionalProperties":false},"DivisionFilter":{"type":"object","properties":{"ids":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"maxItems":1000},"active":{"type":"boolean"},"nameLike":{"maxLength":255,"type":"string"},"userId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"businessDirId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"shopId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"searchString":{"maxLength":255,"type":"string"},"fields":{"uniqueItems":true,"type":"array","items":{"maxLength":255,"type":"string"},"maxItems":1000},"withDirs":{"type":"boolean","deprecated":true}},"additionalProperties":false},"ObjectsCounters":{"type":"object","properties":{"divisions":{"maximum":9223372036854775807,"minimum":0,"type":"integer","format":"int64"},"regions":{"maximum":9223372036854775807,"minimum":0,"type":"integer","format":"int64"},"shops":{"maximum":9223372036854775807,"minimum":0,"type":"integer","format":"int64"}},"additionalProperties":false},"BusinessDirFilter":{"type":"object","properties":{"ids":{"uniqueItems":true,"type":"array","items":{"maximum":2147483647,"minimum":0,"type":"integer","format":"int32"},"maxItems":1000},"nameLike":{"maxLength":255,"type":"string"}},"additionalProperties":false},"ProcessHierarchyDTO":{"type":"object","properties":{"process":{"maxProperties":255,"type":"object","additionalProperties":{"maxLength":255,"type":"string"}},"template":{"maxProperties":255,"type":"object","additionalProperties":{"maxLength":255,"type":"string"}}},"additionalProperties":false},"import_values_body":{"type":"object","properties":{"file":{"type":"string","format":"binary","maxLength":255}},"additionalProperties":false},"mapping_import_body":{"type":"object","properties":{"file":{"type":"string","format":"binary","maxLength":255}},"additionalProperties":false}},"securitySchemes":{"EpaAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}