{
    "openapi": "3.0.0",
    "info": {
        "title": "Draydex Apis",
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "http://127.0.0.1:8000/api/v1/",
            "description": "localhost"
        }
    ],
    "paths": {
        "/accessorial-charges": {
            "get": {
                "tags": [
                    "Accessorial Charage"
                ],
                "summary": "Get accessorial charges",
                "operationId": "fafaabf4fae7a4093d93dde14f5fd200",
                "responses": {
                    "200": {
                        "description": "Accessorial charges List"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/get-accessorial": {
            "get": {
                "tags": [
                    "Accessorial"
                ],
                "summary": "get drayage drayage rate accessorial",
                "operationId": "ebbc8911d292f018cc0d7d3c2fbc0074",
                "responses": {
                    "200": {
                        "description": "Accessorial fetched successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carrier-accessorials/{id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "get drayage drayage rate accessorial",
                "operationId": "eadacf9c9da75ff57dd79ee2d45c47fe",
                "responses": {
                    "200": {
                        "description": "Accessorial fetched successfully"
                    }
                }
            }
        },
        "/accessorial-amount": {
            "post": {
                "tags": [
                    "Accessorial"
                ],
                "summary": "Accessorial service cost ",
                "operationId": "65b5cf85762703041b94c631d3fbb07f",
                "responses": {
                    "200": {
                        "description": "Accessorial service cost fetched successfully "
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/upload-accessorial-fee": {
            "post": {
                "tags": [
                    "Accessorial"
                ],
                "summary": "Upload accessorial fee",
                "description": "Upload accessorial fee.",
                "operationId": "upload_accessorial_fee",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "accessorial_file"
                                ],
                                "properties": {
                                    "accessorial_file": {
                                        "type": "file"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Accessorial fees have been uploaded successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/register-customer": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Create customer",
                "description": "Create customer.",
                "operationId": "registerCustomer",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "username",
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "text"
                                    },
                                    "username": {
                                        "type": "text"
                                    },
                                    "email": {
                                        "type": "email"
                                    },
                                    "password": {
                                        "type": "password"
                                    },
                                    "business_company": {
                                        "type": "text"
                                    },
                                    "company_name": {
                                        "type": "text"
                                    },
                                    "dot_number": {
                                        "type": "text"
                                    },
                                    "current_address": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Customer Successfully created",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/register-carrier": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Create carrier",
                "description": "Create carrier.",
                "operationId": "registerCarrier",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "company_name",
                                    "username",
                                    "name",
                                    "email",
                                    "dot_number",
                                    "password"
                                ],
                                "properties": {
                                    "company_name": {
                                        "type": "text"
                                    },
                                    "name": {
                                        "type": "text"
                                    },
                                    "username": {
                                        "type": "text"
                                    },
                                    "email": {
                                        "type": "email"
                                    },
                                    "dot_number": {
                                        "type": "text"
                                    },
                                    "phone": {
                                        "type": "text"
                                    },
                                    "city": {
                                        "type": "text"
                                    },
                                    "state": {
                                        "type": "text"
                                    },
                                    "password": {
                                        "type": "password"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier Successfully created",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/login": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Login user",
                "description": "Login user",
                "operationId": "login",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "username",
                                    "password"
                                ],
                                "properties": {
                                    "username": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "chandracustomer"
                                    },
                                    "password": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "password"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/refresh-token": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Refresh Token",
                "operationId": "2ef7739a14b975b68ca82b523460d3fa",
                "responses": {
                    "200": {
                        "description": "Refresh Token"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/logout": {
            "get": {
                "tags": [
                    "Auth"
                ],
                "summary": "Logout user",
                "description": "Logout user",
                "operationId": "logout",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/update_password": {
            "put": {
                "tags": [
                    "Auth"
                ],
                "summary": "Update user password",
                "description": "Update user password",
                "operationId": "update_password",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "current_password",
                                    "new_password",
                                    "confirm_password"
                                ],
                                "properties": {
                                    "current_password": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "password"
                                    },
                                    "new_password": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "password"
                                    },
                                    "confirm_password": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "password"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/{id}/update": {
            "put": {
                "tags": [
                    "Users"
                ],
                "summary": "Update user Profile",
                "description": "Update user Profile",
                "operationId": "update_profile",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "name"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "xyz"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/": {
            "get": {
                "tags": [
                    "Auth"
                ],
                "summary": "Get list of users",
                "description": "Get list of users",
                "operationId": "get_all_users",
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "limit",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "the page number",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "order  accepts 'asc' or 'desc'",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": "200"
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/auth_user": {
            "get": {
                "tags": [
                    "Auth"
                ],
                "summary": "Get auth user",
                "description": "Get auth user",
                "operationId": "get_auth_user",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "the page number",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "order  accepts 'asc' or 'desc'",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": "200"
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/account/verify/{token}": {
            "get": {
                "tags": [
                    "Auth"
                ],
                "summary": "Verify User email",
                "description": "Verify User email",
                "operationId": "verify_account",
                "parameters": [
                    {
                        "name": "token",
                        "in": "path",
                        "description": "token of user email",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status_code": {
                                            "type": "integer",
                                            "example": "200"
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/users/update-theme": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Theme update",
                "description": "Theme update.",
                "operationId": "update_theme",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "theme"
                                ],
                                "properties": {
                                    "theme": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Theme updated successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/carrier/block": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Block carrier",
                "description": "Block carrier.",
                "operationId": "carrier_block",
                "requestBody": {},
                "responses": {
                    "200": {
                        "description": "Carrier blocked successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/innactive/carrier/ids": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Inactive carrier ids",
                "operationId": "4fc09d6caf14087c98a783941b111577",
                "responses": {
                    "200": {
                        "description": "Inactive carrier ids"
                    }
                }
            }
        },
        "/carriers": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carriers",
                "operationId": "4992d82e7ee4ef9169acf0ab6be5e231",
                "responses": {
                    "200": {
                        "description": "Quotes Listing"
                    }
                }
            }
        },
        "/carriers/records": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carrier all records",
                "operationId": "54c668d98985b638c3b7d157a31cfda1",
                "responses": {
                    "200": {
                        "description": "Carriers Records"
                    }
                }
            }
        },
        "/carriers/details/{id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carrier details",
                "operationId": "0f9efce5badf60a54bc43fef7c973f07",
                "responses": {
                    "200": {
                        "description": "Carrier details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/send-mail": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Sent mail to carrier",
                "description": "Sent mail to carrier.",
                "operationId": "send_mail_to_carriers",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "quote_id",
                                    "carrier_id"
                                ],
                                "properties": {
                                    "quote_id": {
                                        "type": "integer"
                                    },
                                    "carrier_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Mail sent successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/find-ports": {
            "get": {
                "tags": [
                    "Port"
                ],
                "summary": "Get carrier details",
                "operationId": "a4e068b6626d9771819cd249a3ffd1a8",
                "responses": {
                    "200": {
                        "description": "Port details"
                    }
                }
            }
        },
        "/carrier-profile-map": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get market details",
                "operationId": "cdff1abd2856efde19269edc21299abf",
                "responses": {
                    "200": {
                        "description": "Carrier profile map"
                    }
                }
            }
        },
        "/carriers/diesel-price": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "'Regular Gasoline Retail Price",
                "operationId": "e7cd5971f12efbf0f6fc7e5e47a494af",
                "responses": {
                    "200": {
                        "description": "U.S. Gasoline Retail Price "
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/info/details/{carrier_id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "'Carrier info",
                "operationId": "ae8318daf0a99b5f309648f5b9cdcff0",
                "responses": {
                    "200": {
                        "description": "Carrier information "
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/update/service-details/{id}": {
            "put": {
                "tags": [
                    "Carrier"
                ],
                "summary": " add contact",
                "operationId": "update_service_details",
                "responses": {
                    "200": {
                        "description": "Record updated successfully."
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/info/update": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Update carrier info",
                "description": "Update carrier info.",
                "operationId": "carrier_info_update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "bonded",
                                    "chassis",
                                    "transload",
                                    "parking",
                                    "size",
                                    "height",
                                    "is_hazmat",
                                    "carrier_id"
                                ],
                                "properties": {
                                    "bonded": {
                                        "type": "text"
                                    },
                                    "chassis": {
                                        "type": "text"
                                    },
                                    "transload": {
                                        "type": "text"
                                    },
                                    "parking": {
                                        "type": "text"
                                    },
                                    "size": {
                                        "type": "integer"
                                    },
                                    "height": {
                                        "type": "text"
                                    },
                                    "is_hazmat": {
                                        "type": "text"
                                    },
                                    "carrier_id": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier info updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/update/personal-details/{id}": {
            "put": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Update carrier personal details",
                "description": "Update carrier personal details.",
                "operationId": "update_carrier_details",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "first_name",
                                    "last_name",
                                    "phone",
                                    "company_name",
                                    "current_address",
                                    "billing_address"
                                ],
                                "properties": {
                                    "first_name": {
                                        "type": "text"
                                    },
                                    "last_name": {
                                        "type": "text"
                                    },
                                    "phone": {
                                        "type": "text"
                                    },
                                    "company_name": {
                                        "type": "text"
                                    },
                                    "current_address": {
                                        "type": "text"
                                    },
                                    "billing_address": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier personal details updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customer/listing": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Customer",
                "operationId": "8fcd9efa40baa2ce6f4dd7f67730574b",
                "responses": {
                    "200": {
                        "description": "Carrier Customer Listing "
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/all/details": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "All Details",
                "operationId": "b29f5d35f5fe8c5c32a4f4fbdad2913c",
                "responses": {
                    "200": {
                        "description": "Carrier all details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/logo/update": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Upload a logo",
                "operationId": "uploadLogo",
                "requestBody": {
                    "description": "Logo file to upload",
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "properties": {
                                    "logo": {
                                        "description": "Logo file to upload",
                                        "type": "string",
                                        "format": "binary"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier logo updated successfully"
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                }
            }
        },
        "/carriers/get-fsc-percent/{id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "get_carrier_fsc",
                "operationId": "e2bf12983b4565c2b6fbca49ec92df36",
                "responses": {
                    "200": {
                        "description": "Carrier fsc percent"
                    }
                }
            }
        },
        "/carriers/logo/{carrier_id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carrier logo",
                "operationId": "60487334dadf094fac259fe73596831c",
                "responses": {
                    "200": {
                        "description": "Carrier logo"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carrier/log/store": {
            "put": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Carrier log store",
                "description": "Carrier log store.",
                "operationId": "carrire_log_store",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier log store successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/carrier/log/details/{quote_id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carrier log details",
                "operationId": "568451bdb08c8b039d5fbb87f9323fce",
                "responses": {
                    "200": {
                        "description": "Carrier log details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/add-contact/{id}": {
            "put": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Customer add contact",
                "operationId": "update_contact",
                "responses": {
                    "200": {
                        "description": "Contact has been saved."
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/get-contact/{id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get contact details",
                "operationId": "dd05ee62744cbee08cd39a1b8fd605ea",
                "responses": {
                    "200": {
                        "description": "Contact fetched successfully."
                    }
                }
            }
        },
        "/carriers/update/billings-details/{id}": {
            "put": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Update billing details",
                "description": "Update billing details.",
                "operationId": "update_billing_details",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "properties": {
                                    "city": {
                                        "type": "text"
                                    },
                                    "state_code": {
                                        "type": "text"
                                    },
                                    "zip": {
                                        "type": "text"
                                    },
                                    "phone": {
                                        "type": "text"
                                    },
                                    "fax": {
                                        "type": "text"
                                    },
                                    "email": {
                                        "type": "text"
                                    },
                                    "contact": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Mail sent successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/carriers/update/business-details/{id}": {
            "put": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Update billing details",
                "description": "Update billing details.",
                "operationId": "update_business_details",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "properties": {
                                    "city": {
                                        "type": "text"
                                    },
                                    "state_code": {
                                        "type": "text"
                                    },
                                    "zip": {
                                        "type": "text"
                                    },
                                    "phone": {
                                        "type": "text"
                                    },
                                    "web_site": {
                                        "type": "text"
                                    },
                                    "fax": {
                                        "type": "text"
                                    },
                                    "address": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Mail sent successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/carriers/business-details/{id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carrier business details",
                "operationId": "5885fad155ec85aec6a6117f84c460db",
                "responses": {
                    "200": {
                        "description": "Carrier business details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/add-announcement/{id}": {
            "put": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Update billing details",
                "description": "Update billing details.",
                "operationId": "add_announcement",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "announcements"
                                ],
                                "properties": {
                                    "announcements": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier announcements have been added successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/carriers/related/data/{carrier_id}": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Carrier related data",
                "operationId": "de4658f184bdcb2a2a2cea4221c1a059",
                "responses": {
                    "200": {
                        "description": "Carrier related details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/bulletin/update": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Carrier bulletin update",
                "description": "Carrier bulletin update",
                "operationId": "carrier_bulleting_update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "carrier_bulletin",
                                    "carrier_id"
                                ],
                                "properties": {
                                    "carrier_id": {
                                        "type": "integer"
                                    },
                                    "carrier_bulletin": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier bulletin updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carrier/web/update": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Carrier website and scac code updated ",
                "description": "Carrier website and scac code updated ",
                "operationId": "website_scac_update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "business_website",
                                    "carrier_id",
                                    "scac"
                                ],
                                "properties": {
                                    "carrier_id": {
                                        "type": "integer"
                                    },
                                    "business_website": {
                                        "type": "text"
                                    },
                                    "scac": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Carrier website and scac code updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/blocked/carrier/ids": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Blocked carrier ids",
                "operationId": "6550595e03e1c56b2b3a980de623aa95",
                "responses": {
                    "200": {
                        "description": "Blocked carrier ids"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/invite/child/user": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Invite child user",
                "description": "Need to pass token",
                "operationId": "invite_child_user",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "child_email"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "numeric",
                                        "format": "integer",
                                        "example": "2"
                                    },
                                    "child_email": {
                                        "type": "email",
                                        "format": "string",
                                        "example": "draydexchildtesting@yopmail.com"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Invite child user"
                    }
                }
            }
        },
        "/child/user/listing": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Child user listing",
                "description": "Need to pass token",
                "operationId": "child_client_listing",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "parent_id"
                                ],
                                "properties": {
                                    "parent_id": {
                                        "type": "integer",
                                        "default": "2"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Child user listing"
                    }
                }
            }
        },
        "/child/user/details": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Child user details",
                "description": "Need to pass token",
                "operationId": "child_client_details",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "default": "2"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Child user details"
                    }
                }
            }
        },
        "/customers/child/listing": {
            "get": {
                "tags": [
                    "Child Customer"
                ],
                "summary": "Child customer listing",
                "operationId": "3bd30fc98256978a03238376da63af37",
                "responses": {
                    "200": {
                        "description": "Child customer fetched successfully."
                    }
                }
            }
        },
        "/child/create": {
            "post": {
                "tags": [
                    "Child Customer"
                ],
                "summary": "Child customer create",
                "description": "Need to pass token",
                "operationId": "create",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "customer",
                                    "city",
                                    "state",
                                    "phone",
                                    "sales_rep",
                                    "contact",
                                    "email",
                                    "is_sent_rate"
                                ],
                                "properties": {
                                    "customer": {
                                        "type": "text"
                                    },
                                    "city": {
                                        "type": "text"
                                    },
                                    "state": {
                                        "type": "text"
                                    },
                                    "phone": {
                                        "type": "mobile"
                                    },
                                    "sales_rep": {
                                        "type": "text"
                                    },
                                    "contact": {
                                        "type": "text"
                                    },
                                    "email": {
                                        "type": "email"
                                    },
                                    "is_sent_rate": {
                                        "type": "boolean"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Customer create successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/customers/child/delete/{child_id}": {
            "delete": {
                "tags": [
                    "Child Customer"
                ],
                "summary": "Customer deleted succesfully",
                "operationId": "7d9b9baa1643ccc4f890b9885934afe9",
                "responses": {
                    "200": {
                        "description": "Customer deleted succesfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/child/update/{id}": {
            "post": {
                "tags": [
                    "Child Customer"
                ],
                "summary": "Child customer update",
                "description": "Need to pass token",
                "operationId": "update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "customer",
                                    "city",
                                    "state",
                                    "phone",
                                    "sales_rep",
                                    "contact",
                                    "email",
                                    "is_sent_rate"
                                ],
                                "properties": {
                                    "customer": {
                                        "type": "text"
                                    },
                                    "city": {
                                        "type": "text"
                                    },
                                    "state": {
                                        "type": "text"
                                    },
                                    "phone": {
                                        "type": "mobile"
                                    },
                                    "sales_rep": {
                                        "type": "text"
                                    },
                                    "contact": {
                                        "type": "text"
                                    },
                                    "email": {
                                        "type": "email"
                                    },
                                    "is_sent_rate": {
                                        "type": "boolean"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Customer update successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/customers/child/all/{quotes_id}": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Clild Customers",
                "operationId": "b04540b3428a3e6035d1b42977ac736e",
                "responses": {
                    "200": {
                        "description": "Clild Customer list"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/innactive/carriers": {
            "get": {
                "tags": [
                    "Claim Apis"
                ],
                "summary": "Claimed Carrier Listing",
                "operationId": "innactive_carriers",
                "responses": {
                    "200": {
                        "description": "All claimed carrier"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/innactive/carrier/details/{user_id}": {
            "get": {
                "tags": [
                    "Claim Apis"
                ],
                "summary": "Claimed Carrier Details",
                "operationId": "innactive_carrier_details",
                "responses": {
                    "200": {
                        "description": "Claimed carrier details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/search/innactive/carriers": {
            "post": {
                "tags": [
                    "Claim Apis"
                ],
                "summary": "Search inactive carrier",
                "operationId": "search_innactive_carriers",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "properties": {
                                    "billing_company": {
                                        "type": "text"
                                    },
                                    "dot_number": {
                                        "type": "nemeric"
                                    },
                                    "address": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Searched carrier listing",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/claim/innactive/carriers": {
            "post": {
                "tags": [
                    "Claim Apis"
                ],
                "summary": "Search inactive carrier",
                "operationId": "claim_innactive_carriers",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "email",
                                    "password",
                                    "address"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer"
                                    },
                                    "email": {
                                        "type": "email"
                                    },
                                    "password": {
                                        "type": "password"
                                    },
                                    "address": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "You have successfully claimed your account",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/claim/accepted": {
            "post": {
                "tags": [
                    "Claim Apis"
                ],
                "summary": "Claim Accepted",
                "operationId": "claim_accepted",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Your Draydex Account request has been Approved",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/claim/rejected": {
            "post": {
                "tags": [
                    "Claim Apis"
                ],
                "summary": "Claim Rejected",
                "operationId": "claim_rejected",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "message"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer"
                                    },
                                    "message": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Your Draydex Account request has been Rejected",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/all/client": {
            "get": {
                "tags": [
                    "Client"
                ],
                "summary": "Client Listing",
                "operationId": "9cd847403f95862e84508b08c920a7b1",
                "responses": {
                    "200": {
                        "description": "This api provoid  all type user listing"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/client/details/{id}": {
            "get": {
                "tags": [
                    "Client"
                ],
                "summary": "Client Details (id 1 is not allowed)",
                "operationId": "93bebce399a97fc8640965b432ae70de",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "example": "2"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Provoid  details about client"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/subscription/details/update": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Subscription details update",
                "description": "Need to pass token",
                "operationId": "subscription_details_update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "max_clild",
                                    "advance_child_limit",
                                    "is_verify"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "default": "2"
                                    },
                                    "max_clild": {
                                        "type": "integer",
                                        "default": "2"
                                    },
                                    "advance_child_limit": {
                                        "type": "integer",
                                        "default": "1"
                                    },
                                    "is_verify": {
                                        "type": "integer",
                                        "default": "1"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Subscription details updated"
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/subscription/status/update": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Subscription status change",
                "description": "Need to pass token",
                "operationId": "subscription_status_update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "is_premium"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "default": "2"
                                    },
                                    "is_premium": {
                                        "type": "integer",
                                        "default": "1"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Subscription status updated"
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/general/info/update": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "General info update",
                "description": "Need to pass token",
                "operationId": "general_info_update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "is_active",
                                    "scac_code",
                                    "business_company",
                                    "business_phone",
                                    "business_fax",
                                    "business_city",
                                    "business_state_code",
                                    "business_zip",
                                    "business_web_site",
                                    "business_address"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "default": "4"
                                    },
                                    "is_active": {
                                        "type": "integer",
                                        "default": "1"
                                    },
                                    "scac_code": {
                                        "type": "text",
                                        "default": "XOPS345HFN"
                                    },
                                    "business_company": {
                                        "type": "text",
                                        "default": "Test business company"
                                    },
                                    "business_phone": {
                                        "type": "integer",
                                        "default": "8574833814"
                                    },
                                    "business_fax": {
                                        "type": "integer",
                                        "default": "12417"
                                    },
                                    "city": {
                                        "type": "text",
                                        "default": "Lucknow"
                                    },
                                    "state": {
                                        "type": "integer",
                                        "default": "CA"
                                    },
                                    "business_zip": {
                                        "type": "integer",
                                        "default": "228733"
                                    },
                                    "business_web_site": {
                                        "type": "text",
                                        "default": "businessweb.com"
                                    },
                                    "business_address": {
                                        "type": "text",
                                        "default": "Test business address"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "General info updated",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/billing/info/update": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Billing info update",
                "description": "Need to pass token",
                "operationId": "billing_info_update",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "billing_city",
                                    "billing_state_code",
                                    "billing_zip",
                                    "billing_phone",
                                    "billing_fax",
                                    "billing_email",
                                    "billing_contact"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "default": "2"
                                    },
                                    "billing_city": {
                                        "type": "text",
                                        "default": "Delhi"
                                    },
                                    "billing_state_code": {
                                        "type": "text",
                                        "default": "CA"
                                    },
                                    "billing_zip": {
                                        "type": "integer",
                                        "default": "228733"
                                    },
                                    "billing_phone": {
                                        "type": "text",
                                        "default": "869843465"
                                    },
                                    "billing_fax": {
                                        "type": "integer",
                                        "default": "12417"
                                    },
                                    "billing_email": {
                                        "type": "text",
                                        "default": "testbilling@gmail.com"
                                    },
                                    "billing_contact": {
                                        "type": "text",
                                        "default": "billingcontact@gmail.com"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Billing info updated",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/users/delete": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Client delete",
                "description": "Need to pass token ! Only admin can restore client",
                "operationId": "delete_user",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "default": "2"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Client deleted"
                    }
                }
            }
        },
        "/restore/users": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Restore deleted client",
                "description": "Need to pass token ! Only admin can restore client",
                "operationId": "restore_users",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "user_id"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "default": "2"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Client restored"
                    }
                }
            }
        },
        "/customers/update/website/terms/{id}": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Website and terms update",
                "operationId": "website_and_terms",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "properties": {
                                    "business_address": {
                                        "type": "text"
                                    },
                                    "business_web_site": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "User details updated",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/customers/website": {
            "get": {
                "tags": [
                    "Claim Apis"
                ],
                "summary": "Website details",
                "operationId": "website",
                "responses": {
                    "200": {
                        "description": "Website details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Get customer records",
                "operationId": "9554d082b82e98218169c47c4f483d6f",
                "responses": {
                    "200": {
                        "description": "Customer listing"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/details/{id}": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Get carrier details",
                "operationId": "3b0843f9f0adf2051806e3813ee3031b",
                "responses": {
                    "200": {
                        "description": "Customer details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/add-to-carriers": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Add to carriers",
                "description": "Add to carriers.",
                "operationId": "add_to_carriers",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "carrier_id"
                                ],
                                "properties": {
                                    "carrier_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Added to carriers successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/update/business-details/{id}": {
            "put": {
                "tags": [
                    "Customer"
                ],
                "summary": "Update customer",
                "description": "Update customer business details.",
                "operationId": "update_customer_business_details",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "business_city",
                                    "business_state_code",
                                    "business_phone",
                                    "business_zip",
                                    "business_fax",
                                    "business_web_site",
                                    "business_address"
                                ],
                                "properties": {
                                    "business_city": {
                                        "type": "text"
                                    },
                                    "business_state_code": {
                                        "type": "text"
                                    },
                                    "business_phone": {
                                        "type": "text"
                                    },
                                    "business_zip": {
                                        "type": "integer"
                                    },
                                    "business_fax": {
                                        "type": "text"
                                    },
                                    "business_web_site": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Customer updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/update/billings-details/{id}": {
            "put": {
                "tags": [
                    "Customer"
                ],
                "summary": "Update customer",
                "description": "Update customer billing details.",
                "operationId": "update_customer_billings_details",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "billing_city",
                                    "billing_state_code",
                                    "billing_zip",
                                    "billing_phone",
                                    "billing_fax",
                                    "billing_email",
                                    "billing_contact"
                                ],
                                "properties": {
                                    "billing_city": {
                                        "type": "text"
                                    },
                                    "billing_state_code": {
                                        "type": "text"
                                    },
                                    "billing_zip": {
                                        "type": "text"
                                    },
                                    "billing_phone": {
                                        "type": "integer"
                                    },
                                    "billing_fax": {
                                        "type": "text"
                                    },
                                    "billing_email": {
                                        "type": "text"
                                    },
                                    "billing_contact": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Customer updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/update-logo/{id}": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Update customer logo",
                "description": "Update customer logo.",
                "operationId": "update_logo",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "logo"
                                ],
                                "properties": {
                                    "carrier_id": {
                                        "type": "file"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Customer logo updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/get-my-carriers": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "get add to my carrier",
                "operationId": "9c9f57c7324fdfab86515003029a07de",
                "responses": {
                    "200": {
                        "description": "Carrier get successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/carrier/email/log/{quotes_id}": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Email record",
                "operationId": "email_resent_record",
                "responses": {
                    "200": {
                        "description": "Resent email record"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/remove-from-my-carriers/{id}": {
            "delete": {
                "tags": [
                    "Customer"
                ],
                "summary": "Delete from add to my carriers",
                "operationId": "214af841f5729c2d9f3a463d8fe5ecb1",
                "responses": {
                    "200": {
                        "description": "Carrier has been deleted successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/logo/{id}": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "get customer logo",
                "operationId": "072a5b2025a9e80100b7f1608e1ccf1e",
                "responses": {
                    "200": {
                        "description": "Customer logo get successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/parsonal/info/update": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Update personal details",
                "description": "Update personal details.",
                "operationId": "personalInfoUpdate",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "first_name",
                                    "last_name",
                                    "company_name",
                                    "current_address",
                                    "billing_address",
                                    "phone"
                                ],
                                "properties": {
                                    "first_name": {
                                        "type": "text"
                                    },
                                    "last_name": {
                                        "type": "text"
                                    },
                                    "company_name": {
                                        "type": "text"
                                    },
                                    "current_address": {
                                        "type": "text"
                                    },
                                    "billing_address": {
                                        "type": "text"
                                    },
                                    "phone": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Customers personal details updated successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "customers/delete/accessorial/{id}": {
            "delete": {
                "tags": [
                    "Customer"
                ],
                "summary": "Remove accessorial",
                "operationId": "92f08378069967cfa5748355617156a9",
                "responses": {
                    "200": {
                        "description": "Accessorial service has been removed "
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/add-accessorial-charge/{id}": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Customer accessorial service cost ",
                "operationId": "add_accessorial_charge",
                "responses": {
                    "200": {
                        "description": "Quote has been rated successfully. "
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/add-contact": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Customer add contact",
                "operationId": "add_contact",
                "responses": {
                    "200": {
                        "description": "Contact has been saved."
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/get-contact": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Get contact details",
                "operationId": "7d5b6c0d3a6b687532e4d976395e693c",
                "responses": {
                    "200": {
                        "description": "Contact fetched successfully."
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/forget-password": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Fotgot user password",
                "description": "Fotgot user password",
                "operationId": "forget_password",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "email"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "test@gmail.com"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/reset-password": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Reset user password",
                "description": "Reset user password",
                "operationId": "password_reset",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "token",
                                    "email",
                                    "password",
                                    "password_confirmation"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "string",
                                        "format": "string",
                                        "example": ""
                                    },
                                    "password": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "test@gmail.com"
                                    },
                                    "password_confirmation": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "test@1234"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/forget/username": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Fotgot username",
                "description": "Fotgot username",
                "operationId": "forget_username",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "email",
                                    "user_type",
                                    "dot_number",
                                    "address"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "format": "string"
                                    },
                                    "user_type": {
                                        "type": "string",
                                        "format": "string"
                                    },
                                    "dot_number": {
                                        "type": "string",
                                        "format": "string"
                                    },
                                    "address": {
                                        "type": "string",
                                        "format": "string"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/carriers/fuel-surcharge-upload": {
            "post": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Upload fuel surcharge",
                "description": "Upload fuel surcharge.",
                "operationId": "upload_fuel_surcharge",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "file"
                                ],
                                "properties": {
                                    "file": {
                                        "type": "file"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Fuel surcharges have been uploaded successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/fuel-surcharge-upload": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Upload fuel surcharge",
                "description": "Upload fuel surcharge.",
                "operationId": "upload_fuel_surcharges",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "file"
                                ],
                                "properties": {
                                    "file": {
                                        "type": "file"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Fuel surcharges have been uploaded successfully.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/customers/favorite/carrier/email/{quotes_id}": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Carriers fetched successfully",
                "operationId": "favorit_carrier_for_email",
                "responses": {
                    "200": {
                        "description": "Carriers fetched successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/carriers/subscribe": {
            "post": {
                "tags": [
                    "Customer"
                ],
                "summary": "Subscribe carrier",
                "operationId": "subscribe_carrier",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "is_subscribed"
                                ],
                                "properties": {
                                    "is_subscribed": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Subscription status changed successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/ports": {
            "get": {
                "tags": [
                    "Port"
                ],
                "summary": "Get ports",
                "operationId": "d8f4cd5efcbe6d690b14b4efd2d70c94",
                "responses": {
                    "200": {
                        "description": "Ports List"
                    }
                }
            }
        },
        "/market": {
            "post": {
                "tags": [
                    "Port"
                ],
                "summary": "Get ports",
                "operationId": "177c5a2f72177bb7aabfe5acf13e93c0",
                "responses": {
                    "200": {
                        "description": "Ports List"
                    }
                }
            }
        },
        "/all/market": {
            "get": {
                "tags": [
                    "Market"
                ],
                "summary": "All market List",
                "operationId": "c2adb168279110c061059c150ba0aa20",
                "responses": {
                    "200": {
                        "description": "Market List"
                    }
                }
            }
        },
        "/port-details/{id}": {
            "get": {
                "tags": [
                    "Port"
                ],
                "summary": "Get port details",
                "operationId": "fff6411218e56616b938802398f2d555",
                "responses": {
                    "200": {
                        "description": "Ports Details"
                    }
                }
            }
        },
        "/states": {
            "get": {
                "tags": [
                    "State"
                ],
                "summary": "Get state records",
                "operationId": "8548d59592b73d65a5e3542dbdff5a3e",
                "responses": {
                    "200": {
                        "description": "States List"
                    }
                }
            }
        },
        "/countries": {
            "get": {
                "tags": [
                    "Country"
                ],
                "summary": "Get country records",
                "operationId": "0fa90d29cfb90ab38ef619ada0589a76",
                "responses": {
                    "200": {
                        "description": "Countries List"
                    }
                }
            }
        },
        "/cities": {
            "get": {
                "tags": [
                    "City"
                ],
                "summary": "Get cities records",
                "operationId": "a614fe6187181e8dc4911161ff912666",
                "responses": {
                    "200": {
                        "description": "Cities List"
                    }
                }
            }
        },
        "/us-and-canada-states": {
            "get": {
                "tags": [
                    "State"
                ],
                "summary": "Get us and canada state records",
                "operationId": "b4e9abda8fefb6234f8f9ac84d278b3e",
                "responses": {
                    "200": {
                        "description": "US and Canada state List"
                    }
                }
            }
        },
        "/carrier-cities": {
            "get": {
                "tags": [
                    "City"
                ],
                "summary": "Get us cities records",
                "operationId": "e61b207de5a0febcf88c49343e81499f",
                "responses": {
                    "200": {
                        "description": "US cities List"
                    }
                }
            }
        },
        "/terminals": {
            "post": {
                "tags": [
                    "Terminal"
                ],
                "summary": "Get terminal records",
                "operationId": "fb90ef99fdc8b7271213edb6f6726607",
                "responses": {
                    "200": {
                        "description": "Terminals records"
                    }
                }
            }
        },
        "/carriers-for-map": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carrier records",
                "operationId": "957679eb5de320a6aed2de0db83ee455",
                "responses": {
                    "200": {
                        "description": "Carrier records"
                    }
                }
            }
        },
        "/get-carrier-to-send-mail": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get carriers for send mail",
                "operationId": "96d5d2063fb90c2828abf98aaa0c182a",
                "responses": {
                    "200": {
                        "description": "Carrier records"
                    }
                }
            }
        },
        "/haz-classes": {
            "get": {
                "tags": [
                    "Carrier"
                ],
                "summary": "Get hazmat classes",
                "operationId": "cbffd98ec530071239f28e1f0b34ddea",
                "responses": {
                    "200": {
                        "description": "Hazmat classes fetched successfully"
                    }
                }
            }
        },
        "/create-drayage-quotes": {
            "post": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Create drayage quotes",
                "description": "Create drayage quotes.",
                "operationId": "create_drayage_quote",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "port_id",
                                    "user_id",
                                    "type",
                                    "size",
                                    "equipment",
                                    "quantity",
                                    "weight",
                                    "notes",
                                    "notes_for_carrier"
                                ],
                                "properties": {
                                    "port_id": {
                                        "type": "integer"
                                    },
                                    "user_id": {
                                        "type": "integer"
                                    },
                                    "type": {
                                        "type": "text"
                                    },
                                    "size": {
                                        "type": "integer"
                                    },
                                    "equipment": {
                                        "type": "text"
                                    },
                                    "quantity": {
                                        "type": "integer"
                                    },
                                    "weight": {
                                        "type": "decimal"
                                    },
                                    "notes": {
                                        "type": "text"
                                    },
                                    "notes_for_carrier": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Quotes Successfully created",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/get-drayage-quotes": {
            "get": {
                "tags": [
                    "Quotes"
                ],
                "summary": "get drayage quotes",
                "operationId": "0e651c85ac0587fc22a84f9d1e606a62",
                "responses": {
                    "200": {
                        "description": "Drayage Quotes Listing"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/drayage-quote-details/{id}": {
            "get": {
                "tags": [
                    "Quotes"
                ],
                "summary": "get drayage quote details",
                "operationId": "d591992ce6176cafbba34c96957748cd",
                "responses": {
                    "200": {
                        "description": "Drayage Quote Details"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/update-drayage-quote/{id}": {
            "put": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Update drayage quote",
                "description": "Update drayage quote.",
                "operationId": "update_drayage_quote",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "port_id",
                                    "user_id",
                                    "type",
                                    "size",
                                    "equipment",
                                    "quantity",
                                    "weight",
                                    "notes",
                                    "notes_for_carrier"
                                ],
                                "properties": {
                                    "port_id": {
                                        "type": "integer"
                                    },
                                    "type": {
                                        "type": "text"
                                    },
                                    "size": {
                                        "type": "integer"
                                    },
                                    "equipment": {
                                        "type": "integer"
                                    },
                                    "quantity": {
                                        "type": "integer"
                                    },
                                    "weight": {
                                        "type": "decimal"
                                    },
                                    "notes": {
                                        "type": "text"
                                    },
                                    "notes_for_carrier": {
                                        "type": "text"
                                    },
                                    "loading_or_onloading_date": {
                                        "type": "string",
                                        "format": "date"
                                    },
                                    "un_number": {
                                        "type": "number"
                                    },
                                    "ssl": {
                                        "type": "text"
                                    },
                                    "class": {
                                        "type": "text"
                                    },
                                    "pickup_date": {
                                        "type": "string",
                                        "format": "date"
                                    },
                                    "special_services": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Quotes Successfully updated",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/add-carrier-spot-rate": {
            "post": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Add carrier spot rate",
                "description": "Add carrier spot rate.",
                "operationId": "add_carrier_spot_rate",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "linehaul",
                                    "fsc",
                                    "chassis",
                                    "quote_id",
                                    "user_id",
                                    "accessorial_name",
                                    "accessorial_charges_code",
                                    "accessorial_cost",
                                    "carrier_id"
                                ],
                                "properties": {
                                    "linehaul": {
                                        "type": "decimal"
                                    },
                                    "fsc": {
                                        "type": "decimal"
                                    },
                                    "chassis": {
                                        "type": "decimal"
                                    },
                                    "quote_id": {
                                        "type": "integer"
                                    },
                                    "user_id": {
                                        "type": "integer"
                                    },
                                    "accessorial_name": {
                                        "type": "text"
                                    },
                                    "accessorial_charges_code": {
                                        "type": "text"
                                    },
                                    "accessorial_cost": {
                                        "type": "text"
                                    },
                                    "carrier_id": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Quotes Successfully created",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/get-drayage-spot-rate-quotes/{id}": {
            "get": {
                "tags": [
                    "Quotes"
                ],
                "summary": "get drayage spot rate quotes",
                "operationId": "fac85a154c8049eb270d699f10442fb6",
                "responses": {
                    "200": {
                        "description": "Drayage spot rate quote fetched successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/spot-rate-quotes-details/{id}": {
            "post": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Get spot rate details",
                "description": "Get spot rate details.",
                "operationId": "spot_rate_quotes_details",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "rate_id"
                                ],
                                "properties": {
                                    "rate_id": {
                                        "type": "text"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Drayage spot rate details fetched successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/closed-status/{id}": {
            "put": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Closed drayage quote status.",
                "description": "Closed drayage quote status.",
                "operationId": "closed_status",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Quote status updated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/day-out-avg": {
            "get": {
                "tags": [
                    "Quotes"
                ],
                "summary": "get day out average of capacity",
                "operationId": "0898e220bf21464ee83e580eae087a7e",
                "responses": {
                    "200": {
                        "description": "Dayrate of average fetched successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/spot-rate-avg": {
            "get": {
                "tags": [
                    "Quotes"
                ],
                "summary": "get spot rate average",
                "operationId": "c07c3df748fb0f57217ba70d04a8bf32",
                "responses": {
                    "200": {
                        "description": "Spot rate of average fetched successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/find-rates": {
            "get": {
                "tags": [
                    "Quotes"
                ],
                "summary": "get find_rates quotes",
                "operationId": "d9a9aad3637c053ac61b3dc75a3e3aa0",
                "responses": {
                    "200": {
                        "description": "Drayage Quotes Listing"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/delete-quote/{id}": {
            "delete": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Delete Quote",
                "operationId": "413e951815ef44e2b8d4f5ff3262dcdc",
                "responses": {
                    "200": {
                        "description": "Quote has been deleted successfully"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/delete/rate": {
            "post": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Rate delete",
                "operationId": "delete_rate",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "rate_id"
                                ],
                                "properties": {
                                    "rate_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Drayage Rate deleted",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/round-trip": {
            "post": {
                "tags": [
                    "Quotes"
                ],
                "summary": "Round trip miles",
                "operationId": "round_trip",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "port_id",
                                    "lat",
                                    "lng"
                                ],
                                "properties": {
                                    "port_id": {
                                        "type": "integer"
                                    },
                                    "lat": {
                                        "type": "numeric"
                                    },
                                    "lng": {
                                        "type": "numeric"
                                    }
                                },
                                "type": "object"
                            }
                        },
                        "application/json": {
                            "schema": {}
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Round trip miles",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "404": {
                        "description": "Resource Not Found"
                    }
                }
            }
        },
        "/ssl/names/list": {
            "get": {
                "tags": [
                    "SSL"
                ],
                "summary": "Get SSL name",
                "operationId": "a3adaac9af9128f3bf09c83bd4f8eb02",
                "responses": {
                    "200": {
                        "description": "SSl Listing"
                    }
                }
            }
        },
        "/assign/role/to/user": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "You can change the role of any user",
                "description": "Change the role of any user",
                "operationId": "assign_role_to_user",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "role"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "format": "integer",
                                        "example": "2"
                                    },
                                    "role": {
                                        "type": "string",
                                        "format": "string",
                                        "example": "client-customer"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/assign/direct/permission": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "You can assign direct permission to any users",
                "description": "You can assign direct permission to any users",
                "operationId": "assign_direct_permission",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "permissions",
                                    "name",
                                    "phone",
                                    "status"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "integer",
                                        "format": "integer",
                                        "example": "2"
                                    },
                                    "name": {
                                        "type": "string",
                                        "example": "This is name"
                                    },
                                    "phone": {
                                        "type": "integer",
                                        "format": "integer",
                                        "example": "9999999999"
                                    },
                                    "status": {
                                        "type": "integer",
                                        "format": "integer",
                                        "example": "1"
                                    },
                                    "permissions": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "example": [
                                            "Rate Quotes View",
                                            "Rate Quotes Send to Carrier"
                                        ]
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": ""
                                        },
                                        "data": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/user/all/permission": {
            "get": {
                "tags": [
                    "Client"
                ],
                "summary": "My all permissions",
                "operationId": "02cb30ae8cb591dd0bdc54134f91f6e9",
                "responses": {
                    "200": {
                        "description": "This provoid  all permissions for logged in use"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/dradex/all/permission": {
            "get": {
                "tags": [
                    "Client"
                ],
                "summary": "Total permissions in Dradex",
                "operationId": "6d6f1d81b564f2c2c9992aab32dd69fd",
                "responses": {
                    "200": {
                        "description": "This provoid  all permissions for logged in use"
                    }
                },
                "security": [
                    {
                        "apiAuth": []
                    }
                ]
            }
        },
        "/user/status/change": {
            "post": {
                "tags": [
                    "Client"
                ],
                "summary": "Change user status",
                "description": "You can active or inactive any user",
                "operationId": "user_status_update",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "user_id",
                                    "is_active"
                                ],
                                "properties": {
                                    "user_id": {
                                        "type": "numeric",
                                        "format": "integer",
                                        "example": "2"
                                    },
                                    "is_active": {
                                        "type": "numeric",
                                        "format": "integer",
                                        "example": "0"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Status has been changed"
                    }
                }
            }
        },
        "/developer/market/listing": {
            "get": {
                "tags": [
                    "Developer"
                ],
                "summary": "Market Listing",
                "operationId": "e22768bcd25dacd0f0d9d537421253a3",
                "parameters": [
                    {
                        "name": "username",
                        "in": "query",
                        "description": "Username for authentication",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "draydexcustomer"
                        }
                    },
                    {
                        "name": "password",
                        "in": "query",
                        "description": "Password for authentication",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "password"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Market records"
                    }
                }
            }
        },
        "/developer/round/trip/miles": {
            "get": {
                "tags": [
                    "Developer"
                ],
                "summary": "Round Trip Miles",
                "operationId": "14cf3b4597e6345ef8b20c5068113aec",
                "parameters": [
                    {
                        "name": "username",
                        "in": "query",
                        "description": "Username for authentication",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "draydexcustomer"
                        }
                    },
                    {
                        "name": "password",
                        "in": "query",
                        "description": "Password for authentication",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "password"
                        }
                    },
                    {
                        "name": "port_id",
                        "in": "query",
                        "description": "Port id",
                        "required": true,
                        "schema": {
                            "type": "number",
                            "example": 17
                        }
                    },
                    {
                        "name": "lat",
                        "in": "query",
                        "description": "Latitude",
                        "required": true,
                        "schema": {
                            "type": "number",
                            "format": "float",
                            "example": 41.9283761
                        }
                    },
                    {
                        "name": "lng",
                        "in": "query",
                        "description": "Longitude",
                        "required": true,
                        "schema": {
                            "type": "number",
                            "format": "float",
                            "example": -88.0754188
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Round trip miles"
                    }
                }
            }
        },
        "/developer/find/rate": {
            "get": {
                "tags": [
                    "Developer"
                ],
                "summary": "Find Rate",
                "operationId": "37c61ba2758e76431910dce8174d6f55",
                "parameters": [
                    {
                        "name": "username",
                        "in": "query",
                        "description": "Username for authentication",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "draydexcustomer"
                        }
                    },
                    {
                        "name": "password",
                        "in": "query",
                        "description": "Password for authentication",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "password"
                        }
                    },
                    {
                        "name": "port_name",
                        "in": "query",
                        "description": "Port name to filter market listings",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "IL-CHICAGO"
                        }
                    },
                    {
                        "name": "miles_start_range",
                        "in": "query",
                        "description": "Start of miles range",
                        "required": true,
                        "schema": {
                            "type": "number",
                            "format": "float",
                            "example": 48.17
                        }
                    },
                    {
                        "name": "miles_end_range",
                        "in": "query",
                        "description": "End of miles range",
                        "required": true,
                        "schema": {
                            "type": "number",
                            "format": "float",
                            "example": 68.17
                        }
                    },
                    {
                        "name": "original_val",
                        "in": "query",
                        "description": "Original value for reference",
                        "required": true,
                        "schema": {
                            "type": "number",
                            "format": "float",
                            "example": 58.17
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Quick Records"
                    }
                }
            }
        },
        "/developer/quote/create": {
            "post": {
                "tags": [
                    "Developer"
                ],
                "summary": "Quote Create",
                "operationId": "360d0c3c9a93ac512423b73eb4cd9e45",
                "parameters": [
                    {
                        "name": "username",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "draydexcustomer"
                        }
                    },
                    {
                        "name": "password",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "password"
                        }
                    },
                    {
                        "name": "market",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "FL-TAMPA"
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "export",
                                "import"
                            ],
                            "example": "export"
                        }
                    },
                    {
                        "name": "origin_destination",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "Genoa, IL, 60135"
                        }
                    },
                    {
                        "name": "size",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                20,
                                40,
                                45,
                                53
                            ],
                            "example": 20
                        }
                    },
                    {
                        "name": "equipment",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "reefer",
                                "standard",
                                "highcube",
                                "opentop",
                                "flatrack",
                                "isotank",
                                "flex"
                            ],
                            "example": "reefer"
                        }
                    },
                    {
                        "name": "quantity",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 12
                        }
                    },
                    {
                        "name": "weight",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "maximum": 999999,
                            "example": "13"
                        }
                    },
                    {
                        "name": "round_trip_miles",
                        "in": "query",
                        "description": "Optional round trip miles",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "example": "2"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Quote Created"
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "apiAuth": {
                "type": "http",
                "description": "Login with email and password to get the authentication token",
                "name": "Token based Based",
                "in": "header",
                "bearerFormat": "JWT",
                "scheme": "bearer"
            }
        }
    },
    "tags": [
        {
            "name": "Accessorial Charage",
            "description": "Accessorial Charage"
        },
        {
            "name": "Accessorial",
            "description": "Accessorial"
        },
        {
            "name": "Carrier",
            "description": "Carrier"
        },
        {
            "name": "Customer",
            "description": "Customer"
        },
        {
            "name": "Auth",
            "description": "Auth"
        },
        {
            "name": "Users",
            "description": "Users"
        },
        {
            "name": "Port",
            "description": "Port"
        },
        {
            "name": "Client",
            "description": "Client"
        },
        {
            "name": "Child Customer",
            "description": "Child Customer"
        },
        {
            "name": "Claim Apis",
            "description": "Claim Apis"
        },
        {
            "name": "Market",
            "description": "Market"
        },
        {
            "name": "State",
            "description": "State"
        },
        {
            "name": "Country",
            "description": "Country"
        },
        {
            "name": "City",
            "description": "City"
        },
        {
            "name": "Terminal",
            "description": "Terminal"
        },
        {
            "name": "Quotes",
            "description": "Quotes"
        },
        {
            "name": "SSL",
            "description": "SSL"
        },
        {
            "name": "Developer",
            "description": "Developer"
        }
    ]
}