{
    "swagger": "2.0",
    "info": {
        "description": "This documentation contains a general overview of the Emerging Travel Group API Partner Program.",
        "title": "ETG API v3",
        "contact": {},
        "version": "3.0.0"
    },
    "host": "https://api.ratehawk.com",
    "paths": {
        "/api/b2b/v3/general/contract/data/info": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Returns contract data info from Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "general"
                ],
                "summary": "Get contract data info",
                "operationId": "b2b-v3-general-contract-data-info",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/general/document/closing_documents/download": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Downloads closing documents from Partner API.",
                "produces": [
                    "application/octet-stream"
                ],
                "tags": [
                    "general"
                ],
                "summary": "Download closing documents",
                "operationId": "b2b-v3-general-closing-documents-download",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with package_id (integer) and seal (boolean)",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Document file",
                        "schema": {
                            "type": "file"
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/general/document/closing_documents/info": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Returns closing documents info from Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "general"
                ],
                "summary": "Get closing documents info",
                "operationId": "b2b-v3-general-closing-documents-info",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with optional agreement_numbers (string array), issue_date (date), and order_ids (integer array)",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/general/financial/info": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Returns financial info from Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "general"
                ],
                "summary": "Get financial info",
                "operationId": "b2b-v3-general-financial-info",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/info": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "summary": "Get hotel info by hid or id",
                "operationId": "b2b-v3-hotel-info",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/info.HotelInfoRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/hotel_content_by_ids.HotelContentWithImages"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/info/dump": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "summary": "Get hotel info dump link",
                "operationId": "b2b-v3-hotel-info-dump",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/info_dump.InfoDumpRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/info_dump.InfoDumpResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/booking/finish": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "summary": "Booking finish",
                "operationId": "b2b-v3-booking-finish",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/booking_finish.Request"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/v3.Response"
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/booking/finish/status": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Finish booking status",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "summary": "Booking Finish Status",
                "operationId": "b2b-order-booking-finish-status",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/booking_status.Request"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/booking_status.Response"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/booking/form": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "summary": "Booking form",
                "operationId": "b2b-v3-booking-form",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/booking_form.Request"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/booking_form.Response"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/cancel": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Cancel a hotel order by its partner order ID and amount of commission.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "summary": "Cancel a hotel order",
                "operationId": "cancel-order",
                "parameters": [
                    {
                        "description": "Request body containing partner order ID and amount of commission",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/cancel.Request"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response with cancellation details",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/cancel.ResponseB2B"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/document/info_invoice/download": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Downloads hotel order info invoice from Partner API.",
                "produces": [
                    "application/octet-stream"
                ],
                "tags": [
                    "order"
                ],
                "summary": "Download order info invoice",
                "operationId": "b2b-v3-hotel-order-document-info-invoice-download",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with partner_order_id",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Invoice file",
                        "schema": {
                            "type": "file"
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/document/single_act/download": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Downloads hotel order single act from Partner API.",
                "produces": [
                    "application/octet-stream"
                ],
                "tags": [
                    "order"
                ],
                "summary": "Download order single act",
                "operationId": "b2b-v3-hotel-order-document-single-act-download",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with partner_order_id and optional add_commission, seal, and show_b2b2c_price",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Single act file",
                        "schema": {
                            "type": "file"
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/document/voucher/download": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Downloads hotel order voucher from Partner API.",
                "produces": [
                    "application/octet-stream"
                ],
                "tags": [
                    "order"
                ],
                "summary": "Download order voucher",
                "operationId": "b2b-v3-hotel-order-document-voucher-download",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with language and partner_order_id",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Voucher file",
                        "schema": {
                            "type": "file"
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/order/info": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Get info about hotel order by it partner order ID(s) or by other filters.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "summary": "Get info about hotel order(s)",
                "operationId": "info-order",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/info.Request"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response with order info details",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/info.ResponseB2B"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/hotel/prebook": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "This method updates the availability of the requested rate. If the original rate is not available, the method will try to find the same or similar rate with a new book_hash.\nIf exactly the same rate was not found and the request specifies a permissible price increase in price_increase_percent, the method will try to find the same room, but with an increased price.\nIn a new rate with an increased price, the values in payment_options may change.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "hotel"
                ],
                "summary": "Prebook (b2b)",
                "operationId": "b2b-v3-hotel-prebook",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/b2b.PrebookRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/dapi_internal_api_partners_v3_search_prebook_b2b.PrebookResult"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/ordergroup/create": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Creates an order group via Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ordergroup"
                ],
                "summary": "Create order group",
                "operationId": "b2b-v3-ordergroup-create",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with orders array; each order contains order_id and order_type",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/ordergroup/disband": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Disbands an order group via Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ordergroup"
                ],
                "summary": "Disband order group",
                "operationId": "b2b-v3-ordergroup-disband",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with invoice_id",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/ordergroup/document/invoice/download": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Downloads order group invoice from Partner API.",
                "produces": [
                    "application/octet-stream"
                ],
                "tags": [
                    "ordergroup"
                ],
                "summary": "Download order group invoice",
                "operationId": "b2b-v3-ordergroup-document-invoice-download",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with invoice_id",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Invoice file",
                        "schema": {
                            "type": "file"
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/ordergroup/info": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Returns order group info from Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ordergroup"
                ],
                "summary": "Get order group info",
                "operationId": "b2b-v3-ordergroup-info",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.OrdergroupInfoRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/ordergroup/order/add": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Adds an order to an order group via Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ordergroup"
                ],
                "summary": "Add order to order group",
                "operationId": "b2b-v3-ordergroup-order-add",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with invoice_id and orders array",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/ordergroup/order/remove": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Removes an order from an order group via Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ordergroup"
                ],
                "summary": "Remove order from order group",
                "operationId": "b2b-v3-ordergroup-order-remove",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with invoice_id and orders array",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/ordergroup/pay/overpay": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Pays order group overpay via Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ordergroup"
                ],
                "summary": "Pay order group overpay",
                "operationId": "b2b-v3-ordergroup-pay-overpay",
                "parameters": [
                    {
                        "type": "string",
                        "description": "JSON object with amount and invoice_id",
                        "name": "data",
                        "in": "query",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/overview": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Overview of endpoints on the API Auth Key",
                "produces": [
                    "application/json"
                ],
                "summary": "Overview of endpoints on the API Auth Key",
                "operationId": "overview",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/overview.Endpoint"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/profiles/create": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Creates a profile via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "profiles"
                ],
                "summary": "Create profile",
                "operationId": "b2b-v3-profiles-create",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.ProfileWriteRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/profiles/delete": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Deletes a profile via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "profiles"
                ],
                "summary": "Delete profile",
                "operationId": "b2b-v3-profiles-delete",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.ProfileIdentityRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/profiles/disable": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Disables a profile via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "profiles"
                ],
                "summary": "Disable profile",
                "operationId": "b2b-v3-profiles-disable",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.ProfileIdentityRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/profiles/edit": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Edits a profile via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "profiles"
                ],
                "summary": "Edit profile",
                "operationId": "b2b-v3-profiles-edit",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.ProfileWriteRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/profiles/list": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Returns profiles list from Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "profiles"
                ],
                "summary": "List profiles",
                "operationId": "b2b-v3-profiles-list",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/profiles/restore": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Restores a profile via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "profiles"
                ],
                "summary": "Restore profile",
                "operationId": "b2b-v3-profiles-restore",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.ProfileIdentityRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/search/hotelsort": {
            "post": {
                "security": [
                    {
                        "Basic": []
                    }
                ],
                "description": "Sort order of the hotels in the region based on artificial intelligence.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "search"
                ],
                "summary": "Hotelsort",
                "operationId": "b2b-v3-search-hotelsort",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/b2b.HotelSortRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/b2b.Data"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/search/hp": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Hotel rates actualization. This request is necessary to make a booking via API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "search"
                ],
                "summary": "Hotelpage (b2b)",
                "operationId": "b2b-v3-search-hp",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/b2b.HPRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/b2b.Result"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/search/lookuprate": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Lookup Rate",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "search"
                ],
                "summary": "Lookup Rate (b2b)",
                "operationId": "b2b-v3-search-lookuprate",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/b2b.LookupRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/b2b.Response"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/search/multicomplete": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Autocomplete allows you to find a region or a hotel by just part of its name.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "search"
                ],
                "summary": "Autocomplete",
                "operationId": "b2b-v3-search-multicomplete",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/multicomplete.Request"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/multicomplete.Response"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/search/serp/geo": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Search Engine Results Page (SERP) - this is for the preliminary search of a hotel with available accommodation that meets the given search conditions.\nIt is not recommended to let the users choose the rates from this method (a full match with results from the Hotelpage request is not expected).",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "search"
                ],
                "summary": "Geo Search Engine Results Page",
                "operationId": "search-serp-geo",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/geo.SerpGeoRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/b2b.Result"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/search/serp/hotels": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Search Engine Results Page (SERP) - this is for the preliminary search of a hotel with available accommodation that meets the given search conditions.\nIt is not recommended to let the users choose the rates from this method (a full match with results from the Hotelpage request is not expected).",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "search"
                ],
                "summary": "Hotels Search Engine Results Page",
                "operationId": "search-serp-hotels",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/hotels.SerpRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/b2b.Result"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/search/serp/region": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Search Engine Results Page (SERP) - this is for the preliminary search of a hotel with available accommodation that meets the given search conditions.\nIt is not recommended to let the users choose the rates from this method (a full match with results from the Hotelpage request is not expected).",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "search"
                ],
                "summary": "Region Search Engine Results Page",
                "operationId": "search-serp-region",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/region.SerpRegionRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/b2b.Result"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/serp/prebook": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "This method updates the availability of the requested rate. If the original rate is not available, the method will try to find the same or similar rate with a new book_hash.\nIf exactly the same rate was not found and the request specifies a permissible price increase in price_increase_percent, the method will try to find the same room, but with an increased price.\nIn a new rate with an increased price, the values in payment_options may change.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "hotel"
                ],
                "summary": "Prebook from serp",
                "operationId": "v3-hotel-prebook-from-serp",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/prebook_from_serp.PrebookFromSerpRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/prebook_from_serp.B2BPrebookFromSerpResult"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/widget/create": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Creates a widget via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "widget"
                ],
                "summary": "Create widget",
                "operationId": "b2b-v3-widget-create",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.WidgetCreateRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/widget/delete": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Deletes a widget via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "widget"
                ],
                "summary": "Delete widget",
                "operationId": "b2b-v3-widget-delete",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.WidgetInfoRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/widget/info": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Returns widget info from Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "widget"
                ],
                "summary": "Get widget info",
                "operationId": "b2b-v3-widget-info",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.WidgetInfoRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/widget/list": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Returns widgets list from Partner API.",
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "widget"
                ],
                "summary": "List widgets",
                "operationId": "b2b-v3-widget-list",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/b2b/v3/widget/update": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "description": "Updates a widget via Partner API.",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "widget"
                ],
                "summary": "Update widget",
                "operationId": "b2b-v3-widget-update",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/proxy.WidgetUpdateRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/proxy.JSONResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/proxy.JSONBody"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/content/v1/filter_values": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "content"
                ],
                "summary": "Get dictionary with possible filter values",
                "operationId": "content-v1-filter-values",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/models.FilterValues"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/content/v1/hotel_content_by_ids": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "content"
                ],
                "summary": "Get hotel content by hotel ids",
                "operationId": "content-v1-hotel-content-by-ids",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/hotel_content_by_ids.HotelsContentRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/hotel_content_by_ids.HotelContent"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/content/v1/hotel_ids_by_filter": {
            "get": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "content"
                ],
                "summary": "Get hotel IDs by filter",
                "operationId": "content-v1-hotel-ids-by-filter",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/hotel_ids_by_filter.HotelsFilterResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/content/v1/hotel_reviews_by_ids": {
            "post": {
                "security": [
                    {
                        "BasicAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "content"
                ],
                "summary": "Get hotel reviews",
                "operationId": "content-v1-hotel-reviews",
                "parameters": [
                    {
                        "description": "Parameters",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/hotel_reviews.Request"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/v3.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/hotel_reviews.HotelWithReviews"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "b2b.BarPriceData": {
            "type": "object",
            "properties": {
                "hotel": {
                    "$ref": "#/definitions/b2b.HotelBarPriceData"
                },
                "room_groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.RoomGroupsBarPriceData"
                    }
                }
            }
        },
        "b2b.BarRatePriceData": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                }
            }
        },
        "b2b.CancellationPenalty": {
            "type": "object",
            "properties": {
                "free_cancellation_before": {
                    "type": "string"
                },
                "policies": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.CancellationPolicy"
                    }
                }
            }
        },
        "b2b.CancellationPolicy": {
            "type": "object",
            "properties": {
                "amount_charge": {
                    "type": "string"
                },
                "amount_show": {
                    "type": "string"
                },
                "commission_info": {
                    "$ref": "#/definitions/b2b.CommissionInfo"
                },
                "end_at": {
                    "type": "string"
                },
                "start_at": {
                    "type": "string"
                }
            }
        },
        "b2b.CommissionInfo": {
            "type": "object",
            "properties": {
                "charge": {
                    "$ref": "#/definitions/b2b.CommissionInfoItem"
                },
                "show": {
                    "$ref": "#/definitions/b2b.CommissionInfoItem"
                }
            }
        },
        "b2b.CommissionInfoItem": {
            "type": "object",
            "properties": {
                "amount_commission": {
                    "type": "string"
                },
                "amount_gross": {
                    "type": "string"
                },
                "amount_net": {
                    "type": "string"
                }
            }
        },
        "b2b.Data": {
            "type": "object",
            "properties": {
                "hotels": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "b2b.ECLCPerk": {
            "type": "object",
            "properties": {
                "charge_price": {
                    "type": "string"
                },
                "commission_info": {
                    "$ref": "#/definitions/b2b.CommissionInfo"
                },
                "is_requested": {
                    "type": "boolean"
                },
                "show_price": {
                    "type": "string"
                },
                "time": {
                    "type": "string"
                }
            }
        },
        "b2b.GuestGroup": {
            "type": "object",
            "properties": {
                "adults": {
                    "type": "integer"
                },
                "children": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "b2b.HPRequest": {
            "type": "object",
            "properties": {
                "availability_hash": {
                    "description": "internal fields, see #123251",
                    "type": "string"
                },
                "checkin": {
                    "type": "string"
                },
                "checkout": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "filter": {
                    "$ref": "#/definitions/base.Filter"
                },
                "guests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/base.GuestsGroup"
                    }
                },
                "hid": {
                    "type": "integer"
                },
                "id": {
                    "type": "string"
                },
                "language": {
                    "type": "string"
                },
                "match_hash": {
                    "type": "string"
                },
                "residency": {
                    "type": "string"
                },
                "timeout": {
                    "type": "number"
                },
                "upsells": {
                    "$ref": "#/definitions/base.Upsells"
                }
            }
        },
        "b2b.Hotel": {
            "type": "object",
            "properties": {
                "bar_price_data": {
                    "$ref": "#/definitions/b2b.BarPriceData"
                },
                "hid": {
                    "type": "integer"
                },
                "id": {
                    "type": "string"
                },
                "rates": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.Rate"
                    }
                }
            }
        },
        "b2b.HotelBarPriceData": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                }
            }
        },
        "b2b.HotelSortRequest": {
            "type": "object",
            "properties": {
                "hotels_limit": {
                    "type": "integer"
                },
                "region_id": {
                    "type": "integer"
                },
                "sort_type": {
                    "type": "string"
                }
            }
        },
        "b2b.LookupRequest": {
            "type": "object",
            "properties": {
                "book_hash": {
                    "type": "string"
                },
                "language": {
                    "type": "string"
                }
            }
        },
        "b2b.OriginalRequestParams": {
            "type": "object",
            "properties": {
                "checkin": {
                    "type": "string"
                },
                "checkout": {
                    "type": "string"
                },
                "guests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.GuestGroup"
                    }
                },
                "residency": {
                    "type": "string"
                }
            }
        },
        "b2b.PaymentOptions": {
            "type": "object",
            "properties": {
                "payment_types": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.PaymentType"
                    }
                }
            }
        },
        "b2b.PaymentType": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "by": {
                    "type": "string"
                },
                "cancellation_penalties": {
                    "$ref": "#/definitions/b2b.CancellationPenalty"
                },
                "commission_info": {
                    "$ref": "#/definitions/b2b.CommissionInfo"
                },
                "currency_code": {
                    "type": "string"
                },
                "is_need_credit_card_data": {
                    "type": "boolean"
                },
                "is_need_cvc": {
                    "type": "boolean"
                },
                "perks": {
                    "$ref": "#/definitions/b2b.Perks"
                },
                "recommended_price": {
                    "$ref": "#/definitions/b2b.RecommendedPrice"
                },
                "show_amount": {
                    "type": "string"
                },
                "show_currency_code": {
                    "type": "string"
                },
                "tax_data": {
                    "$ref": "#/definitions/base.TaxData"
                },
                "type": {
                    "type": "string"
                },
                "vat_data": {
                    "$ref": "#/definitions/b2b.VATData"
                }
            }
        },
        "b2b.Perks": {
            "type": "object",
            "properties": {
                "early_checkin": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.ECLCPerk"
                    }
                },
                "late_checkout": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.ECLCPerk"
                    }
                }
            }
        },
        "b2b.PrebookRequest": {
            "type": "object",
            "properties": {
                "hash": {
                    "type": "string"
                },
                "price_increase_percent": {
                    "type": "integer"
                }
            }
        },
        "b2b.Prepayment": {
            "type": "object",
            "properties": {
                "groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.PrepaymentGroup"
                    }
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "b2b.PrepaymentGroup": {
            "type": "object",
            "properties": {
                "policies": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.PrepaymentPolicy"
                    }
                }
            }
        },
        "b2b.PrepaymentPolicy": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "end_at": {
                    "type": "string"
                },
                "start_at": {
                    "type": "string"
                }
            }
        },
        "b2b.Rate": {
            "type": "object",
            "properties": {
                "allotment": {
                    "type": "integer"
                },
                "amenities_data": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "any_residency": {
                    "type": "boolean"
                },
                "bar_rate_price_data": {
                    "$ref": "#/definitions/b2b.BarRatePriceData"
                },
                "book_hash": {
                    "type": "string"
                },
                "daily_prices": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "deposit": {
                    "$ref": "#/definitions/base.Deposit"
                },
                "is_package": {
                    "type": "boolean"
                },
                "legal_info": {
                    "$ref": "#/definitions/base.LegalInfo"
                },
                "match_hash": {
                    "type": "string"
                },
                "meal": {
                    "type": "string"
                },
                "meal_data": {
                    "$ref": "#/definitions/base.MealData"
                },
                "no_show": {
                    "$ref": "#/definitions/base.NoShow"
                },
                "payment_options": {
                    "$ref": "#/definitions/b2b.PaymentOptions"
                },
                "prepayment": {
                    "$ref": "#/definitions/b2b.Prepayment"
                },
                "rg_ext": {
                    "$ref": "#/definitions/base.RgExt"
                },
                "room_data_trans": {
                    "$ref": "#/definitions/base.RoomDataTrans"
                },
                "room_name": {
                    "type": "string"
                },
                "room_name_info": {
                    "$ref": "#/definitions/base.RoomNameInfo"
                },
                "search_hash": {
                    "type": "string"
                },
                "sell_price_limits": {
                    "$ref": "#/definitions/b2b.SellPriceLimits"
                },
                "serp_filters": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "b2b.RecommendedPrice": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "show_amount": {
                    "type": "string"
                },
                "show_currency_code": {
                    "type": "string"
                }
            }
        },
        "b2b.Response": {
            "type": "object",
            "properties": {
                "hotels": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.Hotel"
                    }
                },
                "original_request_params": {
                    "$ref": "#/definitions/b2b.OriginalRequestParams"
                },
                "total_hotels": {
                    "type": "integer"
                }
            }
        },
        "b2b.Result": {
            "type": "object",
            "properties": {
                "hotels": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.Hotel"
                    }
                },
                "total_hotels": {
                    "type": "integer"
                }
            }
        },
        "b2b.RoomGroupsBarPriceData": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "rg_ext": {
                    "$ref": "#/definitions/base.RgExt"
                }
            }
        },
        "b2b.SellPriceLimits": {
            "type": "object",
            "properties": {
                "max_price": {
                    "type": "string"
                },
                "min_price": {
                    "type": "string"
                }
            }
        },
        "b2b.VATData": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "applied": {
                    "type": "boolean"
                },
                "currency_code": {
                    "type": "string"
                },
                "included": {
                    "type": "boolean"
                },
                "value": {
                    "description": "Deprecated: legacy field",
                    "type": "string"
                }
            }
        },
        "base.BedGroup": {
            "type": "object",
            "properties": {
                "bed": {
                    "type": "string"
                },
                "count": {
                    "type": "integer"
                }
            }
        },
        "base.Deposit": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "is_refundable": {
                    "type": "boolean"
                }
            }
        },
        "base.ECLC": {
            "type": "object",
            "properties": {
                "time": {
                    "type": "string"
                }
            }
        },
        "base.Filter": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "meal_type": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "price_from": {
                    "type": "number"
                },
                "price_to": {
                    "type": "number"
                },
                "star_rating": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "base.GuestsGroup": {
            "type": "object",
            "properties": {
                "adults": {
                    "type": "integer"
                },
                "children": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "base.LegalInfo": {
            "type": "object",
            "properties": {
                "hotel": {
                    "$ref": "#/definitions/base.LegalInfoHotel"
                },
                "provider": {
                    "$ref": "#/definitions/base.LegalInfoProvider"
                }
            }
        },
        "base.LegalInfoHotel": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "state_registration_number": {
                    "type": "string"
                },
                "taxpayer_number": {
                    "type": "string"
                },
                "work_time": {
                    "type": "string"
                }
            }
        },
        "base.LegalInfoProvider": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "state_registration_number": {
                    "type": "string"
                },
                "taxpayer_number": {
                    "type": "string"
                }
            }
        },
        "base.MealData": {
            "type": "object",
            "properties": {
                "has_breakfast": {
                    "type": "boolean"
                },
                "no_child_meal": {
                    "type": "boolean"
                },
                "value": {
                    "type": "string"
                }
            }
        },
        "base.NoShow": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "from_time": {
                    "type": "string"
                }
            }
        },
        "base.RgExt": {
            "type": "object",
            "properties": {
                "balcony": {
                    "type": "integer"
                },
                "bathroom": {
                    "type": "integer"
                },
                "bedding": {
                    "type": "integer"
                },
                "bedrooms": {
                    "type": "integer"
                },
                "capacity": {
                    "type": "integer"
                },
                "class": {
                    "type": "integer"
                },
                "club": {
                    "type": "integer"
                },
                "family": {
                    "type": "integer"
                },
                "floor": {
                    "type": "integer"
                },
                "quality": {
                    "type": "integer"
                },
                "sex": {
                    "type": "integer"
                },
                "view": {
                    "type": "integer"
                }
            }
        },
        "base.RoomDataTrans": {
            "type": "object",
            "properties": {
                "bathroom": {
                    "type": "string"
                },
                "bedding_type": {
                    "type": "string"
                },
                "beds": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/base.BedGroup"
                    }
                },
                "main_name": {
                    "type": "string"
                },
                "main_room_type": {
                    "type": "string"
                },
                "misc_room_type": {
                    "type": "string"
                }
            }
        },
        "base.RoomNameInfo": {
            "type": "object",
            "properties": {
                "original_rate_name": {
                    "type": "string"
                }
            }
        },
        "base.Tax": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "included_by_supplier": {
                    "type": "boolean"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "base.TaxData": {
            "type": "object",
            "properties": {
                "taxes": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/base.Tax"
                    }
                }
            }
        },
        "base.Upsells": {
            "type": "object",
            "properties": {
                "early_checkin": {
                    "$ref": "#/definitions/base.ECLC"
                },
                "late_checkout": {
                    "$ref": "#/definitions/base.ECLC"
                },
                "multiple_eclc": {
                    "type": "boolean"
                },
                "only_eclc": {
                    "type": "boolean"
                }
            }
        },
        "booking_finish.Guest": {
            "type": "object",
            "properties": {
                "age": {
                    "type": "integer"
                },
                "first_name": {
                    "type": "string"
                },
                "gender": {
                    "type": "string"
                },
                "is_child": {
                    "type": "boolean"
                },
                "last_name": {
                    "type": "string"
                }
            }
        },
        "booking_finish.Partner": {
            "type": "object",
            "properties": {
                "amount_sell_b2b2c": {
                    "type": "string"
                },
                "comment": {
                    "description": "B2B",
                    "type": "string"
                },
                "partner_order_id": {
                    "type": "string"
                }
            }
        },
        "booking_finish.PaymentType": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "init_uuid": {
                    "type": "string"
                },
                "pay_uuid": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "booking_finish.Request": {
            "type": "object",
            "properties": {
                "arrival_datetime": {
                    "type": "string"
                },
                "book_timeout": {
                    "type": "integer"
                },
                "language": {
                    "type": "string"
                },
                "partner": {
                    "$ref": "#/definitions/booking_finish.Partner"
                },
                "payment_type": {
                    "$ref": "#/definitions/booking_finish.PaymentType"
                },
                "return_path": {
                    "type": "string"
                },
                "rooms": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/booking_finish.Room"
                    }
                },
                "supplier_data": {
                    "$ref": "#/definitions/booking_finish.SupplierData"
                },
                "upsell_data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/booking_finish.Upsell"
                    }
                },
                "user": {
                    "$ref": "#/definitions/booking_finish.User"
                }
            }
        },
        "booking_finish.Room": {
            "type": "object",
            "properties": {
                "guests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/booking_finish.Guest"
                    }
                }
            }
        },
        "booking_finish.SupplierData": {
            "type": "object",
            "properties": {
                "email": {
                    "type": "string"
                },
                "first_name_original": {
                    "type": "string"
                },
                "last_name_original": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                }
            }
        },
        "booking_finish.Upsell": {
            "type": "object",
            "properties": {
                "attributes": {
                    "$ref": "#/definitions/booking_finish.UpsellAttributes"
                },
                "name": {
                    "type": "string"
                },
                "rule_id": {
                    "type": "integer"
                },
                "uid": {
                    "type": "string"
                }
            }
        },
        "booking_finish.UpsellAttributes": {
            "type": "object",
            "properties": {
                "checkin_datetime": {
                    "type": "string"
                },
                "checkout_datetime": {
                    "type": "string"
                }
            }
        },
        "booking_finish.User": {
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                }
            }
        },
        "booking_form.PaymentType": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "is_need_credit_card_data": {
                    "type": "boolean"
                },
                "is_need_cvc": {
                    "type": "boolean"
                },
                "recommended_price": {
                    "description": "b2b",
                    "allOf": [
                        {
                            "$ref": "#/definitions/booking_form.RecommendedPrice"
                        }
                    ]
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "booking_form.RecommendedPrice": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "show_amount": {
                    "type": "string"
                },
                "show_currency_code": {
                    "type": "string"
                }
            }
        },
        "booking_form.Request": {
            "type": "object",
            "properties": {
                "book_hash": {
                    "type": "string"
                },
                "language": {
                    "type": "string"
                },
                "partner_order_id": {
                    "type": "string"
                },
                "user_ip": {
                    "type": "string"
                }
            }
        },
        "booking_form.Response": {
            "type": "object",
            "properties": {
                "is_gender_specification_required": {
                    "description": "b2b",
                    "type": "boolean"
                },
                "item_id": {
                    "type": "integer"
                },
                "order_id": {
                    "type": "integer"
                },
                "partner_order_id": {
                    "type": "string"
                },
                "payment_types": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/booking_form.PaymentType"
                    }
                },
                "upsell_data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/booking_form.UpsellData"
                    }
                }
            }
        },
        "booking_form.UpsellData": {
            "type": "object",
            "properties": {
                "charge_price": {
                    "$ref": "#/definitions/booking_form.UpsellDataPrice"
                },
                "data": {},
                "name": {
                    "type": "string"
                },
                "rule_id": {
                    "type": "integer"
                },
                "uid": {
                    "type": "string"
                }
            }
        },
        "booking_form.UpsellDataPrice": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                }
            }
        },
        "booking_status.Billing": {
            "type": "object",
            "properties": {
                "url": {
                    "type": "string"
                }
            }
        },
        "booking_status.Data3DS": {
            "type": "object",
            "properties": {
                "action_url": {
                    "type": "string"
                },
                "data": {},
                "method": {
                    "type": "string"
                }
            }
        },
        "booking_status.Prepayment": {
            "type": "object",
            "properties": {
                "billing": {
                    "$ref": "#/definitions/booking_status.Billing"
                }
            }
        },
        "booking_status.Request": {
            "type": "object",
            "properties": {
                "partner_order_id": {
                    "type": "string"
                }
            }
        },
        "booking_status.Response": {
            "type": "object",
            "properties": {
                "data_3ds": {
                    "$ref": "#/definitions/booking_status.Data3DS"
                },
                "partner_order_id": {
                    "type": "string"
                },
                "percent": {
                    "type": "integer"
                },
                "prepayment": {
                    "$ref": "#/definitions/booking_status.Prepayment"
                }
            }
        },
        "cancel.AmountInfo": {
            "type": "object",
            "properties": {
                "amount_commission": {
                    "type": "number"
                },
                "amount_gross": {
                    "type": "number"
                },
                "amount_net": {
                    "type": "number"
                }
            }
        },
        "cancel.AmountWithInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "amount_info": {
                    "$ref": "#/definitions/cancel.AmountInfo"
                },
                "currency_code": {
                    "type": "string"
                }
            }
        },
        "cancel.Request": {
            "type": "object",
            "properties": {
                "amount_commission": {
                    "type": "number"
                },
                "partner_order_id": {
                    "type": "string"
                }
            }
        },
        "cancel.ResponseB2B": {
            "type": "object",
            "properties": {
                "amount_payable": {
                    "$ref": "#/definitions/cancel.AmountWithInfo"
                },
                "amount_refunded": {
                    "$ref": "#/definitions/cancel.AmountWithInfo"
                },
                "amount_sell": {
                    "$ref": "#/definitions/cancel.AmountWithInfo"
                }
            }
        },
        "dapi_internal_api_partners_v3_search_prebook_b2b.PrebookResult": {
            "type": "object",
            "properties": {
                "changes": {
                    "$ref": "#/definitions/dapi_internal_api_partners_v3_search_prebook_b2b.PrebookResultChanges"
                },
                "hotels": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.Hotel"
                    }
                },
                "total_hotels": {
                    "type": "integer"
                }
            }
        },
        "dapi_internal_api_partners_v3_search_prebook_b2b.PrebookResultChanges": {
            "type": "object",
            "properties": {
                "price_changed": {
                    "type": "boolean"
                }
            }
        },
        "geo.SerpGeoRequest": {
            "type": "object",
            "properties": {
                "checkin": {
                    "type": "string"
                },
                "checkout": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "filter": {
                    "$ref": "#/definitions/base.Filter"
                },
                "guests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/base.GuestsGroup"
                    }
                },
                "hotels_limit": {
                    "type": "integer"
                },
                "language": {
                    "type": "string"
                },
                "latitude": {
                    "type": "number"
                },
                "longitude": {
                    "type": "number"
                },
                "radius": {
                    "type": "integer"
                },
                "residency": {
                    "type": "string"
                },
                "timeout": {
                    "type": "number"
                },
                "upsells": {
                    "$ref": "#/definitions/base.Upsells"
                }
            }
        },
        "hotel_content_by_ids.AddFee": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "fee_type": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "price_unit": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.AmenityGroup": {
            "type": "object",
            "properties": {
                "amenities": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "group_name": {
                    "type": "string"
                },
                "non_free_amenities": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "hotel_content_by_ids.CheckInCheckOut": {
            "type": "object",
            "properties": {
                "check_in_check_out_type": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Children": {
            "type": "object",
            "properties": {
                "age_end": {
                    "type": "integer"
                },
                "age_start": {
                    "type": "integer"
                },
                "currency": {
                    "type": "string"
                },
                "extra_bed": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.ChildrenMeal": {
            "type": "object",
            "properties": {
                "age_end": {
                    "type": "integer"
                },
                "age_start": {
                    "type": "integer"
                },
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "meal_type": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Cradle": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "integer"
                },
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "price_unit": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Deposit": {
            "type": "object",
            "properties": {
                "availability": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "deposit_type": {
                    "type": "string"
                },
                "payment_type": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "price_unit": {
                    "type": "string"
                },
                "pricing_method": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Electricity": {
            "type": "object",
            "properties": {
                "frequency": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "sockets": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "voltage": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "hotel_content_by_ids.ExtraBed": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "integer"
                },
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "price_unit": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Facts": {
            "type": "object",
            "properties": {
                "electricity": {
                    "$ref": "#/definitions/hotel_content_by_ids.Electricity"
                },
                "floors_number": {
                    "type": "integer"
                },
                "register": {
                    "$ref": "#/definitions/hotel_content_by_ids.Register"
                },
                "rooms_number": {
                    "type": "integer"
                },
                "type": {
                    "type": "string"
                },
                "year_built": {
                    "type": "integer"
                },
                "year_renovated": {
                    "type": "integer"
                }
            }
        },
        "hotel_content_by_ids.HotelContent": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "amenity_groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.AmenityGroup"
                    }
                },
                "check_in_time": {
                    "type": "string"
                },
                "check_in_time_end": {
                    "type": "string"
                },
                "check_out_time": {
                    "type": "string"
                },
                "deleted": {
                    "type": "boolean"
                },
                "description_struct": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.HotelDescription"
                    }
                },
                "distance_center": {
                    "type": "number"
                },
                "email": {
                    "type": "string"
                },
                "facts": {
                    "$ref": "#/definitions/hotel_content_by_ids.Facts"
                },
                "front_desk_time_end": {
                    "type": "string"
                },
                "front_desk_time_start": {
                    "type": "string"
                },
                "hid": {
                    "type": "integer"
                },
                "hotel_chain": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "images_ext": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.ImageExt"
                    }
                },
                "is_closed": {
                    "type": "boolean"
                },
                "is_gender_specification_required": {
                    "type": "boolean"
                },
                "keys_pickup": {
                    "$ref": "#/definitions/hotel_content_by_ids.KeysPickup"
                },
                "kind": {
                    "type": "string"
                },
                "latitude": {
                    "type": "number"
                },
                "longitude": {
                    "type": "number"
                },
                "metapolicy_extra_info": {
                    "type": "string"
                },
                "metapolicy_struct": {
                    "$ref": "#/definitions/hotel_content_by_ids.MetapolicyStruct"
                },
                "name": {
                    "type": "string"
                },
                "payment_methods": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "phone": {
                    "type": "string"
                },
                "policy_struct": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.HotelDescription"
                    }
                },
                "postal_code": {
                    "type": "string"
                },
                "region": {
                    "$ref": "#/definitions/hotel_content_by_ids.RegionContent"
                },
                "room_groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.RoomGroup"
                    }
                },
                "serp_filters": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "star_certificate": {
                    "$ref": "#/definitions/hotel_content_by_ids.StarCertificate"
                },
                "star_rating": {
                    "type": "integer"
                }
            }
        },
        "hotel_content_by_ids.HotelContentWithImages": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "amenity_groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.AmenityGroup"
                    }
                },
                "check_in_time": {
                    "type": "string"
                },
                "check_in_time_end": {
                    "type": "string"
                },
                "check_out_time": {
                    "type": "string"
                },
                "deleted": {
                    "type": "boolean"
                },
                "description_struct": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.HotelDescription"
                    }
                },
                "distance_center": {
                    "type": "number"
                },
                "email": {
                    "type": "string"
                },
                "facts": {
                    "$ref": "#/definitions/hotel_content_by_ids.Facts"
                },
                "front_desk_time_end": {
                    "type": "string"
                },
                "front_desk_time_start": {
                    "type": "string"
                },
                "hid": {
                    "type": "integer"
                },
                "hotel_chain": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "images": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "images_ext": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.ImageExt"
                    }
                },
                "is_closed": {
                    "type": "boolean"
                },
                "is_gender_specification_required": {
                    "type": "boolean"
                },
                "keys_pickup": {
                    "$ref": "#/definitions/hotel_content_by_ids.KeysPickup"
                },
                "kind": {
                    "type": "string"
                },
                "latitude": {
                    "type": "number"
                },
                "longitude": {
                    "type": "number"
                },
                "metapolicy_extra_info": {
                    "type": "string"
                },
                "metapolicy_struct": {
                    "$ref": "#/definitions/hotel_content_by_ids.MetapolicyStruct"
                },
                "name": {
                    "type": "string"
                },
                "payment_methods": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "phone": {
                    "type": "string"
                },
                "policy_struct": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.HotelDescription"
                    }
                },
                "postal_code": {
                    "type": "string"
                },
                "region": {
                    "$ref": "#/definitions/hotel_content_by_ids.RegionContent"
                },
                "room_groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.RoomGroup"
                    }
                },
                "serp_filters": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "star_certificate": {
                    "$ref": "#/definitions/hotel_content_by_ids.StarCertificate"
                },
                "star_rating": {
                    "type": "integer"
                }
            }
        },
        "hotel_content_by_ids.HotelDescription": {
            "type": "object",
            "properties": {
                "paragraphs": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "title": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.HotelsContentRequest": {
            "type": "object",
            "properties": {
                "hids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "language": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.ImageExt": {
            "type": "object",
            "properties": {
                "category_slug": {
                    "type": "string"
                },
                "url": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Internet": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "internet_type": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "price_unit": {
                    "type": "string"
                },
                "work_area": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.KeysPickup": {
            "type": "object",
            "properties": {
                "apartment_extra_information": {
                    "type": "string"
                },
                "apartment_office_address": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "is_contactless": {
                    "type": "boolean"
                },
                "phone": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Meal": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "meal_type": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.MetapolicyStruct": {
            "type": "object",
            "properties": {
                "add_fee": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.AddFee"
                    }
                },
                "check_in_check_out": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.CheckInCheckOut"
                    }
                },
                "children": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Children"
                    }
                },
                "children_meal": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.ChildrenMeal"
                    }
                },
                "cot": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Cradle"
                    }
                },
                "deposit": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Deposit"
                    }
                },
                "extra_bed": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.ExtraBed"
                    }
                },
                "internet": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Internet"
                    }
                },
                "meal": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Meal"
                    }
                },
                "no_show": {
                    "$ref": "#/definitions/hotel_content_by_ids.NoShow"
                },
                "parking": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Parking"
                    }
                },
                "pets": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Pets"
                    }
                },
                "shuttle": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.Shuttle"
                    }
                },
                "visa": {
                    "$ref": "#/definitions/hotel_content_by_ids.Visa"
                }
            }
        },
        "hotel_content_by_ids.NoShow": {
            "type": "object",
            "properties": {
                "availability": {
                    "type": "string"
                },
                "day_period": {
                    "type": "string"
                },
                "time": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Parking": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "price_unit": {
                    "type": "string"
                },
                "territory_type": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Pets": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "pets_type": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "price_unit": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.RegionContent": {
            "type": "object",
            "properties": {
                "country_code": {
                    "type": "string"
                },
                "iata": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Register": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "kind": {
                    "type": "string"
                },
                "link": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "record": {
                    "type": "string"
                },
                "rooms": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.RegisterRoom"
                    }
                },
                "state_registration_number": {
                    "type": "string"
                },
                "status": {
                    "type": "string"
                },
                "status_end_date": {
                    "type": "string"
                },
                "taxpayer_number": {
                    "type": "string"
                },
                "work_time": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.RegisterRoom": {
            "type": "object",
            "properties": {
                "category_type": {
                    "type": "string"
                },
                "rooms_count": {
                    "type": "integer"
                }
            }
        },
        "hotel_content_by_ids.RgExt": {
            "type": "object",
            "properties": {
                "balcony": {
                    "type": "integer"
                },
                "bathroom": {
                    "type": "integer"
                },
                "bedding": {
                    "type": "integer"
                },
                "bedrooms": {
                    "type": "integer"
                },
                "capacity": {
                    "type": "integer"
                },
                "class": {
                    "type": "integer"
                },
                "club": {
                    "type": "integer"
                },
                "family": {
                    "type": "integer"
                },
                "floor": {
                    "type": "integer"
                },
                "quality": {
                    "type": "integer"
                },
                "sex": {
                    "type": "integer"
                },
                "view": {
                    "type": "integer"
                }
            }
        },
        "hotel_content_by_ids.RoomGroup": {
            "type": "object",
            "properties": {
                "images": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "images_ext": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_content_by_ids.ImageExt"
                    }
                },
                "name": {
                    "type": "string"
                },
                "name_struct": {
                    "$ref": "#/definitions/hotel_content_by_ids.RoomGroupName"
                },
                "rg_ext": {
                    "$ref": "#/definitions/hotel_content_by_ids.RgExt"
                },
                "room_amenities": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "room_group_id": {
                    "type": "integer"
                },
                "size": {
                    "type": "number"
                }
            }
        },
        "hotel_content_by_ids.RoomGroupName": {
            "type": "object",
            "properties": {
                "bathroom": {
                    "type": "string"
                },
                "bedding_type": {
                    "type": "string"
                },
                "main_name": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Shuttle": {
            "type": "object",
            "properties": {
                "currency": {
                    "type": "string"
                },
                "destination_type": {
                    "type": "string"
                },
                "inclusion": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "shuttle_type": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.StarCertificate": {
            "type": "object",
            "properties": {
                "certificate_id": {
                    "type": "string"
                },
                "valid_to": {
                    "type": "string"
                }
            }
        },
        "hotel_content_by_ids.Visa": {
            "type": "object",
            "properties": {
                "visa_support": {
                    "type": "string"
                }
            }
        },
        "hotel_ids_by_filter.HotelsFilterResponse": {
            "type": "object",
            "properties": {
                "hids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "hotel_reviews.HotelDetailedReview": {
            "type": "object",
            "properties": {
                "cleanness": {
                    "type": "number"
                },
                "hygiene": {
                    "type": "string"
                },
                "location": {
                    "type": "number"
                },
                "meal": {
                    "type": "number"
                },
                "price": {
                    "type": "number"
                },
                "room": {
                    "type": "number"
                },
                "services": {
                    "type": "number"
                },
                "wifi": {
                    "type": "string"
                }
            }
        },
        "hotel_reviews.HotelReview": {
            "type": "object",
            "properties": {
                "adults": {
                    "type": "integer"
                },
                "author": {
                    "type": "string"
                },
                "children": {
                    "type": "integer"
                },
                "created": {
                    "type": "string"
                },
                "detailed_review": {
                    "$ref": "#/definitions/hotel_reviews.HotelDetailedReview"
                },
                "id": {
                    "type": "integer"
                },
                "images": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "nights": {
                    "type": "integer"
                },
                "rating": {
                    "type": "number"
                },
                "review_minus": {
                    "type": "string"
                },
                "review_plus": {
                    "type": "string"
                },
                "room_name": {
                    "type": "string"
                },
                "traveller_type": {
                    "type": "string"
                },
                "trip_type": {
                    "type": "string"
                }
            }
        },
        "hotel_reviews.HotelWithReviews": {
            "type": "object",
            "properties": {
                "hid": {
                    "type": "integer"
                },
                "id": {
                    "type": "string"
                },
                "reviews": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/hotel_reviews.HotelReview"
                    }
                }
            }
        },
        "hotel_reviews.Request": {
            "type": "object",
            "properties": {
                "hids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "language": {
                    "type": "string"
                }
            }
        },
        "hotels.SerpRequest": {
            "type": "object",
            "properties": {
                "checkin": {
                    "type": "string"
                },
                "checkout": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "filter": {
                    "$ref": "#/definitions/base.Filter"
                },
                "guests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/base.GuestsGroup"
                    }
                },
                "hids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "language": {
                    "type": "string"
                },
                "residency": {
                    "type": "string"
                },
                "timeout": {
                    "type": "number"
                },
                "upsells": {
                    "$ref": "#/definitions/base.Upsells"
                }
            }
        },
        "info.B2BAmountInfo": {
            "type": "object",
            "properties": {
                "amount_commission": {
                    "type": "string"
                },
                "amount_gross": {
                    "type": "string"
                },
                "amount_net": {
                    "type": "string"
                }
            }
        },
        "info.B2BCancellationInfoData": {
            "type": "object",
            "properties": {
                "free_cancellation_before": {
                    "type": "string"
                },
                "policies": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/info.B2BCancellationPolicyData"
                    }
                }
            }
        },
        "info.B2BCancellationPolicyData": {
            "type": "object",
            "properties": {
                "end_at": {
                    "type": "string"
                },
                "penalty": {
                    "$ref": "#/definitions/info.B2BPenalty"
                },
                "start_at": {
                    "type": "string"
                }
            }
        },
        "info.B2BPaymentData": {
            "type": "object",
            "properties": {
                "invoice_id": {
                    "description": "B2B",
                    "type": "integer"
                },
                "invoice_id_v2": {
                    "type": "string"
                },
                "paid_at": {
                    "type": "string"
                },
                "payment_by": {
                    "type": "string"
                },
                "payment_due": {
                    "type": "string"
                },
                "payment_pending": {
                    "type": "string"
                },
                "payment_type": {
                    "type": "string"
                }
            }
        },
        "info.B2BPenalty": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "amount_info": {
                    "description": "B2B",
                    "allOf": [
                        {
                            "$ref": "#/definitions/info.B2BAmountInfo"
                        }
                    ]
                },
                "currency_code": {
                    "type": "string"
                }
            }
        },
        "info.B2BUserData": {
            "type": "object",
            "properties": {
                "arrival_datetime": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "user_comment": {
                    "type": "string"
                }
            }
        },
        "info.DateRange": {
            "type": "object",
            "properties": {
                "from_date": {
                    "type": "string"
                },
                "to_date": {
                    "type": "string"
                }
            }
        },
        "info.GuestData": {
            "type": "object",
            "properties": {
                "age": {
                    "type": "integer"
                },
                "first_name": {
                    "type": "string"
                },
                "first_name_original": {
                    "type": "string"
                },
                "is_child": {
                    "type": "boolean"
                },
                "last_name": {
                    "type": "string"
                },
                "last_name_original": {
                    "type": "string"
                }
            }
        },
        "info.HotelData": {
            "type": "object",
            "properties": {
                "hid": {
                    "type": "integer"
                },
                "id": {
                    "type": "string"
                },
                "order_id": {
                    "type": "string"
                }
            }
        },
        "info.HotelInfoRequest": {
            "type": "object",
            "properties": {
                "hid": {
                    "type": "integer"
                },
                "id": {
                    "type": "string"
                },
                "language": {
                    "type": "string"
                }
            }
        },
        "info.MetaData": {
            "type": "object",
            "properties": {
                "voucher_order_comment": {
                    "type": "string"
                }
            }
        },
        "info.OrderB2B": {
            "type": "object",
            "properties": {
                "agreement_number": {
                    "type": "string"
                },
                "amount_payable": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_payable_vat": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_payable_with_upsells": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_refunded": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_sell": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_sell_b2b2c": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_sell_b2b2c_commission": {
                    "$ref": "#/definitions/partner.Money"
                },
                "api_auth_key_id": {
                    "type": "integer"
                },
                "cancellation_info": {
                    "$ref": "#/definitions/info.B2BCancellationInfoData"
                },
                "cancelled_at": {
                    "type": "string"
                },
                "checkin_at": {
                    "type": "string"
                },
                "checkout_at": {
                    "type": "string"
                },
                "contract_slug": {
                    "type": "string"
                },
                "created_at": {
                    "type": "string"
                },
                "has_tickets": {
                    "type": "boolean"
                },
                "hotel_data": {
                    "$ref": "#/definitions/info.HotelData"
                },
                "invoice_id": {
                    "type": "string"
                },
                "is_cancellable": {
                    "type": "boolean"
                },
                "is_checked": {
                    "type": "boolean"
                },
                "is_package": {
                    "type": "boolean"
                },
                "meta_data": {
                    "$ref": "#/definitions/info.MetaData"
                },
                "modified_at": {
                    "type": "string"
                },
                "nights": {
                    "type": "integer"
                },
                "order_id": {
                    "type": "integer"
                },
                "order_type": {
                    "type": "string"
                },
                "partner_data": {
                    "$ref": "#/definitions/info.PartnerData"
                },
                "payment_data": {
                    "$ref": "#/definitions/info.B2BPaymentData"
                },
                "roomnights": {
                    "type": "integer"
                },
                "rooms_data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/info.RoomData"
                    }
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "type": "string"
                },
                "supplier_data": {
                    "$ref": "#/definitions/info.SupplierData"
                },
                "taxes": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/info.TaxData"
                    }
                },
                "total_vat": {
                    "$ref": "#/definitions/info.TotalVat"
                },
                "upsells": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/info.UpsellData"
                    }
                },
                "user_data": {
                    "$ref": "#/definitions/info.B2BUserData"
                }
            }
        },
        "info.Ordering": {
            "type": "object",
            "properties": {
                "ordering_by": {
                    "type": "string"
                },
                "ordering_type": {
                    "type": "string"
                }
            }
        },
        "info.Pagination": {
            "type": "object",
            "properties": {
                "page_number": {
                    "type": "integer"
                },
                "page_size": {
                    "type": "integer"
                }
            }
        },
        "info.PartnerData": {
            "type": "object",
            "properties": {
                "order_comment": {
                    "type": "string"
                },
                "order_id": {
                    "type": "string"
                }
            }
        },
        "info.Request": {
            "type": "object",
            "properties": {
                "language": {
                    "description": "B2B field",
                    "type": "string"
                },
                "ordering": {
                    "$ref": "#/definitions/info.Ordering"
                },
                "pagination": {
                    "$ref": "#/definitions/info.Pagination"
                },
                "search": {
                    "$ref": "#/definitions/info.Search"
                }
            }
        },
        "info.ResponseB2B": {
            "type": "object",
            "properties": {
                "current_page_number": {
                    "type": "integer"
                },
                "found_orders": {
                    "type": "integer"
                },
                "found_pages": {
                    "type": "integer"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/info.OrderB2B"
                    }
                },
                "total_orders": {
                    "type": "integer"
                },
                "total_pages": {
                    "type": "integer"
                }
            }
        },
        "info.RoomData": {
            "type": "object",
            "properties": {
                "bedding_name": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "guest_data": {
                    "$ref": "#/definitions/info.RoomGuestData"
                },
                "has_breakfast": {
                    "type": "boolean"
                },
                "meal_name": {
                    "type": "string"
                },
                "no_child_meal": {
                    "type": "boolean"
                },
                "room_idx": {
                    "type": "integer"
                },
                "room_name": {
                    "type": "string"
                }
            }
        },
        "info.RoomGuestData": {
            "type": "object",
            "properties": {
                "adults_number": {
                    "type": "integer"
                },
                "children_number": {
                    "type": "integer"
                },
                "guests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/info.GuestData"
                    }
                }
            }
        },
        "info.Search": {
            "type": "object",
            "properties": {
                "cancelled_at": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "checkin_at": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "checkout_at": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "created_at": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "free_cancellation_before": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "modified_at": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "order_ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "paid_at": {
                    "description": "B2B",
                    "allOf": [
                        {
                            "$ref": "#/definitions/info.DateRange"
                        }
                    ]
                },
                "partner_order_ids": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "payment_due": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "payment_pending": {
                    "$ref": "#/definitions/info.DateRange"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "type": "string"
                }
            }
        },
        "info.SupplierData": {
            "type": "object",
            "properties": {
                "confirmation_id": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "order_id": {
                    "type": "string"
                }
            }
        },
        "info.TaxData": {
            "type": "object",
            "properties": {
                "amount_tax": {
                    "$ref": "#/definitions/partner.Money"
                },
                "is_included": {
                    "type": "boolean"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "info.TotalVat": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                },
                "included": {
                    "type": "boolean"
                }
            }
        },
        "info.UpsellData": {
            "type": "object",
            "properties": {
                "amount_payable": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_payable_vat": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_refunded": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_sell": {
                    "$ref": "#/definitions/partner.Money"
                },
                "amount_sell_b2b2c": {
                    "$ref": "#/definitions/partner.Money"
                },
                "cancelled_at": {
                    "type": "string"
                },
                "created_at": {
                    "type": "string"
                },
                "free_cancellation_before": {
                    "type": "string"
                },
                "info": {},
                "order_id": {
                    "type": "integer"
                },
                "order_type": {
                    "type": "string"
                },
                "payment_data": {
                    "$ref": "#/definitions/info.B2BPaymentData"
                },
                "status": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "info_dump.InfoDumpRequest": {
            "type": "object",
            "properties": {
                "inventory": {
                    "description": "InfoDump",
                    "type": "string"
                },
                "language": {
                    "type": "string"
                },
                "type": {
                    "description": "CustomDump",
                    "type": "string"
                }
            }
        },
        "info_dump.InfoDumpResponse": {
            "type": "object",
            "properties": {
                "last_update": {
                    "type": "string"
                },
                "url": {
                    "type": "string"
                }
            }
        },
        "models.FilterValue": {
            "type": "object",
            "properties": {
                "desc": {
                    "type": "string"
                },
                "value": {
                    "type": "string"
                }
            }
        },
        "models.FilterValues": {
            "type": "object",
            "properties": {
                "country": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.FilterValue"
                    }
                },
                "kind": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "language": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.FilterValue"
                    }
                },
                "serp_filter": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.FilterValue"
                    }
                },
                "star_rating": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "multicomplete.Request": {
            "type": "object",
            "properties": {
                "language": {
                    "type": "string"
                },
                "query": {
                    "type": "string"
                }
            }
        },
        "multicomplete.Response": {
            "type": "object",
            "properties": {
                "hotels": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/multicomplete.SuggestHotel"
                    }
                },
                "regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/multicomplete.SuggestRegion"
                    }
                }
            }
        },
        "multicomplete.SuggestHotel": {
            "type": "object",
            "properties": {
                "hid": {
                    "type": "integer"
                },
                "id": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "region_id": {
                    "type": "integer"
                }
            }
        },
        "multicomplete.SuggestRegion": {
            "type": "object",
            "properties": {
                "country_code": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "overview.Endpoint": {
            "type": "object",
            "properties": {
                "endpoint": {
                    "type": "string"
                },
                "is_active": {
                    "type": "boolean"
                },
                "is_limited": {
                    "type": "boolean"
                },
                "requests_number": {
                    "type": "integer"
                },
                "seconds_number": {
                    "type": "integer"
                }
            }
        },
        "partner.Money": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "string"
                },
                "currency_code": {
                    "type": "string"
                }
            }
        },
        "prebook_from_serp.B2BPrebookFromSerpResult": {
            "type": "object",
            "properties": {
                "changes": {
                    "$ref": "#/definitions/prebook_from_serp.PrebookResultChanges"
                },
                "hotels": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/b2b.Hotel"
                    }
                },
                "total_hotels": {
                    "type": "integer"
                }
            }
        },
        "prebook_from_serp.PrebookFromSerpRequest": {
            "type": "object",
            "properties": {
                "hash": {
                    "type": "string"
                },
                "price_increase_percent": {
                    "type": "integer"
                }
            }
        },
        "prebook_from_serp.PrebookResultChanges": {
            "type": "object",
            "properties": {
                "price_changed": {
                    "type": "boolean"
                }
            }
        },
        "proxy.DateRangeRequest": {
            "type": "object",
            "properties": {
                "from_date": {
                    "type": "string",
                    "format": "date"
                },
                "to_date": {
                    "type": "string",
                    "format": "date"
                }
            }
        },
        "proxy.DateTimeRangeRequest": {
            "type": "object",
            "properties": {
                "from_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "to_date": {
                    "type": "string",
                    "format": "date-time"
                }
            }
        },
        "proxy.JSONBody": {
            "type": "object",
            "additionalProperties": true
        },
        "proxy.JSONResponse": {
            "type": "object",
            "properties": {
                "data": {},
                "debug": {
                    "$ref": "#/definitions/v3.Debug"
                },
                "error": {
                    "type": "string"
                },
                "status": {
                    "type": "string"
                }
            }
        },
        "proxy.OrdergroupInfoRequest": {
            "type": "object",
            "properties": {
                "ordering": {
                    "$ref": "#/definitions/proxy.OrdergroupOrderingRequest"
                },
                "pagination": {
                    "$ref": "#/definitions/proxy.PaginationRequest"
                },
                "search": {
                    "$ref": "#/definitions/proxy.OrdergroupSearchRequest"
                }
            }
        },
        "proxy.OrdergroupOrderingRequest": {
            "type": "object",
            "properties": {
                "ordering_by": {
                    "type": "string",
                    "enum": [
                        "invoice_id",
                        "paid_at",
                        "created_at"
                    ]
                },
                "ordering_type": {
                    "type": "string",
                    "enum": [
                        "asc",
                        "desc"
                    ]
                }
            }
        },
        "proxy.OrdergroupSearchRequest": {
            "type": "object",
            "properties": {
                "agreement_number": {
                    "type": "string"
                },
                "created_at": {
                    "$ref": "#/definitions/proxy.DateTimeRangeRequest"
                },
                "invoice_id": {
                    "type": "string"
                },
                "paid_at": {
                    "$ref": "#/definitions/proxy.DateRangeRequest"
                }
            }
        },
        "proxy.PaginationRequest": {
            "type": "object",
            "properties": {
                "page_number": {
                    "type": "integer",
                    "minimum": 1
                },
                "page_size": {
                    "type": "integer",
                    "maximum": 50,
                    "minimum": 1
                }
            }
        },
        "proxy.ProfileIdentityRequest": {
            "type": "object",
            "properties": {
                "email": {
                    "type": "string",
                    "format": "email"
                }
            }
        },
        "proxy.ProfileWriteRequest": {
            "type": "object",
            "properties": {
                "email": {
                    "type": "string",
                    "format": "email"
                },
                "first_name": {
                    "type": "string"
                },
                "last_name": {
                    "type": "string"
                },
                "middle_name": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "csbt_admin",
                        "employee",
                        "finance",
                        "finance-gga",
                        "manager",
                        "master",
                        "self_booker",
                        "sub_agent_supervisor",
                        "supervisor",
                        "travel_manager"
                    ]
                }
            }
        },
        "proxy.WidgetCreateRequest": {
            "type": "object",
            "properties": {
                "brand": {
                    "type": "string"
                },
                "language": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "proxy.WidgetInfoRequest": {
            "type": "object",
            "properties": {
                "widget_hash": {
                    "type": "string"
                }
            }
        },
        "proxy.WidgetUpdateRequest": {
            "type": "object",
            "properties": {
                "brand": {
                    "type": "string"
                },
                "button_color": {
                    "type": "string"
                },
                "button_text_color": {
                    "type": "string"
                },
                "color": {
                    "type": "string"
                },
                "language": {
                    "type": "string"
                },
                "logo": {
                    "type": "boolean"
                },
                "logo_color": {
                    "type": "string"
                },
                "margin": {
                    "type": "boolean"
                },
                "name": {
                    "type": "string"
                },
                "text_color": {
                    "type": "string"
                },
                "widget_hash": {
                    "type": "string"
                },
                "width": {
                    "type": "string"
                }
            }
        },
        "region.SerpRegionRequest": {
            "type": "object",
            "properties": {
                "checkin": {
                    "type": "string"
                },
                "checkout": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "filter": {
                    "$ref": "#/definitions/base.Filter"
                },
                "guests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/base.GuestsGroup"
                    }
                },
                "hotels_limit": {
                    "type": "integer"
                },
                "language": {
                    "type": "string"
                },
                "region_id": {
                    "type": "integer"
                },
                "residency": {
                    "type": "string"
                },
                "timeout": {
                    "type": "number"
                },
                "upsells": {
                    "$ref": "#/definitions/base.Upsells"
                }
            }
        },
        "v3.Debug": {
            "type": "object",
            "properties": {
                "api_endpoint": {
                    "$ref": "#/definitions/v3.DebugEndpoint"
                },
                "api_key_id": {
                    "type": "integer"
                },
                "key_id": {
                    "type": "integer"
                },
                "method": {
                    "type": "string"
                },
                "real_ip": {
                    "type": "string"
                },
                "request": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "request_id": {
                    "type": "string"
                },
                "utcnow": {
                    "type": "string"
                },
                "validation_error": {
                    "type": "string"
                }
            }
        },
        "v3.DebugEndpoint": {
            "type": "object",
            "properties": {
                "endpoint": {
                    "type": "string"
                },
                "is_active": {
                    "type": "boolean"
                },
                "is_limited": {
                    "type": "boolean"
                },
                "remaining": {
                    "type": "integer"
                },
                "requests_number": {
                    "type": "integer"
                },
                "reset": {
                    "type": "string"
                },
                "seconds_number": {
                    "type": "integer"
                }
            }
        },
        "v3.Response": {
            "type": "object",
            "properties": {
                "data": {},
                "debug": {
                    "$ref": "#/definitions/v3.Debug"
                },
                "error": {
                    "type": "string"
                },
                "status": {
                    "type": "string"
                }
            }
        }
    },
    "securityDefinitions": {
        "BasicAuth": {
            "type": "basic"
        }
    }
}