Warning: file_get_contents(/var/local/ehome//src/Request.php): failed to open stream: No such file or directory in /var/www/ehome/vendor/zircote/swagger-php/src/StaticAnalyser.php on line 32

Notice: @SWG\Property()->required is a "boolean", expecting a "[string]" in /var/local/ehome//src/routes.php on line 3 in /var/www/ehome/vendor/zircote/swagger-php/src/Logger.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ehome/vendor/zircote/swagger-php/src/StaticAnalyser.php:32) in /var/www/ehome/index.php on line 4
{ "swagger": "2.0", "info": { "title": "\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u044b\u0439 \u0434\u043e\u043c API", "license": { "name": "Apache" }, "version": "1.1" }, "host": "df-new.feelinhome.ru", "basePath": "/ehome", "schemes": [ "http", "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/master/token": { "post": { "tags": [ "client" ], "summary": "Add a new client", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0443", "operationId": "genToken", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043a\u0435\u043d", "required": true, "schema": { "$ref": "#/definitions/ClientGetNewToken" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/ClientNewToken" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/connect/token": { "post": { "tags": [ "client" ], "summary": "Add a new client", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0443", "operationId": "genToken", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "Master-t\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043a\u0435\u043d", "required": true, "schema": { "$ref": "#/definitions/ClientGetNewToken" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/ClientNewToken" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/client": { "post": { "tags": [ "client" ], "summary": "Add a new client", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0443", "operationId": "addClient", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/ClientNew" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/ClientItems" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/users": { "post": { "tags": [ "client" ], "summary": "Add a new TechUser", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0431\u0430\u0437\u0443", "operationId": "addTechUser", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u0422\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/TechUserCreate" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "required": [ "id", "type", "status_type", "login", "mos_sso_id", "access_room_ids" ], "properties": { "data": { "properties": { "access_room_ids": { "description": "\u041c\u0430\u0441\u0441\u0438\u0432 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0448\u0430\u0433\u0435 2.", "type": "array" }, "id": { "description": "ID", "type": "integer" }, "login": { "description": "\u041b\u043e\u0433\u0438\u043d \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "dfhakhzkka-6812hd" }, "mos_sso_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 mos.ru", "type": "string", "example": "1234567890" }, "status_type": { "description": "\u0421\u0442\u0430\u0442\u0443\u0441 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "active" }, "type": { "description": "\u0420\u043e\u043b\u044c \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u042d\u0414", "type": "string", "example": "master" } }, "type": "object" } } } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/intercom/{number}/flat/{flat}/key": { "post": { "tags": [ "intercom" ], "summary": "Add a new key intercom and flat", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u043f\u043e \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u0438 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443 \u0432 \u0431\u0430\u0437\u0443", "operationId": "addKeyIntercomFlat", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "number", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "required": true, "type": "string" }, { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 Key, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/ClientNewKey" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Key" } }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/intercom/{number_rt}/rtsp": { "post": { "tags": [ "intercom" ], "summary": "Add rtsp intercom to stream server", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 rtsp \u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e-\u0441\u0435\u0440\u0432\u0435\u0440", "operationId": "addIntercomRtspToStreamServer", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "number", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "body", "in": "body", "description": "\u041e\u0431\u044a\u0435\u043a\u0442 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/IntercomRtspNew" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/IntercomRtspItems" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/intercom/{number}/flat/{flat}/sip/{sip_number}": { "post": { "tags": [ "intercom" ], "summary": "Add a new sip and sip_trank client", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0438\u043f-\u043d\u043e\u043c\u0435\u0440\u0430 \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0438\u043f-\u0442\u0440\u0430\u043d\u043a\u0430, \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430\u043c \u0432 \u0431\u0430\u0437\u0443", "operationId": "addSipTrankFlat", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "number", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "required": true, "type": "string" }, { "name": "sip_number", "in": "path", "description": "\u0421\u0438\u043f \u043d\u043e\u043c\u0435\u0440", "required": true, "type": "string" }, { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 Sip, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/IntercomNewSip" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Key" } }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/intercom/{number}/flat/{flat}/pinCode": { "get": { "tags": [ "intercoms" ], "summary": "Get client of intercom end flat", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0435 \u043a\u043e\u0434\u044b \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u043d\u0430 \u044d\u0442\u043e\u043c \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435", "operationId": "getPinCodeClientIntercomFlat", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "number", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u0430 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/PinCode" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } }, "post": { "tags": [ "intercom" ], "summary": "Add a new pinCode to flat", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e pinCode \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430\u043c \u0432 \u0431\u0430\u0437\u0443", "operationId": "addPinCodeFlat", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "number", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "required": true, "type": "string" }, { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 pinCode, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/IntercomNewPinCodeFlat" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Key" } }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } }, "delete": { "tags": [ "intercom" ], "summary": "Delete pinCode", "description": "\u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 pinCode", "operationId": "deletePinCode", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "number", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u0430 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443", "required": true, "type": "string" } ], "responses": { "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" } } } }, "/intercoms/{UNOM}/flat_id/{flat_id}/pinCode/{codeType}": { "get": { "tags": [ "intercoms" ], "summary": "Get client of address UNOM and flat_id", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0435 \u043a\u043e\u0434\u044b \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u043d\u0430 \u0430\u0434\u0440\u0435\u0441\u0435 UNOM", "operationId": "getPinCodeClientUNOMFlatID", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "UNOM", "in": "path", "description": "\u0423\u0447\u0451\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 \u0411\u0422\u0418 (\u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b)", "required": true, "type": "integer", "format": "int32" }, { "name": "codeType", "in": "path", "description": "\u0422\u0438\u043f \u043f\u0438\u043d-\u043a\u043e\u0434\u0430", "required": true, "type": "string" }, { "name": "flat_id", "in": "path", "description": "ID \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0430 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 UNOM", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/PinCode" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/devices/codes": { "get": { "tags": [ "intercoms" ], "summary": "Get client of address UNOM and flat_id", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0435 \u043a\u043e\u0434\u044b \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u043d\u0430 \u0430\u0434\u0440\u0435\u0441\u0435 UNOM", "operationId": "getPinCodeClientUNOMFlatIDDevices", "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u0422\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "code_types", "in": "query", "description": "\u0422\u0438\u043f \u043f\u0438\u043d-\u043a\u043e\u0434\u0430", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/PinCode" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } }, "post": { "tags": [ "intercoms" ], "summary": "Create Pin-code", "description": "\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u041f\u0438\u043d-\u043a\u043e\u0434\u0430", "operationId": "createPinCode", "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u0422\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "body", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 pinCode, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/PinCodeNew" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/PinCodeItems" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/devices/codes/{code_id}": { "delete": { "tags": [ "intercoms" ], "summary": "Delete pinCode", "description": "\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 pinCode", "operationId": "deletePinCode", "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u0422\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "code_id", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043e\u0434\u0430 \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438" }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/flat_id/{flat_id}/pinCode": { "post": { "tags": [ "intercom" ], "summary": "Add a new pinCode to flat", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e pinCode \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430\u043c \u0432 \u0431\u0430\u0437\u0443", "operationId": "addPinCodeFlat", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "flat_id", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "integer", "format": "int32" }, { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "deviceStatuses", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 pinCode, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/deviceStatuses" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Key" } }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "intercoms/flat_id/{flat_id}/pinCode": { "post": { "tags": [ "intercoms" ], "summary": "Add a new UNOM pinCode to flat", "description": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e pinCode \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430\u043c \u0432 \u0431\u0430\u0437\u0443", "operationId": "addUNOMPinCodeFlat", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "flat_id", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "integer", "format": "int32" }, { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "deviceStatuses", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 pinCode, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u0443", "required": true, "schema": { "$ref": "#/definitions/deviceStatuses" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Key" } }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438" } } } }, "/intercoms/{UNOM}/flat_id/{flat_id}/pinCode": { "delete": { "tags": [ "intercoms" ], "summary": "Delete pinCode UNOM", "description": "\u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 pinCode UNOM", "operationId": "deletePinCodeUNOM", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "UNOM", "in": "path", "description": "\u0423\u0447\u0451\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 \u0411\u0422\u0418 (\u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b)", "required": true, "type": "integer", "format": "int32" }, { "name": "flat_id", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "integer", "format": "int32" }, { "name": "pinCodeDel", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 pinCodeDel, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c\u044b\u0439 \u043f\u0438\u043a\u043e\u0434", "required": true, "schema": { "$ref": "#/definitions/pinCodeDel" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Key" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" } } } }, "/intercom/stat": { "get": { "tags": [ "intercom" ], "summary": "Get all statistic intercoms end clients", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043f\u043e \u0432\u0441\u0435\u043c \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430\u043c \u043e \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0438 \u043d\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043b\u044e\u0447\u0435\u0439 ", "operationId": "getClientIntercomFlat", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/StatsIntercomAll" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" } } } }, "/intercom/{id}/stat": { "get": { "tags": [ "intercom" ], "summary": "Get statistic intercom", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0438\u044f \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "operationId": "getIntercomStat", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "id", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/IntercomStat" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" } } } }, "/client/{rt_id}/intercom/stat": { "get": { "tags": [ "client" ], "summary": "Get all statistic intercoms client", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043f\u043e \u0432\u0441\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0430 ", "operationId": "getClientIntercomFlat", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "rt_id", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/StatsIntercomAllClient" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" } } } }, "/intercom/{number_rt}/flat/{flat}": { "get": { "tags": [ "intercom" ], "summary": "Get client of intercom end flat", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0434\u043e\u043c\u0444\u043e\u043d\u0435 \u0438 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435", "operationId": "getClientIntercomFlat", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "number_rt", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u0430 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Client" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/intercom/{number}/flat/{flat}/devices": { "get": { "tags": [ "intercom" ], "summary": "Get devices client of intercom end flat", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0434\u043e\u043c\u0444\u043e\u043d\u0435 \u0438 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435", "operationId": "getDevicesClientIntercomFlat", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "number", "in": "path", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u0430 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Devices" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/devices": { "get": { "tags": [ "intercoms" ], "summary": "Get devices client of intercom end flat", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0434\u043e\u043c\u0444\u043e\u043d\u0435 \u0438 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435", "operationId": "getDevicesClientIntercomFlat", "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u0422\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "ids", "in": "query", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432", "type": "string" }, { "name": "device_types", "in": "query", "description": "\u0422\u0438\u043f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. intercom,gate \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e", "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Devices" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/intercom/city/{city}/street/{street}/house/{house}/korp/{korp}/entrance/{entrance}/flats": { "get": { "tags": [ "intercom" ], "summary": "Get flat of city and street and house and korp and entrance", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u0432\u0430\u0440\u0442\u0438\u0440 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 ", "operationId": "getClientIntercomFlat", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "city", "in": "path", "description": "\u0433\u043e\u0440\u043e\u0434", "required": true, "type": "string" }, { "name": "street", "in": "path", "description": "\u0443\u043b\u0438\u0446\u0430", "required": true, "type": "string" }, { "name": "house", "in": "path", "description": "\u043d\u043e\u043c\u0435\u0440 \u0434\u043e\u043c\u0430", "required": true, "type": "string" }, { "name": "korp", "in": "path", "description": "\u043a\u043e\u0440\u043f\u0443\u0441", "type": "string" }, { "name": "entrance", "in": "path", "description": "\u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0434\u044a\u0435\u0437\u0434\u0430 \u0438\u043b\u0438 \u0432\u0445\u043e\u0434\u0430", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Flats" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/intercoms/{UNOM}/flats": { "get": { "tags": [ "intercoms" ], "summary": "Get flats of UNOM", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u0432\u0430\u0440\u0442\u0438\u0440 \u043f\u043e UNOM ", "operationId": "getClientsIntercomsFlatsUNOM", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "UNOM", "in": "path", "description": "\u0423\u0447\u0451\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 \u0411\u0422\u0418 (\u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b)", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Flats" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/flatgramms/rooms": { "get": { "tags": [ "intercoms" ], "summary": "Get flats of UNOM", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u0432\u0430\u0440\u0442\u0438\u0440 \u043f\u043e UNOM ", "operationId": "getFlatsUNOM", "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u041c\u0430\u0441\u0442\u0435\u0440 \u0442\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "unoms", "in": "query", "description": "\u0423\u0447\u0451\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 \u0411\u0422\u0418 (\u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b)", "required": true, "type": "integer", "format": "int32" }, { "name": "numbers", "in": "query", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Flats" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/flatgramms/rooms_new": { "get": { "tags": [ "intercoms" ], "summary": "Get flats of UNOM ", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u0432\u0430\u0440\u0442\u0438\u0440 \u043f\u043e UNOM new ", "operationId": "getFlatsUNOM_new", "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u041c\u0430\u0441\u0442\u0435\u0440 \u0442\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "unoms", "in": "query", "description": "\u0423\u0447\u0451\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 \u0411\u0422\u0418 (\u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b)", "required": true, "type": "integer", "format": "int32" }, { "name": "numbers", "in": "query", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Flats" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/intercoms/{UNOM}/flat/{flat}": { "get": { "tags": [ "intercoms" ], "summary": "Get flat of UNOM", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0443 \u043f\u043e UNOM ", "operationId": "getClientIntercomFlatUNOM", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "UNOM", "in": "path", "description": "\u0423\u0447\u0451\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 \u0411\u0422\u0418 (\u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b)", "required": true, "type": "integer", "format": "int32" }, { "name": "flat", "in": "path", "description": "\u043d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Flats" } }, "400": { "description": "\u041d\u0435\u0442 ID" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/intercom/type": { "get": { "tags": [ "intercom" ], "summary": "Get all types of intercom", "description": "\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0438\u043f\u043e\u0432 \u0434\u043e\u043c\u0444\u043e\u043d\u043e\u0432", "operationId": "getListTypesIntercom", "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Types" } }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" } } } }, "/intercom/{number}/flat/{flat}/open": { "get": { "tags": [ "intercom" ], "summary": "Open intercom flat", "description": "\u041e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0438 \u0438\u043d\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "operationId": "OpenIntercomFlat", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "login", "in": "query", "description": "\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "required": true, "type": "string" }, { "name": "password", "in": "query", "description": "\u043f\u0430\u0440\u043e\u043b\u044c", "required": true, "type": "string" }, { "name": "number", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "required": true, "type": "string" }, { "name": "flat", "in": "path", "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u0430 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443", "required": true, "type": "string" } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Open" } }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } }, "/devices/commands/open": { "post": { "tags": [ "intercoms" ], "summary": "Open intercom ID", "description": "\u041e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 ID \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 ", "operationId": "OpenIntercomID", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "token", "in": "query", "description": "\u0422\u043e\u043a\u0435\u043d", "type": "string" }, { "name": "ids", "in": "query", "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u044f\u0442\u044b\u043c\u0438.", "required": true, "type": "string" }, { "name": "relays", "in": "body", "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0434\u0432\u0435\u0440\u0438", "required": true, "schema": { "$ref": "#/definitions/relays" } } ], "responses": { "200": { "description": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "schema": { "$ref": "#/definitions/Open" } }, "404": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430" }, "403": { "description": "\u043d\u0435 \u0432\u0435\u0440\u043d\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435" }, "405": { "description": "\u041d\u0435\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430" } } } } }, "definitions": { "ClientItems": { "type": "array", "items": { "$ref": "#/definitions/ClientItem" } }, "Keys": { "type": "array", "items": { "$ref": "#/definitions/Key" } }, "EntityItems": { "type": "array", "items": { "$ref": "#/definitions/EntityItem" } }, "IntercomItems": { "type": "array", "items": { "$ref": "#/definitions/IntercomItem" } }, "IntercomRtspItems": { "type": "array", "items": { "$ref": "#/definitions/IntercomRtspItem" } }, "StatsIntercomAll": { "type": "array", "items": { "$ref": "#/definitions/StatsIntercom" } }, "StatsIntercomAllClient": { "type": "array", "items": { "$ref": "#/definitions/StatsIntercomClient" } }, "ClientItem": { "required": [ "id", "last_name", "first_name", "father_name", "phone", "date_reg", "email", "fio_dog", "phone_dog", "dog_exist", "act", "rt_id", "number_rt", "uk", "services", "addresses" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "last_name": { "description": "\u0424\u0430\u043c\u0438\u043b\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432" }, "first_name": { "description": "\u0418\u043c\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0418\u0432\u0430\u043d" }, "father_name": { "description": "\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0424\u0435\u0434\u043e\u0440\u043e\u0432\u0438\u0447" }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "date_reg": { "description": "\u0412\u0440\u0435\u043c\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "format": "date-time", "example": "2016-08-24T00:00:00.000Z" }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" }, "fio_dog": { "description": "\u0424\u0418\u041e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432 \u0418.\u0424." }, "phone_dog": { "description": "\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "1234567890" }, "dog_exist": { "description": "\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0441 \u044d\u0442\u043e\u0439 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u043e\u0439 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" }, "uk": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438", "type": "string", "example": "\u0421\u0442\u0440\u0430\u0436\u0423\u041a" }, "services": { "description": "\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435 \u0443\u0441\u043b\u0443\u0433\u0438", "type": "array", "items": { "$ref": "#/definitions/Service" } }, "addresses": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433\u043e\u0439, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e", "type": "array", "items": { "$ref": "#/definitions/Address" } } }, "type": "object" }, "TechUserCreate": { "required": [ "id", "type", "status_type", "login", "mos_sso_id", "access_room_ids" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": 777 }, "type": { "description": "\u0420\u043e\u043b\u044c \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u042d\u0414", "type": "string", "example": "master" }, "status_type": { "description": "\u0421\u0442\u0430\u0442\u0443\u0441 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "active" }, "login": { "description": "\u041b\u043e\u0433\u0438\u043d \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "TechUser_33" }, "mos_sso_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 mos.ru", "type": "string", "example": "11222333" }, "access_room_ids": { "description": "\u041c\u0430\u0441\u0441\u0438\u0432 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0448\u0430\u0433\u0435 1.", "type": "array", "items": { "type": "integer" }, "example": "[1,2,3,4]" } }, "type": "object" }, "TechUserItem": { "required": [ "id", "type", "status_type", "login", "mos_sso_id", "access_room_ids" ], "properties": { "data": { "properties": { "access_room_ids": { "description": "\u041c\u0430\u0441\u0441\u0438\u0432 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0448\u0430\u0433\u0435 2.", "type": "array" }, "id": { "description": "ID", "type": "integer" }, "login": { "description": "\u041b\u043e\u0433\u0438\u043d \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "dfhakhzkka-6812hd" }, "mos_sso_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 mos.ru", "type": "string", "example": "1234567890" }, "status_type": { "description": "\u0421\u0442\u0430\u0442\u0443\u0441 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "active" }, "type": { "description": "\u0420\u043e\u043b\u044c \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u042d\u0414", "type": "string", "example": "master" } }, "type": "object" } }, "type": "object" }, "Key": { "required": [ "id", "number", "rt_id", "name", "act", "send_email", "send_sms", "phone", "send_call", "code", "sip" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u044e\u0447\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "number": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "0013978703" }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "name": { "description": "\u0418\u043c\u044f \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "\u0417\u0435\u043b\u0435\u043d\u044b\u0439" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_email": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043f\u043e \u0435\u043c\u0430\u0439\u043b\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_sms": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 sms \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "send_call": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0437\u0432\u043e\u043d\u043e\u043a \u043d\u0430 \u0441\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "sip": { "description": "\u0421\u0418\u041f-\u043d\u043e\u043c\u0435\u0440 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u043a \u043a\u043b\u044e\u0447\u0443", "type": "string", "example": "1234567890" } }, "type": "object" }, "ClientPhoneEmail": { "required": [ "rt_id", "act", "email", "phone", "clientCode" ], "properties": { "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "clientCode": { "description": "\u041a\u043e\u0434 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u041b\u041a", "type": "string", "example": "1234567890" } }, "type": "object" }, "ClientNewKeySip": { "required": [ "number", "name", "act", "phone", "code", "sip", "sip_trank" ], "properties": { "number": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "0013978703" }, "name": { "description": "\u0418\u043c\u044f \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "\u0417\u0435\u043b\u0435\u043d\u044b\u0439" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "code": { "description": "\u041a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "1234" }, "sip": { "description": "\u041d\u043e\u043c\u0435\u0440 \u0441\u0438\u043f\u0430", "type": "string", "example": "1234" }, "sip_trank": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u043f-\u0442\u0440\u0430\u043d\u043a\u0430", "type": "string", "example": "ujin" } }, "type": "object" }, "ClientKeyNewConectIntercomItem": { "required": [ "id", "number", "rt_id", "number_rt", "send_email", "send_sms", "send_call", "send_mobile", "send_messangers", "send_analog" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0441\u0432\u044f\u0437\u043a\u0438 \u043a\u043b\u044e\u0447\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443, \u0441 \u0443\u0441\u043b\u0443\u0433\u0430\u043c\u0438 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "number": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "0013978703" }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" }, "send_email": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043f\u043e \u0435\u043c\u0430\u0439\u043b\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_sms": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 sms \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_call": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0437\u0432\u043e\u043d\u043e\u043a \u043d\u0430 \u0441\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_mobile": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0432\u044b\u0437\u043e\u0432 \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_messangers": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_analog": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0432\u044b\u0437\u043e\u0432 \u043d\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true } }, "type": "object" }, "ClientKeyNewConectIntercom": { "required": [ "send_email", "send_sms", "send_call", "send_mobile", "send_messangers", "send_analog" ], "properties": { "send_email": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043f\u043e \u0435\u043c\u0430\u0439\u043b\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_sms": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 sms \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_call": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0437\u0432\u043e\u043d\u043e\u043a \u043d\u0430 \u0441\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_mobile": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0432\u044b\u0437\u043e\u0432 \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_messangers": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "send_analog": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0432\u044b\u0437\u043e\u0432 \u043d\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true } }, "type": "object" }, "ClientNewKey": { "required": [ "number", "name", "act", "phone", "code" ], "properties": { "number": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "0013978703" }, "name": { "description": "\u0418\u043c\u044f \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "\u0417\u0435\u043b\u0435\u043d\u044b\u0439" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "code": { "description": "\u041a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "1234" } }, "type": "object" }, "PinCode": { "required": [ "id", "device_id", "expiresAt", "pinCode", "codeType", "roomId" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 PinCode \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "device_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430", "type": "string", "example": "0013978703" }, "expiresAt": { "description": "\u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f", "type": "string", "example": "2023-11-16T06:20:05.669Z" }, "pinCode": { "description": "\u041a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "1234" }, "codeType": { "description": "\u0422\u0438\u043f \u043a\u043e\u0434\u0430", "type": "string", "example": "temporary" }, "roomId": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "string", "example": "33" } }, "type": "object" }, "PinCodeNew": { "required": [ "code_type", "title", "subtitle", "room_id", "devices_ids", "expires_at", "code" ], "properties": { "devices_ids": { "description": "\u041c\u0430\u0441\u0441\u0438\u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432", "type": "array", "items": {} }, "expires_at": { "description": "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044f \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0438\u043d\u043a\u043e\u0434\u0430", "type": "string", "example": "2023-11-16T06:20:05.669Z" }, "title": { "description": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0434\u043b\u044f \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u041f\u0418\u041d-\u043a\u043e\u0434\u0430", "type": "string", "example": "\u041a\u0443\u0440\u044a\u0435\u0440" }, "subtitle": { "description": "\u041f\u043e\u0434\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u0438\u0437\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u041f\u0418\u041d-\u043a\u043e\u0434\u0430", "type": "string", "example": "\u041a\u0443\u0440\u044a\u0435\u0440,\u043f\u043e\u0441\u043b\u0435 17.00 " }, "code": { "description": "\u041a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "1234" }, "code_type": { "description": "\u0422\u0438\u043f \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043e\u0432. \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b: temporary, emergency", "type": "string", "example": "temporary" }, "room_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "integer", "format": "int32", "example": 3334 } }, "type": "object" }, "PinCodeItems": { "required": [ "id", "code", "code_type", "device_statuses", "devices_ids", "expires_at", "owner_user_id", "room_id", "subtitle", "title" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 PinCode \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "code_type": { "description": "\u0422\u0438\u043f \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043e\u0432. \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b: temporary, emergency", "type": "string", "example": "temporary" }, "code": { "description": "\u041a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430", "type": "string", "example": "1234" }, "title": { "description": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0434\u043b\u044f \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u041f\u0418\u041d-\u043a\u043e\u0434\u0430", "type": "string", "example": "\u041a\u0443\u0440\u044a\u0435\u0440" }, "subtitle": { "description": "\u041f\u043e\u0434\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u0438\u0437\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u041f\u0418\u041d-\u043a\u043e\u0434\u0430", "type": "string", "example": "\u041a\u0443\u0440\u044a\u0435\u0440,\u043f\u043e\u0441\u043b\u0435 17.00 " }, "expires_at": { "description": "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044f \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0438\u043d\u043a\u043e\u0434\u0430", "type": "string", "example": "2023-11-16T06:20:05.669Z" }, "room_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "integer", "format": "int32", "example": "3334" }, "devices_ids": { "description": "\u041c\u0430\u0441\u0441\u0438\u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432", "type": "array", "example": "00139,78703,21911" }, "owner_user_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0442\u0435\u0445. \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "integer", "format": "int32", "example": "3334" }, "device_statuses": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433\u043e\u0439, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e", "type": "array", "items": { "$ref": "#/definitions/device_statuses" } } }, "type": "object" }, "device_statuses": { "required": [ "device_id", "status", "status_message", "changed_at" ], "properties": { "device_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430", "type": "integer", "format": "int32", "example": "56" }, "status": { "description": "\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u0438\u043d\u043a\u043e\u0434\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b: pending_loading, loaded, pending_deleting, not_supported, not_recorded", "type": "string", "example": "pending_loading" }, "status_message": { "description": "\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u043f\u043e\u044f\u0441\u043d\u044f\u044e\u0449\u0435\u0435 \u0441\u0442\u0430\u0442\u0443\u0441", "type": "string", "example": "\u041e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043a\u043e\u0434\u0430 \u0432 \u0434\u043e\u043c\u043e\u0444\u043e\u043d" }, "changed_at": { "description": "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043c\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f", "type": "string", "example": "2024-07-16T09:28:42.071Z[UTC]" } }, "type": "object" }, "ClientSendPhoneEmail": { "required": [ "phone", "email", "act" ], "properties": { "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" } }, "type": "object" }, "ClientNewConect": { "required": [ "number_rt", "flat" ], "properties": { "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" }, "flat": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0436\u0438\u0432\u0430\u0435\u0442 \u043a\u043b\u0438\u0435\u043d\u0442", "type": "string", "example": "12" } }, "type": "object" }, "ClientNewConectItem": { "required": [ "id", "rt_id", "number_rt", "flat" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043e\u043d\u0435\u043a\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" }, "flat": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0436\u0438\u0432\u0430\u0435\u0442 \u043a\u043b\u0438\u0435\u043d\u0442", "type": "string", "example": "12" } }, "type": "object" }, "EntityItem": { "required": [ "rt_id", "name", "act", "addresses_rt", "phone", "email" ], "properties": { "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "name": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430", "type": "string", "example": "\u0423\u043f\u0440\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f" }, "loginUkAdmin": { "description": "\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438", "type": "string", "example": "adminEkatUk" }, "passwdUkAdmin": { "description": "\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438", "type": "string", "example": "hsdfalkjhsfa" }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "date_reg": { "description": "\u0412\u0440\u0435\u043c\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430", "type": "string", "format": "date-time", "example": "2016-08-24T00:00:00.000Z" }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043b\u0438\u0446\u043e \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "addresses_rt": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433\u043e\u0439, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e", "type": "array", "items": { "$ref": "#/definitions/Address_rt" } } }, "type": "object" }, "IntercomItem": { "required": [ "number_rt", "login", "act", "rt_id", "uk", "addresses_rt", "number" ], "properties": { "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" }, "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "integer", "format": "int32", "example": "10001077" }, "login": { "description": "\u041b\u043e\u0433\u0438\u043d \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430, \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0443", "type": "string", "example": "dfhgdkjfkh" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u0435\u043d \u0434\u043e\u043c\u043e\u0444\u043e\u043d", "type": "string", "example": "71111111112" }, "uk": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 (\u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430)", "type": "string", "example": "\u0421\u0440\u0430\u0436\u0423\u041a" }, "xmpp_login": { "description": "\u041b\u043e\u0433\u0438\u043d \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c xmpp", "type": "string", "example": "52007718@df.feelinhome.ru" }, "xmpp_password": { "description": "\u041f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c xmpp", "type": "string", "example": "fhgshadfh" }, "sip_login": { "description": "\u041b\u043e\u0433\u0438\u043d \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c asterisk", "type": "string", "example": "52007718@df.feelinhome.ru" }, "sip_password": { "description": "\u041f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c asterisk", "type": "string", "example": "fhgshadfh" }, "addresses_rt": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433\u043e\u0439", "type": "array", "items": { "$ref": "#/definitions/Address_rt" } }, "address_intercom": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433\u043e\u0439", "type": "array", "items": { "$ref": "#/definitions/Address_intercom" } } }, "type": "object" }, "Devices": { "required": [ "number", "comment", "uk", "address_intercom" ], "properties": { "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "integer", "format": "int32", "example": "10001077" }, "comment": { "description": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "string", "example": "\u041a\u0430\u043b\u0438\u0442\u043a\u0430" }, "uk": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 (\u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430)", "type": "string", "example": "\u0421\u0442\u0440\u0430\u0436\u0423\u041a" }, "address_intercom": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433\u043e\u0439", "type": "array", "items": { "$ref": "#/definitions/Address_intercom" } } }, "type": "object" }, "DevicesID": { "required": [ "ids", "device_types" ], "properties": { "ids": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440s \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432", "type": "array", "example": "00139,78703,21911" }, "device_types": { "description": "\u0422\u0438\u043f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u201cintercom,gate\u201d \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e", "type": "string", "example": "intercom" } }, "type": "object" }, "Data": { "required": [ "id" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "integer", "format": "int32", "example": "23377" } }, "type": "object" }, "IntercomRtspItem": { "required": [ "number_rt", "addresses_rtsp", "number", "name_streams" ], "properties": { "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" }, "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "integer", "format": "int32", "example": "10001077" }, "name_streams": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 rtsp \u043f\u043e\u0442\u043e\u043a\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435", "type": "string", "example": "10001077-streams" }, "addresses_streams": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 rtsp-\u043f\u043e\u0442\u043e\u043a\u0430", "type": "string", "example": "" }, "addresses_rtsp": { "description": "\u0410\u0434\u0440\u0435\u0441 rtsp-\u043f\u043e\u0442\u043e\u043a\u0430", "type": "string", "example": "rtsp://admin:admin@XXX.XXX.XXX.XXX:554/cam/realmonitor?channel=1&subtype=1" } }, "type": "object" }, "StatsIntercom": { "required": [ "number", "cities", "streets", "house", "uk", "comment", "korp", "entrance", "count_client", "count_client_act", "count_keys", "rtsp_stream" ], "properties": { "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "string", "example": "10001007" }, "cities": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u043e\u0440\u043e\u0434\u0430", "type": "string", "example": "\u0415\u043a\u0430\u0442\u0435\u0440\u0438\u043d\u0431\u0443\u0440\u0433" }, "streets": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043b\u0438\u0446\u044b", "type": "string", "example": "\u041b\u0435\u043d\u0438\u043d\u0430" }, "house": { "description": "\u041d\u043e\u043c\u0435\u0440 \u0434\u043e\u043c\u0430", "type": "string", "example": "24" }, "uk": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 (\u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430)", "type": "string", "example": "\u0421\u0442\u0440\u0430\u0436\u0423\u041a" }, "comment": { "description": "\u041a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438", "type": "string", "example": "\u0423\u0433\u043b\u043e\u0432\u043e\u0439" }, "korp": { "description": "\u041a\u043e\u0440\u043f\u0443\u0441", "type": "string", "example": "\u0410" }, "entrance": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043f\u043e\u0434\u044a\u0435\u0437\u0434\u0430", "type": "string", "example": "3" }, "count_client": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435", "type": "integer", "format": "int32", "example": "7" }, "count_client_act": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435 \u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432 \u041b\u041a", "type": "integer", "format": "int32", "example": "7" }, "count_keys": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u044e\u0447\u0435\u0439 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435", "type": "integer", "format": "int32", "example": "7" }, "rtsp_stream": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b rtsp \u043f\u043e\u0442\u043e\u043a\u0430", "type": "string", "example": "rtsp://admin:ch2605@192.168.126.66:554/cam/realmonitor?channel=1subtype=1" } }, "type": "object" }, "IntercomStat": { "required": [ "id", "number", "device_type", "status_type", "title", "cities", "streets", "house", "uk", "korp", "entrance", "count_client", "count_client_act", "count_keys", "rtsp_stream" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "423672" }, "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435", "type": "string", "example": "10001007" }, "device_type": { "description": "\u0422\u0438\u043f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430", "type": "string", "example": "intercom" }, "status_type": { "description": "\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430", "type": "string", "example": "online" }, "title": { "description": "\u041a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438", "type": "string", "example": "\u043a\u0430\u043b\u0438\u0442\u043a\u0430 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u041f\u044f\u0442\u0435\u0440\u043e\u0447\u043a\u0438" }, "cities": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u043e\u0440\u043e\u0434\u0430", "type": "string", "example": "\u0415\u043a\u0430\u0442\u0435\u0440\u0438\u043d\u0431\u0443\u0440\u0433" }, "streets": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043b\u0438\u0446\u044b", "type": "string", "example": "\u041b\u0435\u043d\u0438\u043d\u0430" }, "house": { "description": "\u041d\u043e\u043c\u0435\u0440 \u0434\u043e\u043c\u0430", "type": "string", "example": "24" }, "uk": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 (\u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430)", "type": "string", "example": "\u0421\u0442\u0440\u0430\u0436\u0423\u041a" }, "korp": { "description": "\u041a\u043e\u0440\u043f\u0443\u0441", "type": "string", "example": "\u0410" }, "entrance": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043f\u043e\u0434\u044a\u0435\u0437\u0434\u0430", "type": "string", "example": "3" }, "count_client": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435", "type": "integer", "format": "int32", "example": "7" }, "count_client_act": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435 \u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432 \u041b\u041a", "type": "integer", "format": "int32", "example": "7" }, "count_keys": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u044e\u0447\u0435\u0439 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435", "type": "integer", "format": "int32", "example": "7" }, "rtsp_stream": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b rtsp \u043f\u043e\u0442\u043e\u043a\u0430", "type": "string", "example": "rtsp://admin:ch2605@192.168.126.66:554/cam/realmonitor?channel=1subtype=1" } }, "type": "object" }, "StatsIntercomClient": { "required": [ "number", "cities", "streets", "house", "uk", "comment", "korp", "entrance", "flat", "count_client", "count_client_act", "count_keys", "rtsp_stream" ], "properties": { "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "string", "example": "10001007" }, "cities": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u043e\u0440\u043e\u0434\u0430", "type": "string", "example": "\u0415\u043a\u0430\u0442\u0435\u0440\u0438\u043d\u0431\u0443\u0440\u0433" }, "streets": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043b\u0438\u0446\u044b", "type": "string", "example": "\u041b\u0435\u043d\u0438\u043d\u0430" }, "house": { "description": "\u041d\u043e\u043c\u0435\u0440 \u0434\u043e\u043c\u0430", "type": "string", "example": "24" }, "uk": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 (\u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430)", "type": "string", "example": "\u0421\u0440\u0430\u0436\u0423\u041a" }, "comment": { "description": "\u041a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438", "type": "string", "example": "\u0423\u0433\u043b\u043e\u0432\u043e\u0439" }, "korp": { "description": "\u041a\u043e\u0440\u043f\u0443\u0441", "type": "string", "example": "\u0410" }, "entrance": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043f\u043e\u0434\u044a\u0435\u0437\u0434\u0430", "type": "string", "example": "3" }, "flat": { "description": "\u041d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "string", "example": "16" }, "count_client": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435", "type": "integer", "format": "int32", "example": "7" }, "count_client_act": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435 \u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432 \u041b\u041a", "type": "integer", "format": "int32", "example": "7" }, "count_keys": { "description": "\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u044e\u0447\u0435\u0439 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0435", "type": "integer", "format": "int32", "example": "7" }, "rtsp_stream": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b rtsp \u043f\u043e\u0442\u043e\u043a\u0430", "type": "string", "example": "rtsp://admin:ch2605@192.168.126.66:554/cam/realmonitor?channel=1subtype=1" } }, "type": "object" }, "Client": { "required": [ "id", "last_name", "first_name", "father_name", "phone", "date_reg", "email", "fio_dog", "phone_dog", "dog_exist", "act", "rt_id", "number_rt" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "last_name": { "description": "\u0424\u0430\u043c\u0438\u043b\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432" }, "first_name": { "description": "\u0418\u043c\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0418\u0432\u0430\u043d" }, "father_name": { "description": "\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0424\u0435\u0434\u043e\u0440\u043e\u0432\u0438\u0447" }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "date_reg": { "description": "\u0412\u0440\u0435\u043c\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "format": "date-time", "example": "2016-08-24T00:00:00.000Z" }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" }, "fio_dog": { "description": "\u0424\u0418\u041e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432 \u0418.\u0424." }, "phone_dog": { "description": "\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "1234567890" }, "dog_exist": { "description": "\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0441 \u044d\u0442\u043e\u0439 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u043e\u0439 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" } }, "type": "object" }, "IntercomNewSip": { "required": [ "act", "sip_trank" ], "properties": { "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "sip_trank": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u043f-\u0442\u0440\u0430\u043d\u043a\u0430", "type": "string", "example": "ujin" } }, "type": "object" }, "IntercomNewPinCodeFlat": { "required": [ "device_id", "expiresAt", "pinCode" ], "properties": { "device_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "7111" }, "expiresAt": { "description": "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b pinCode", "type": "string", "format": "date-time", "example": "2023-11-16T06:20:05.669Z" }, "pinCode": { "description": "\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 PinCode", "type": "string", "example": "1234" } }, "type": "object" }, "deviceStatuses": { "required": [ "UNOM", "device_id", "expiresAt", "pinCode" ], "properties": { "UNOM": { "description": "\u0423\u0447\u0451\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 \u0411\u0422\u0418 (\u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b)", "required": true, "type": "integer", "format": "int32", "example": "10001110" }, "device_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "10001110" }, "expiresAt": { "description": "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b pinCode", "type": "string", "format": "date-time", "example": "2023-11-16T06:20:05.669Z" }, "pinCode": { "description": "\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 PinCode", "type": "string", "example": "1234" } }, "type": "object" }, "relays": { "required": [ "relay", "delay" ], "properties": { "relay": { "description": "\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0442\u0440\u0435\u0445 \u0440\u0435\u043b\u0435 ", "type": "integer", "format": "int32", "example": 1 }, "delay": { "description": "default 5 ,\u0417\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u2013 \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043a\u043e\u0433\u0434\u0430 \u0434\u0432\u0435\u0440\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u0430", "type": "integer", "format": "int32", "example": 1 } }, "type": "object" }, "pinCodeDel": { "required": [ "device_id", "pinCode" ], "properties": { "device_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "10001110" }, "pinCode": { "description": "\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 PinCode", "type": "string", "example": "1234" } }, "type": "object" }, "Open": { "required": [ "id", "XMPPStatus" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0442\u0438\u043f\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "XMPPStatus": { "description": "\u041e\u0442\u0432\u0435\u0442 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "string", "example": "\u041d\u043e\u0432\u044b\u0439 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439" } }, "type": "object" }, "Types": { "required": [ "id", "code", "name", "comment" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0442\u0438\u043f\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435", "type": "integer", "format": "int32", "example": "777" }, "code": { "description": "\u041a\u043e\u043b \u0442\u0438\u043f\u0430", "type": "string", "example": "A7" }, "name": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0438\u043f\u0430", "type": "string", "example": "\u0414\u043e\u043c\u043e\u0444\u043e\u043d 7700" }, "comment": { "description": "\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f", "type": "string", "example": "\u041d\u043e\u0432\u044b\u0439 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439" } }, "type": "object" }, "Client_Update": { "required": [ "last_name", "first_name", "father_name", "phone", "email", "fio_dog", "phone_dog", "dog_exist", "act", "rt_id", "number_rt" ], "properties": { "last_name": { "description": "\u0424\u0430\u043c\u0438\u043b\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432" }, "first_name": { "description": "\u0418\u043c\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0418\u0432\u0430\u043d" }, "father_name": { "description": "\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0424\u0435\u0434\u043e\u0440\u043e\u0432\u0438\u0447" }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "clientCode": { "description": "\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0432\u0435\u0440\u0438", "type": "string", "example": "1234" }, "guestCode": { "description": "\u0413\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u043a\u043e\u0434 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0432\u0435\u0440\u0438", "type": "string", "example": "1234" }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" }, "fio_dog": { "description": "\u0424\u0418\u041e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432 \u0418.\u0424." }, "phone_dog": { "description": "\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "1234567890" }, "dog_exist": { "description": "\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0441 \u044d\u0442\u043e\u0439 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u043e\u0439 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "silentModeStart": { "description": "\u0412\u0440\u0435\u043c\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0436\u0438\u043c\u0430 \u0442\u0438\u0448\u0438\u043d\u044b", "type": "string", "format": "time", "example": "23:30:00" }, "silentModeFinish": { "description": "\u0412\u0440\u0435\u043c\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0436\u0438\u043c\u0430 \u0442\u0438\u0448\u0438\u043d\u044b", "type": "string", "format": "time", "example": "08:00:00" }, "silentModeActive": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0440\u0435\u0436\u0438\u043c \u0442\u0438\u0448\u0438\u043d\u044b \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" } }, "type": "object" }, "ClientNew": { "required": [ "last_name", "first_name", "father_name", "phone", "email", "fio_dog", "phone_dog", "dog_exist", "act", "number_rt", "rt_id" ], "properties": { "last_name": { "description": "\u0424\u0430\u043c\u0438\u043b\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432" }, "first_name": { "description": "\u0418\u043c\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0418\u0432\u0430\u043d" }, "father_name": { "description": "\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "example": "\u0424\u0435\u0434\u043e\u0440\u043e\u0432\u0438\u0447" }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" }, "fio_dog": { "description": "\u0424\u0418\u041e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "\u041f\u0435\u0442\u0440\u043e\u0432 \u0418.\u0424." }, "phone_dog": { "description": "\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443", "type": "string", "example": "1234567890" }, "dog_exist": { "description": "\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0441 \u044d\u0442\u043e\u0439 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u043e\u0439 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "number_rt": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430, \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430(rt_id+login)", "type": "string", "example": "rt_id+login" }, "addresses": { "description": "\u0410\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433\u043e\u0439, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e", "type": "array", "items": { "$ref": "#/definitions/Address" } } }, "type": "object" }, "TechUsersNew": { "required": [ "id", "type", "status_type", "login", "mos_sso_id", "access_room_ids" ], "properties": { "id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0431\u0430\u0437\u0435 ", "type": "integer", "format": "int32", "example": "0" }, "type": { "description": "\u0420\u043e\u043b\u044c \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u042d\u0414", "type": "string", "example": "master" }, "status_type": { "description": "\u0421\u0442\u0430\u0442\u0443\u0441 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "active" }, "login": { "description": "\u041b\u043e\u0433\u0438\u043d \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f", "type": "string", "example": "techUsers_33" }, "mos_sso_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 mos.ru", "type": "string", "example": "1234567890" }, "access_room_ids": { "description": "\u041c\u0430\u0441\u0441\u0438\u0432 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0448\u0430\u0433\u0435 2.", "type": "array", "example": "1,2,3" } }, "type": "object" }, "ClientGetNewToken": { "required": [ "client_id" ], "properties": { "client_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0431\u0430\u0437\u0435 ", "type": "integer", "format": "int32", "example": "71111112" } }, "type": "object" }, "ClientNewToken": { "required": [ "request_id", "data" ], "properties": { "request_id": { "description": "\u0422\u043e\u043a\u0435\u043d \u0438\u0434\u0435\u043c\u043f\u043e\u0442\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0438. \u0414\u043e\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0431\u0443\u043a\u0432\u044b, \u0446\u0438\u0444\u0440\u044b, \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b. \u0427\u0442\u043e\u0431\u044b \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442 uuid \u0438 \u0435\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u043d\u044b\u0435.", "type": "string", "example": "24310ca9-f553-4ec6-b027-95b38a2dcc94" }, "data": { "description": "\u041c\u0430\u0441\u0441\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0442\u043e\u043a\u0435\u043d\u0430", "type": "array", "items": { "$ref": "#/definitions/Token" } } }, "type": "object" }, "Token": { "required": [ "access_token", "expires_in", "scope", "token_type" ], "properties": { "access_token": { "description": "JWT \u0442\u043e\u043a\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f (\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 id \u0442\u0435\u0445.\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f)", "type": "string", "example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" }, "expires_in": { "description": "\u0412\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 \u0442\u043e\u043a\u0435\u043d\u0430 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445", "type": "string", "example": 3600 }, "scope": { "description": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u043e\u043a\u0435\u043d\u0430", "type": "string", "example": "create" }, "token_type": { "description": "Bearer", "type": "string", "example": "3600" } }, "type": "object" }, "Entity New": { "required": [ "name", "rt_id", "act" ], "properties": { "name": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430", "type": "string", "example": "\u0423\u043f\u0440\u0430\u043b\u044f\u044e\u0449\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f" }, "phone": { "description": "\u0422\u0435\u043b\u0435\u0444\u043e\u043d", "type": "string", "example": "1234567890" }, "email": { "description": "\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b", "type": "string", "format": "email", "example": "mail@mail.ru" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "addresses_rt": { "description": "\u0410\u0434\u0440\u0435\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e", "type": "array", "items": { "$ref": "#/definitions/Address_rt" } } }, "type": "object" }, "IntercomNew": { "required": [ "login", "rt_id", "number", "act" ], "properties": { "login": { "description": "\u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0434\u043e\u043c\u043e\u0444\u043e\u043d", "type": "string", "example": "10007777" }, "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0434\u043e\u043c\u043e\u0444\u043e\u043d \u0438\u043b\u0438 \u043d\u0435\u0442", "type": "boolean", "default": false, "example": true }, "rt_id": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0432 \u0431\u0430\u0437\u0435 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430", "type": "string", "example": "71111111112" }, "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430 ", "type": "integer", "format": "int32", "example": "10007777" }, "addresses_rt": { "description": "\u0410\u0434\u0440\u0435\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433", "type": "array", "items": { "$ref": "#/definitions/Address_rt" } }, "address_intercom": { "description": "\u0410\u0434\u0440\u0435\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433", "type": "array", "items": { "$ref": "#/definitions/Address_intercom" } } }, "type": "object" }, "IntercomRtspNew": { "required": [ "addresses_rtsp" ], "properties": { "addresses_rtsp": { "description": "\u0410\u0434\u0440\u0435\u0441 rtsp-\u043f\u043e\u0442\u043e\u043a\u0430", "type": "string", "example": "rtsp://admin:admin@XXX.XXX.XXX.XXX:554/cam/realmonitor?channel=1&subtype=1" } }, "type": "object" }, "Service": { "required": [ "count", "id", "name" ], "properties": { "id": { "description": "\u043d\u043e\u043c\u0435\u0440 \u0443\u0441\u043b\u0443\u0433\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435", "type": "integer", "format": "int32", "example": "1" }, "name": { "description": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0443\u0441\u043b\u0443\u0433\u0438", "type": "string", "example": "\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u043a\u043b\u044e\u0447\u0435\u0439" }, "count": { "description": "\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e", "type": "integer", "format": "int32", "example": "3" } }, "type": "object" }, "Address": { "required": [ "city", "street", "house", "korp", "enter", "flat" ], "properties": { "city": { "description": "\u0433\u043e\u0440\u043e\u0434", "type": "string", "example": "\u0427\u0435\u043b\u044f\u0431\u0438\u043d\u0441\u043a" }, "street": { "description": "\u0443\u043b\u0438\u0446\u0430", "type": "string", "example": "\u0443\u043b. \u041b\u0435\u043d\u0438\u043d\u0430" }, "house": { "description": "\u043d\u043e\u043c\u0435\u0440 \u0434\u043e\u043c\u0430", "type": "string", "example": "10" }, "korp": { "description": "\u043a\u043e\u0440\u043f\u0443\u0441", "type": "string", "example": "\u0410" }, "entrance": { "description": "\u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0434\u044a\u0435\u0437\u0434\u0430 \u0438\u043b\u0438 \u0432\u0445\u043e\u0434\u0430", "type": "string", "example": "1" }, "flat": { "description": "\u043d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "string", "example": "7" } }, "type": "object" }, "Flats": { "required": [ "number", "flat" ], "properties": { "number": { "description": "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u043c\u043e\u0444\u043e\u043d\u0430", "type": "string", "example": "10001007" }, "flat": { "description": "\u043d\u043e\u043c\u0435\u0440 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b", "type": "string", "example": "7" } }, "type": "object" }, "Address_intercom": { "required": [ "city", "street", "house", "korp", "enterance" ], "properties": { "city": { "description": "\u0433\u043e\u0440\u043e\u0434", "type": "string", "example": "\u0427\u0435\u043b\u044f\u0431\u0438\u043d\u0441\u043a" }, "street": { "description": "\u0443\u043b\u0438\u0446\u0430", "type": "string", "example": "\u0443\u043b. \u041b\u0435\u043d\u0438\u043d\u0430" }, "house": { "description": "\u043d\u043e\u043c\u0435\u0440 \u0434\u043e\u043c\u0430", "type": "string", "example": "10" }, "korp": { "description": "\u043a\u043e\u0440\u043f\u0443\u0441", "type": "string", "example": "\u0410" }, "entrance": { "description": "\u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0434\u044a\u0435\u0437\u0434\u0430 \u0438\u043b\u0438 \u0432\u0445\u043e\u0434\u0430", "type": "string", "example": "1" } }, "type": "object" }, "Address_rt": { "required": [ "address" ], "properties": { "address": { "description": "\u0430\u0434\u0440\u0435\u0441", "type": "string", "example": "\u0427\u0435\u043b\u044f\u0431\u0438\u043d\u0441\u043a,\u0443\u043b. \u041b\u0435\u043d\u0438\u043d\u0430,10, \u043a\u043e\u0440\u043f\u0443\u0441 \u0410 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0434\u044a\u0435\u0437\u0434\u0430 1" } }, "type": "object" }, "Active": { "required": [ "act" ], "properties": { "act": { "description": "\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u043b\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "boolean", "default": false, "example": true } }, "type": "object" }, "ActiveCabinet": { "required": [ "act" ], "properties": { "act": { "description": "\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0440\u0438 \u0442\u0438\u043f\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "integer", "format": "int32", "default": "1", "example": "3" } }, "type": "object" }, "NewPassword": { "required": [ "newpassword" ], "properties": { "newpassword": { "description": "\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "type": "string", "default": "", "example": "EiTi6xiese4ceiv3eeVi" } }, "type": "object" } } }