{"openapi":"3.0.1","info":{"title":"Sphere API","description":"Sphere API documentation","termsOfService":"","contact":{"name":"","url":"","email":""},"license":{"name":"unlicensed","url":""},"version":"0.0.1"},"servers":[{"url":"http://sfr-control.kz","description":"Generated server url"}],"paths":{"/api/client-portal-news/{id}":{"get":{"tags":["client-portal-news-controller"],"operationId":"getById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientPortalNews"}}}}}},"put":{"tags":["client-portal-news-controller"],"operationId":"update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalNews"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientPortalNews"}}}}}},"delete":{"tags":["client-portal-news-controller"],"operationId":"delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/client-portal-main-page/{id}":{"put":{"tags":["client-portal-main-page-controller"],"operationId":"updateMainPage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalMainPage"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientPortalMainPage"}}}}}}},"/api/admin/users":{"get":{"tags":["user-resource"],"operationId":"getAllUsers","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"login","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminUserDTO"}}}}}}},"put":{"tags":["user-resource"],"operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AdminUserDTO"}}}}}},"post":{"tags":["user-resource"],"operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/admin/licenses/{userId}":{"get":{"tags":["license-admin-resource"],"operationId":"getUserLicense","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}},"put":{"tags":["license-admin-resource"],"operationId":"updateUserLicense","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/admin/licenses/demo-limits/{id}":{"put":{"tags":["license-admin-resource"],"operationId":"updateDemoLimit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoLimits"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DemoLimits"}}}}}}},"/api/save-request":{"post":{"tags":["request-resource"],"operationId":"requestPasswordReset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestDTO"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/reports/validate-sql":{"post":{"tags":["report-query-controller"],"operationId":"validateSql","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportQueryRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/reports/execute-query":{"post":{"tags":["report-query-controller"],"operationId":"executeQuery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportQueryRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/register":{"post":{"tags":["account-resource"],"operationId":"registerAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserVM"}}},"required":true},"responses":{"201":{"description":"Created"}}}},"/api/logout":{"post":{"tags":["user-jwt-controller"],"operationId":"logout","responses":{"200":{"description":"OK"}}}},"/api/files":{"post":{"tags":["file-controller"],"operationId":"saveFile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"integer","format":"int64"}}}}}}},"/api/client-portal-news":{"get":{"tags":["client-portal-news-controller"],"operationId":"getAll","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientPortalNewsShortDTO"}}}}}}},"post":{"tags":["client-portal-news-controller"],"operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalNews"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientPortalNews"}}}}}}},"/api/client-portal-main-page":{"get":{"tags":["client-portal-main-page-controller"],"operationId":"getMainPage","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientPortalMainPage"}}}}}},"post":{"tags":["client-portal-main-page-controller"],"operationId":"createMainPage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalMainPage"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientPortalMainPage"}}}}}}},"/api/client-portal-docs":{"get":{"tags":["client-portal-docs-controller"],"operationId":"getAllClientPortalDocs","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientPortalDocs"}}}}}}},"post":{"tags":["client-portal-docs-controller"],"operationId":"saveClientPortalDoc","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalDocsDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"integer","format":"int64"}}}}}}},"/api/authenticate":{"get":{"tags":["account-resource"],"operationId":"isAuthenticated","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}},"post":{"tags":["user-jwt-controller"],"operationId":"authorize","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginVM"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/JWTToken"}}}}}}},"/api/admin/users/{login}/reset-password":{"post":{"tags":["user-resource"],"operationId":"resetUserPassword","parameters":[{"name":"login","in":"path","required":true,"schema":{"pattern":"^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminPasswordResetVM"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/admin/users/{login}/change-password":{"post":{"tags":["user-resource"],"operationId":"changeUserPassword","parameters":[{"name":"login","in":"path","required":true,"schema":{"pattern":"^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeDTO"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/admin/licenses/demo-limits":{"get":{"tags":["license-admin-resource"],"operationId":"getDemoLimits_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DemoLimits"}}}}}}},"post":{"tags":["license-admin-resource"],"operationId":"createDemoLimit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoLimits"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DemoLimits"}}}}}}},"/api/account":{"get":{"tags":["account-resource"],"operationId":"getAccount","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AdminUserDTO"}}}}}},"post":{"tags":["account-resource"],"operationId":"saveAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDTO"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/account/reset-password/init":{"post":{"tags":["account-resource"],"operationId":"requestPasswordReset_1","requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/account/reset-password/finish":{"post":{"tags":["account-resource"],"operationId":"finishPasswordReset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyAndPasswordVM"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/account/password-new-reset":{"post":{"tags":["account-resource"],"operationId":"finishPasswordNewReset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrentAndNewPasswordVM"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/account/change-password":{"post":{"tags":["account-resource"],"operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeDTO"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/users":{"get":{"tags":["public-user-resource"],"operationId":"getAllPublicUsers","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDTO"}}}}}}}},"/api/reports/schema/tables":{"get":{"tags":["report-query-controller"],"operationId":"getTables","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableInfo"}}}}}}}},"/api/reports/health":{"get":{"tags":["report-query-controller"],"operationId":"health","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/api/quota/usage-log":{"get":{"tags":["quota-resource"],"operationId":"getUsageLog","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"resourceType","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuotaUsageLog"}}}}}}}},"/api/quota/nsi-categories":{"get":{"tags":["quota-resource"],"operationId":"getNsiCategories","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NsiCategory"}}}}}}}},"/api/quota/limits":{"get":{"tags":["quota-resource"],"operationId":"getLimits","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/quota/demo-limits":{"get":{"tags":["quota-resource"],"operationId":"getDemoLimits","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DemoLimits"}}}}}}}},"/api/gateway/routes":{"get":{"tags":["gateway-resource"],"operationId":"activeRoutes","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RouteVM"}}}}}}}},"/api/files/{id}":{"get":{"tags":["file-controller"],"operationId":"getFileById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/File"}}}}}}},"/api/client-portal-news/preview/{id}":{"get":{"tags":["client-portal-news-controller"],"operationId":"getPreviewImageAsBase64","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/client-portal-news/main/{id}":{"get":{"tags":["client-portal-news-controller"],"operationId":"getMainImageAsBase64","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/client-portal-news/latest":{"get":{"tags":["client-portal-news-controller"],"operationId":"getLatest","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientPortalNewsShortDTO"}}}}}}}},"/api/client-portal-docs/{id}":{"get":{"tags":["client-portal-docs-controller"],"operationId":"getClientPortalDocById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientPortalDocs"}}}}}},"delete":{"tags":["client-portal-docs-controller"],"operationId":"deleteClientPortalDoc","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"}}}},"/api/authorities":{"get":{"tags":["public-user-resource"],"operationId":"getAuthorities","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"type":"string"}}}}}}}},"/api/admin/users/{login}":{"get":{"tags":["user-resource"],"operationId":"getUser","parameters":[{"name":"login","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AdminUserDTO"}}}}}},"delete":{"tags":["user-resource"],"operationId":"deleteUser","parameters":[{"name":"login","in":"path","required":true,"schema":{"pattern":"^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$","type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/admin/licenses":{"get":{"tags":["license-admin-resource"],"operationId":"getAllUserLicenses","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"type":"object"}}}}}}}}},"/api/admin/licenses/modules":{"get":{"tags":["license-admin-resource"],"operationId":"getAvailableModules","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}},"/api/admin/licenses/license-types":{"get":{"tags":["license-admin-resource"],"operationId":"getLicenseTypes","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}},"/api/activate":{"get":{"tags":["account-resource"],"operationId":"activateAccount","parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/account/login-history":{"get":{"tags":["account-resource"],"operationId":"getLoginHistory","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LoginHistoryDTO"}}}}}}}},"/api/_search/users/{query}":{"get":{"tags":["public-user-resource"],"operationId":"search","parameters":[{"name":"query","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDTO"}}}}}}}}},"components":{"schemas":{"ClientPortalNews":{"required":["dateOfNews","mainText","title"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"mainText":{"type":"string"},"title":{"type":"string"},"mainPicture":{"type":"string"},"previewPicture":{"type":"string"},"fileId":{"type":"integer","format":"int64"},"dateOfNews":{"type":"string","format":"date"},"display":{"type":"boolean"}}},"ClientPortalMainPage":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"title":{"type":"string"},"titleDescription":{"type":"string"},"about":{"type":"string"},"about1":{"type":"string"},"about2":{"type":"string"},"contactWorkingTime":{"type":"string"},"contactPhoneNumber":{"type":"string"},"contactEmail":{"type":"string"},"address":{"type":"string"},"advantageTitle1":{"type":"string"},"advantageDescription1":{"type":"string"},"advantageTitle2":{"type":"string"},"advantageDescription2":{"type":"string"},"advantageTitle3":{"type":"string"},"advantageDescription3":{"type":"string"},"advantageTitle4":{"type":"string"},"advantageDescription4":{"type":"string"},"advantageTitle5":{"type":"string"},"advantageDescription5":{"type":"string"},"listOfAdvantagesExistingSystems":{"type":"string"},"listOfAdvantagesSphere":{"type":"string"}}},"AdminUserDTO":{"required":["login"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"login":{"maxLength":50,"minLength":1,"pattern":"^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$","type":"string"},"firstName":{"maxLength":50,"minLength":0,"type":"string"},"lastName":{"maxLength":50,"minLength":0,"type":"string"},"email":{"maxLength":254,"minLength":5,"type":"string"},"imageUrl":{"maxLength":256,"minLength":0,"type":"string"},"activated":{"type":"boolean"},"langKey":{"maxLength":10,"minLength":2,"type":"string"},"createdBy":{"type":"string"},"createdDate":{"type":"string","format":"date-time"},"lastModifiedBy":{"type":"string"},"lastModifiedDate":{"type":"string","format":"date-time"},"authorities":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"licenseNumber":{"type":"string"},"licenseStartDate":{"type":"string","format":"date"},"licenseExpirationDate":{"type":"string","format":"date"},"mustChangePassword":{"type":"boolean"}}},"DemoLimits":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"resourceType":{"type":"string"},"maxCount":{"type":"integer","format":"int32"},"description":{"type":"string"}}},"RequestDTO":{"type":"object","properties":{"fio":{"type":"string"},"phoneNumber":{"type":"integer","format":"int64"},"email":{"type":"string"},"comment":{"type":"string"}}},"ReportQueryRequest":{"type":"object","properties":{"sql":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"type":"object"}}}},"ManagedUserVM":{"required":["login"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"login":{"maxLength":50,"minLength":1,"pattern":"^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$","type":"string"},"firstName":{"maxLength":50,"minLength":0,"type":"string"},"lastName":{"maxLength":50,"minLength":0,"type":"string"},"email":{"maxLength":254,"minLength":5,"type":"string"},"imageUrl":{"maxLength":256,"minLength":0,"type":"string"},"activated":{"type":"boolean"},"langKey":{"maxLength":10,"minLength":2,"type":"string"},"createdBy":{"type":"string"},"createdDate":{"type":"string","format":"date-time"},"lastModifiedBy":{"type":"string"},"lastModifiedDate":{"type":"string","format":"date-time"},"authorities":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"licenseNumber":{"type":"string"},"licenseStartDate":{"type":"string","format":"date"},"licenseExpirationDate":{"type":"string","format":"date"},"mustChangePassword":{"type":"boolean"},"password":{"maxLength":100,"minLength":4,"type":"string"}}},"FileDTO":{"type":"object","properties":{"base64":{"type":"string"},"typeOfFile":{"type":"string"}}},"ClientPortalDocsDTO":{"type":"object","properties":{"title":{"type":"string"},"display":{"type":"boolean"},"fileId":{"type":"integer","format":"int64"}}},"LoginVM":{"required":["password","username"],"type":"object","properties":{"username":{"maxLength":50,"minLength":1,"type":"string"},"password":{"maxLength":100,"minLength":1,"type":"string"},"rememberMe":{"type":"boolean"}}},"JWTToken":{"type":"object","properties":{"id_token":{"type":"string"}}},"User":{"required":["activated","login"],"type":"object","properties":{"createdBy":{"type":"string"},"createdDate":{"type":"string","format":"date-time"},"lastModifiedBy":{"type":"string"},"lastModifiedDate":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"login":{"maxLength":50,"minLength":1,"pattern":"^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$","type":"string"},"firstName":{"maxLength":50,"minLength":0,"type":"string"},"lastName":{"maxLength":50,"minLength":0,"type":"string"},"email":{"maxLength":254,"minLength":5,"type":"string"},"activated":{"type":"boolean"},"langKey":{"maxLength":10,"minLength":2,"type":"string"},"imageUrl":{"maxLength":256,"minLength":0,"type":"string"},"resetDate":{"type":"string","format":"date-time"},"licenseNumber":{"type":"string"},"licenseStartDate":{"type":"string","format":"date"},"licenseExpirationDate":{"type":"string","format":"date"},"licenseType":{"type":"string"},"failedAttempts":{"type":"integer","format":"int32"},"mustChangePassword":{"type":"boolean"}}},"AdminPasswordResetVM":{"required":["newPassword"],"type":"object","properties":{"newPassword":{"maxLength":100,"minLength":4,"type":"string"}}},"PasswordChangeDTO":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"}}},"KeyAndPasswordVM":{"type":"object","properties":{"key":{"type":"string"},"newPassword":{"type":"string"}}},"CurrentAndNewPasswordVM":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"}}},"UserDTO":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"login":{"type":"string"}}},"TableInfo":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"remarks":{"type":"string"}}},"QuotaUsageLog":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"userId":{"type":"integer","format":"int64"},"resourceType":{"type":"string"},"objectId":{"type":"integer","format":"int64"},"currentCount":{"type":"integer","format":"int32"},"maxAllowed":{"type":"integer","format":"int32"},"action":{"type":"string"},"result":{"type":"string"},"requestPath":{"type":"string"},"createdDate":{"type":"string","format":"date-time"}}},"NsiCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"code":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"parentId":{"type":"integer","format":"int64"},"sortOrder":{"type":"integer","format":"int32"}}},"RouteVM":{"type":"object","properties":{"path":{"type":"string"},"serviceId":{"type":"string"},"serviceInstances":{"type":"array","items":{"$ref":"#/components/schemas/ServiceInstance"}}}},"ServiceInstance":{"type":"object","properties":{"scheme":{"type":"string"},"host":{"type":"string"},"port":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"instanceId":{"type":"string"},"secure":{"type":"boolean"},"uri":{"type":"string","format":"uri"},"serviceId":{"type":"string"}}},"File":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"base64":{"type":"string"},"typeOfFile":{"type":"string"}}},"ClientPortalNewsShortDTO":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"mainText":{"type":"string"},"title":{"type":"string"},"dateOfNews":{"type":"string","format":"date"},"display":{"type":"boolean"},"fileId":{"type":"integer","format":"int64"}}},"ClientPortalDocs":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"title":{"type":"string"},"display":{"type":"boolean"},"fileId":{"type":"integer","format":"int64"}}},"LoginHistoryDTO":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"login":{"type":"string"},"ip":{"type":"string"},"action":{"type":"string"},"createdDate":{"type":"string","format":"date-time"}}}}}}