{
  "openapi": "3.0.0",
  "info": {
    "title": "LoopBack Application",
    "version": "1.0.0"
  },
  "paths": {
    "/V1/synchronization/dishs": {
      "post": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "add",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.add"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dishs": {
                    "type": "array"
                  },
                  "setMeas": {
                    "type": "array"
                  },
                  "packageMeal": {
                    "type": "array"
                  },
                  "condiment": {
                    "type": "array"
                  },
                  "condimentGroup": {
                    "type": "array"
                  },
                  "menus": {
                    "type": "array"
                  },
                  "params": {
                    "type": "object",
                    "properties": {
                      "forceUpdate": {
                        "type": "boolean"
                      }
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "DeliverectController.add"
      }
    },
    "/api/v3/employee_class/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "patchStaffRank",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.patchStaffRank"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "open_employee_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "StaffSharkController.patchStaffRank"
      }
    },
    "/api/{businessLocationId}/orders/{orderId}/payment": {
      "put": {
        "x-controller-name": "QodeupController",
        "x-operation-name": "Payment",
        "tags": [
          "QodeupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of QodeupController.Payment"
          }
        },
        "parameters": [
          {
            "name": "businessLocationId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 3
        },
        "operationId": "QodeupController.Payment"
      }
    },
    "/api/{businessLocationId}/orders/{orderId}": {
      "get": {
        "x-controller-name": "QodeupController",
        "x-operation-name": "getOrderId",
        "tags": [
          "QodeupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of QodeupController.getOrderId"
          }
        },
        "parameters": [
          {
            "name": "businessLocationId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "QodeupController.getOrderId"
      }
    },
    "/api/{businessLocationId}/tables/{tableId}": {
      "get": {
        "x-controller-name": "QodeupController",
        "x-operation-name": "getTableInfo",
        "tags": [
          "QodeupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of QodeupController.getTableInfo"
          }
        },
        "parameters": [
          {
            "name": "businessLocationId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "tableId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "QodeupController.getTableInfo"
      }
    },
    "/api/{businessLocationId}/tables": {
      "get": {
        "x-controller-name": "QodeupController",
        "x-operation-name": "getTables",
        "tags": [
          "QodeupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of QodeupController.getTables"
          }
        },
        "parameters": [
          {
            "name": "businessLocationId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "QodeupController.getTables"
      }
    },
    "/login": {
      "post": {
        "x-controller-name": "QodeupController",
        "x-operation-name": "login",
        "tags": [
          "QodeupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of QodeupController.login"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "username": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                },
                "additionalProperties": true,
                "required": [
                  "username",
                  "password"
                ]
              }
            }
          }
        },
        "operationId": "QodeupController.login"
      }
    },
    "/v1/2paynow_back/{shop_order_id}": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "create2PaynowCallback",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.create2PaynowCallback"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "shop_order_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopOrderController.create2PaynowCallback"
      }
    },
    "/v1/2paynow_success/{shop_order_id}": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "create2PaynowSuccessCallback",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.create2PaynowSuccessCallback"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "shop_order_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopOrderController.create2PaynowSuccessCallback"
      }
    },
    "/v1/account/{accountType}/{_id}/credential": {
      "get": {
        "x-controller-name": "CredentialController",
        "x-operation-name": "findCredentialById",
        "tags": [
          "CredentialController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CredentialController.findCredentialById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "accountType",
            "schema": {
              "type": "string",
              "enum": [
                "admin",
                "staff"
              ]
            },
            "required": true
          },
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CredentialController.findCredentialById"
      }
    },
    "/v1/admin/_id/{_id}/admin": {
      "patch": {
        "x-controller-name": "AdminController",
        "x-operation-name": "updateById",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "minProperties": 1,
                "additionalProperties": false,
                "properties": {
                  "first_name": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "nickname": {
                    "type": "string"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  },
                  "isv_client_id": {
                    "type": "string"
                  },
                  "isv_client_secret": {
                    "type": "string"
                  },
                  "isv_fee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "databubble_account": {
                    "type": "string"
                  },
                  "databubble_password": {
                    "type": "string"
                  },
                  "databubble_prefix": {
                    "type": "string"
                  },
                  "client_id": {
                    "type": "string"
                  },
                  "client_secret": {
                    "type": "string"
                  },
                  "qodeup_username": {
                    "type": "string"
                  },
                  "qodeup_password": {
                    "type": "string"
                  },
                  "qodeup_apiKey": {
                    "type": "string"
                  },
                  "fiskaly_organization_key": {
                    "type": "string"
                  },
                  "fiskaly_organization_secret": {
                    "type": "string"
                  },
                  "fiskaly_live_organization_key": {
                    "type": "string"
                  },
                  "fiskaly_live_organization_secret": {
                    "type": "string"
                  },
                  "fiskaly_is_live": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AdminController.updateById"
      }
    },
    "/v1/admin/_id/{_id}/avatar": {
      "patch": {
        "x-controller-name": "AdminController",
        "x-operation-name": "updateAvatar",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.updateAvatar"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AdminController.updateAvatar"
      }
    },
    "/v1/admin/_id/{_id}": {
      "get": {
        "x-controller-name": "AdminController",
        "x-operation-name": "findById",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AdminController.findById"
      },
      "delete": {
        "x-controller-name": "AdminController",
        "x-operation-name": "deleteById",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.deleteById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AdminController.deleteById"
      }
    },
    "/v1/admin/bind/phone/{info}": {
      "get": {
        "x-controller-name": "AdminController",
        "x-operation-name": "bindAdmin",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.bindAdmin"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "info",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AdminController.bindAdmin"
      }
    },
    "/v1/admin/password/current": {
      "patch": {
        "x-controller-name": "AdminController",
        "x-operation-name": "updatePasswordByCurrentPassword",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.updatePasswordByCurrentPassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "currentPassword": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  },
                  "newPassword": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  }
                },
                "required": [
                  "_id",
                  "currentPassword",
                  "newPassword"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "AdminController.updatePasswordByCurrentPassword"
      }
    },
    "/v1/admin/password": {
      "post": {
        "x-controller-name": "AdminController",
        "x-operation-name": "updatePassword",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.updatePassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "SIGN_UP_BY_PHONE",
                      "SIGN_UP_BY_EMAIL",
                      "SIGN_IN_BY_PHONE",
                      "SIGN_IN_BY_EMAIL",
                      "RESET_PASSWORD_BY_PHONE",
                      "RESET_PASSWORD_BY_EMAIL",
                      "BIND_PHONE",
                      "BIND_EMAIL"
                    ]
                  },
                  "vcode": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string",
                    "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                  },
                  "password": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  }
                }
              }
            }
          }
        },
        "operationId": "AdminController.updatePassword"
      }
    },
    "/v1/admin/relatedIsvRestaurants": {
      "get": {
        "x-controller-name": "AdminController",
        "x-operation-name": "getRelatedIsvRestaurants",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.getRelatedIsvRestaurants"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "nickname",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "join_isv",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "AdminController.getRelatedIsvRestaurants"
      }
    },
    "/v1/admin/vcode": {
      "post": {
        "x-controller-name": "AdminController",
        "x-operation-name": "grantVcode",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.grantVcode"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "SIGN_UP_BY_PHONE",
                          "SIGN_IN_BY_PHONE",
                          "RESET_PASSWORD_BY_PHONE"
                        ]
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "message": {
                        "type": "string",
                        "maxLength": 30,
                        "minLength": 5
                      }
                    },
                    "required": [
                      "type",
                      "phone",
                      "message"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "AdminController.grantVcode"
      }
    },
    "/v1/admin/{_id}/avatar": {
      "get": {
        "x-controller-name": "AdminController",
        "x-operation-name": "getAvatar",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.getAvatar"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "AdminController.getAvatar"
      }
    },
    "/v1/admin": {
      "post": {
        "x-controller-name": "AdminController",
        "x-operation-name": "createOne",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "nickname": {
                        "type": "string",
                        "pattern": "^.{1,120}$"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      }
                    },
                    "required": [
                      "nickname"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      },
                      "vcode": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "phone"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "AdminController.createOne"
      },
      "get": {
        "x-controller-name": "AdminController",
        "x-operation-name": "findByInfo",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.findByInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "in": "query",
            "name": "phone",
            "schema": {
              "type": "string",
              "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
            }
          },
          {
            "in": "query",
            "name": "first_name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "last_name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "gender",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2"
              ]
            }
          }
        ],
        "operationId": "AdminController.findByInfo"
      }
    },
    "/v1/agreement/upload": {
      "post": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "uploadAgreementByShareLink",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.uploadAgreementByShareLink"
          }
        },
        "parameters": [
          {
            "name": "t",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.uploadAgreementByShareLink"
      }
    },
    "/v1/agreement/validate-link": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "validateLink",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.validateLink"
          }
        },
        "parameters": [
          {
            "name": "t",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "password",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RestautantController.validateLink"
      }
    },
    "/v1/app/_id/{_id}/basic_info": {
      "patch": {
        "x-controller-name": "AppController",
        "x-operation-name": "updateBasicInfo",
        "tags": [
          "AppController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppController.updateBasicInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "type": {
                    "type": "string"
                  },
                  "short_introduction": {
                    "type": "string"
                  },
                  "full_introduction": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppController.updateBasicInfo"
      }
    },
    "/v1/app/_id/{_id}": {
      "get": {
        "x-controller-name": "AppController",
        "x-operation-name": "findById",
        "tags": [
          "AppController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AppController.findById"
      }
    },
    "/v1/app/{_id}": {
      "delete": {
        "x-controller-name": "AppController",
        "x-operation-name": "deleteById",
        "tags": [
          "AppController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppController.deleteById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AppController.deleteById"
      }
    },
    "/v1/app": {
      "post": {
        "x-controller-name": "AppController",
        "x-operation-name": "createOne",
        "tags": [
          "AppController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "type": {
                    "type": "string"
                  },
                  "short_introduction": {
                    "type": "string"
                  },
                  "full_introduction": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "type"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "AppController.createOne"
      },
      "get": {
        "x-controller-name": "AppController",
        "x-operation-name": "findByBasicInfo",
        "tags": [
          "AppController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppController.findByBasicInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "short_introduction",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "full_introduction",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppController.findByBasicInfo"
      }
    },
    "/v1/auth/admin/token": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "grantAdminToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.grantAdminToken"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AuthController.grantAdminToken"
      }
    },
    "/v1/auth/reseller/token": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "grantResellerToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.grantResellerToken"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AuthController.grantResellerToken"
      }
    },
    "/v1/auth/staff/token": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "grantEmployeeToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.grantEmployeeToken"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AuthController.grantEmployeeToken"
      }
    },
    "/v1/auth/token/metadata": {
      "get": {
        "x-controller-name": "AuthController",
        "x-operation-name": "getTokenMetaData",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.getTokenMetaData"
          }
        },
        "operationId": "AuthController.getTokenMetaData"
      }
    },
    "/v1/auth/token": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "grantToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.grantToken"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AuthController.grantToken"
      }
    },
    "/v1/cloud/restaurant/{string_id}/risk": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "get",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.get"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "time_type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort_key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort_value",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "risk_types",
            "required": false,
            "schema": {
              "type": "array",
              "items": [
                1,
                2,
                3,
                4,
                5
              ]
            }
          },
          {
            "in": "query",
            "name": "event_types",
            "required": false,
            "schema": {
              "type": "array",
              "items": [
                1,
                2
              ]
            }
          },
          {
            "in": "query",
            "name": "operator_name",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "table_name",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "RestaurantInfoController.get"
      }
    },
    "/v1/cloud/restaurant/{string_id}/risk_order": {
      "patch": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "UPDATE",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.UPDATE"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "target_type": {
                    "type": "string",
                    "enum": [
                      "ORDER",
                      "EVENT"
                    ]
                  },
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "id": {
                    "type": "number"
                  },
                  "operator_name": {
                    "type": "string",
                    "maxLength": 64
                  },
                  "remark": {
                    "type": "string",
                    "maxLength": 255
                  }
                },
                "required": [
                  "target_type",
                  "status",
                  "operator_name",
                  "id"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestaurantInfoController.UPDATE"
      }
    },
    "/v1/cloud-set-sw2p5/{string_id}/get_cache_data": {
      "get": {
        "x-controller-name": "CloudSetController",
        "x-operation-name": "getCacheData",
        "tags": [
          "CloudSetController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CloudSetController.getCacheData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "type",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CloudSetController.getCacheData"
      }
    },
    "/v1/cloud-set-sw2p5/{string_id}/send_data_request": {
      "post": {
        "x-controller-name": "CloudSetController",
        "x-operation-name": "getFirstMenus",
        "tags": [
          "CloudSetController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CloudSetController.getFirstMenus"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "method": {
                      "type": "string"
                    },
                    "body": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": true
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CloudSetController.getFirstMenus"
      }
    },
    "/v1/consume/records/condition": {
      "get": {
        "x-controller-name": "ConsumeRecordsController",
        "x-operation-name": "condition",
        "tags": [
          "ConsumeRecordsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ConsumeRecordsController.condition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "operate_name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "reseller_name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            }
          },
          {
            "in": "query",
            "name": "start_date",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "in": "query",
            "name": "end_date",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "key",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "time_zone",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "operationId": "ConsumeRecordsController.condition"
      }
    },
    "/v1/core/restaurant/core-file-and-aes-key-by-lhn": {
      "post": {
        "x-controller-name": "CoreController",
        "x-operation-name": "getCoreFileByRestaurant",
        "tags": [
          "CoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CoreController.getCoreFileByRestaurant"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "decryptedDeviceMac": {
                    "type": "string"
                  }
                },
                "required": [
                  "decryptedDeviceMac"
                ]
              }
            }
          }
        },
        "operationId": "CoreController.getCoreFileByRestaurant"
      }
    },
    "/v1/core/restaurant/core-file-log-by-lhn": {
      "get": {
        "x-controller-name": "CoreFileLogController",
        "x-operation-name": "findByLHNCondition",
        "tags": [
          "CoreFileLogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CoreFileLogController.findByLHNCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "daoperatorFirstNamete",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorLastName",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorIp",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorMac",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "create_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "CoreFileLogController.findByLHNCondition"
      }
    },
    "/v1/core/restaurant/{restaurant_string_id}/core-file-and-aes-key-by-admin": {
      "post": {
        "x-controller-name": "CoreController",
        "x-operation-name": "getCoreFile",
        "tags": [
          "CoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CoreController.getCoreFile"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "restaurant_string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "decryptedDeviceMac": {
                    "type": "string"
                  }
                },
                "required": [
                  "decryptedDeviceMac"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CoreController.getCoreFile"
      }
    },
    "/v1/core/restaurant/{restaurant_string_id}/core-file-log-by-admin": {
      "get": {
        "x-controller-name": "CoreFileLogController",
        "x-operation-name": "findByAdminCondition",
        "tags": [
          "CoreFileLogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CoreFileLogController.findByAdminCondition"
          }
        },
        "parameters": [
          {
            "name": "restaurant_string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorFirstName",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorLastName",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorIp",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "operatorMac",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "create_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "CoreFileLogController.findByAdminCondition"
      }
    },
    "/v1/core/restaurant/{restaurant_string_id}/rsa-private-key-by-admin": {
      "get": {
        "x-controller-name": "CoreController",
        "x-operation-name": "getRsaPrivateKeyByAdmin",
        "tags": [
          "CoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CoreController.getRsaPrivateKeyByAdmin"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "restaurant_string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "decrypted_device_mac",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CoreController.getRsaPrivateKeyByAdmin"
      }
    },
    "/v1/core/shark/decryption/password": {
      "get": {
        "x-controller-name": "CoreController",
        "x-operation-name": "sharkDecryptionPassword",
        "tags": [
          "CoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CoreController.sharkDecryptionPassword"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "shark_password",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CoreController.sharkDecryptionPassword"
      }
    },
    "/v1/create_table/his_payment_queue": {
      "post": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "createTableHis",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.createTableHis"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array"
                  }
                },
                "additionalProperties": true,
                "required": []
              }
            }
          }
        },
        "operationId": "DataAnalysisController.createTableHis"
      }
    },
    "/v1/credential": {
      "patch": {
        "x-controller-name": "CredentialController",
        "x-operation-name": "createCredential",
        "tags": [
          "CredentialController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CredentialController.createCredential"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "accountType": {
                    "type": "string",
                    "enum": [
                      "STAFF",
                      "ADMIN",
                      "RESELLER"
                    ]
                  },
                  "credentials": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "ADMIN"
                              ]
                            },
                            "level": {
                              "type": "string",
                              "enum": [
                                "1",
                                "2",
                                "3"
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "GROUP_MANAGEMENT"
                              ]
                            },
                            "belonged_group_id": {
                              "type": "string"
                            },
                            "belonged_group_string_id": {
                              "type": "string"
                            },
                            "delete_restaurant": {
                              "type": "boolean"
                            },
                            "delete_non_supervisor_staff": {
                              "type": "boolean"
                            },
                            "update_supervisor_staff": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "RESTAURANT_MANAGEMENT"
                              ]
                            },
                            "belonged_restaurant_id": {
                              "type": "string"
                            },
                            "belonged_restaurant_string_id": {
                              "type": "string"
                            },
                            "update_staff": {
                              "type": "boolean"
                            },
                            "delete_staff": {
                              "type": "boolean"
                            },
                            "create_staff": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "credentials",
                  "accountType",
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "CredentialController.createCredential"
      },
      "delete": {
        "x-controller-name": "CredentialController",
        "x-operation-name": "deleteOneCredential",
        "tags": [
          "CredentialController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CredentialController.deleteOneCredential"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "accountType": {
                    "type": "string",
                    "enum": [
                      "STAFF",
                      "ADMIN",
                      "RESELLER"
                    ]
                  },
                  "credentials": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "GROUP_MANAGEMENT"
                              ]
                            },
                            "belonged_group_string_id": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "RESTAURANT_MANAGEMENT"
                              ]
                            },
                            "belonged_restaurant_string_id": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "credentials",
                  "accountType",
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "CredentialController.deleteOneCredential"
      }
    },
    "/v1/critical_operations": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "findCriticalOperations",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.findCriticalOperations"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "admin_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "admin_nickname",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "belonged_group_nickname",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "belonged_group",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "belonged_restaurant_nickname",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "belonged_restaurant",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "operation_type",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "ADD_WARRANT",
                  "CANCEL_WARRANT",
                  "Add_GybDevice",
                  "Delete_GybDevice",
                  "Default_GybDevice",
                  "Add_SecretKey",
                  "Refresh_SecretKey",
                  "Delete_SecretKey",
                  "Replace_Group",
                  "Delete_Staff",
                  "Add_Staff",
                  "Update_Staff",
                  "Bind_Restaurant",
                  "Unbind_Restaurant",
                  "Update_Password"
                ]
              }
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "required": false
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "operation_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "time_zone",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "WarrantController.findCriticalOperations"
      }
    },
    "/v1/data-analysis/res_string_id/{res_string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "findByStringId",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.findByStringId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "res_string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DataAnalysisController.findByStringId"
      }
    },
    "/v1/data-analysis": {
      "patch": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "createOne",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "current_data": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "res_string_id",
                      "current_data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "history_period": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "res_string_id",
                      "history_period"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "history_cancelled_period": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      }
                    },
                    "required": [
                      "res_string_id",
                      "history_cancelled_period"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "history_restaurant_dish": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      }
                    },
                    "required": [
                      "res_string_id",
                      "history_restaurant_dish"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "history_cancelled_dish": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      }
                    },
                    "required": [
                      "res_string_id",
                      "history_cancelled_dish"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "critical_operation": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      }
                    },
                    "required": [
                      "res_string_id",
                      "critical_operation"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "history_efficiency_period": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      }
                    },
                    "required": [
                      "res_string_id",
                      "history_efficiency_period"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "history_restaurant_service": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      }
                    },
                    "required": [
                      "res_string_id",
                      "history_restaurant_service"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "DataAnalysisController.createOne"
      }
    },
    "/v1/data-analysis-sw2p5/critical-operation/period/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "analyzeCriticalOperation",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.analyzeCriticalOperation"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.analyzeCriticalOperation"
      }
    },
    "/v1/data-analysis-sw2p5/current-data/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "getCurrentData",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.getCurrentData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.getCurrentData"
      }
    },
    "/v1/data-analysis-sw2p5/efficiency/period/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "servingEfficiency",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.servingEfficiency"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.servingEfficiency"
      }
    },
    "/v1/data-analysis-sw2p5/history/period/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "analyzeHistoryOrder",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.analyzeHistoryOrder"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.analyzeHistoryOrder"
      }
    },
    "/v1/data-analysis-sw2p5/history-cancelled/dish/period/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "analyzeHistoryDishCancelled",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.analyzeHistoryDishCancelled"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.analyzeHistoryDishCancelled"
      }
    },
    "/v1/data-analysis-sw2p5/history-cancelled/period/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "analyzeHistoryCancelled",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.analyzeHistoryCancelled"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.analyzeHistoryCancelled"
      }
    },
    "/v1/data-analysis-sw2p5/restaurant-dish/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "restaurantDish",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.restaurantDish"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.restaurantDish"
      }
    },
    "/v1/data-analysis-sw2p5/restaurant-service/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "restaurantService",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.restaurantService"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.restaurantService"
      }
    },
    "/v1/data-analysis-sw2p5/{string_id}/refresh": {
      "get": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "refreshAnalysisData",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.refreshAnalysisData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DataAnalysisSw2p5Controller.refreshAnalysisData"
      }
    },
    "/v1/data-analysis-sw2p5": {
      "patch": {
        "x-controller-name": "DataAnalysisSw2p5Controller",
        "x-operation-name": "createOne",
        "tags": [
          "DataAnalysisSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisSw2p5Controller.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "res_string_id": {
                        "type": "string"
                      },
                      "current_data": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "res_string_id",
                      "current_data"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "DataAnalysisSw2p5Controller.createOne"
      }
    },
    "/v1/data_analysis/{string_id}/refresh": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "refreshAnalysisData",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.refreshAnalysisData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "data_type",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.refreshAnalysisData"
      }
    },
    "/v1/dealer/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "DealerController",
        "x-operation-name": "updateInfo",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.updateInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "lable": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "local": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string",
                    "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                  },
                  "tel": {
                    "type": "string"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DealerController.updateInfo"
      }
    },
    "/v1/dealer/_id/{_id}/logo": {
      "patch": {
        "x-controller-name": "DealerController",
        "x-operation-name": "updateLogo",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.updateLogo"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DealerController.updateLogo"
      },
      "get": {
        "x-controller-name": "DealerController",
        "x-operation-name": "getLogo",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.getLogo"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "DealerController.getLogo"
      }
    },
    "/v1/dealer/_id/{_id}/supervisor": {
      "patch": {
        "x-controller-name": "DealerController",
        "x-operation-name": "updateBySupervisor",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.updateBySupervisor"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "supervisor": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DealerController.updateBySupervisor"
      }
    },
    "/v1/dealer/_id/{_id}": {
      "get": {
        "x-controller-name": "DealerController",
        "x-operation-name": "findById",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DealerController.findById"
      },
      "delete": {
        "x-controller-name": "DealerController",
        "x-operation-name": "deleteById",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.deleteById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DealerController.deleteById"
      }
    },
    "/v1/dealer/album/_id/{_id}/index/{index}": {
      "patch": {
        "x-controller-name": "DealerController",
        "x-operation-name": "updateAlbum",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.updateAlbum"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "DealerController.updateAlbum"
      },
      "get": {
        "x-controller-name": "DealerController",
        "x-operation-name": "getAlbum",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.getAlbum"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "DealerController.getAlbum"
      },
      "delete": {
        "x-controller-name": "DealerController",
        "x-operation-name": "deleteAlbum",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.deleteAlbum"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "operationId": "DealerController.deleteAlbum"
      }
    },
    "/v1/dealer": {
      "post": {
        "x-controller-name": "DealerController",
        "x-operation-name": "createOne",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "nickname"
                ]
              }
            }
          }
        },
        "operationId": "DealerController.createOne"
      },
      "get": {
        "x-controller-name": "DealerController",
        "x-operation-name": "findByBasicInfo",
        "tags": [
          "DealerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DealerController.findByBasicInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "description",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lable",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "local",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "postcode",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "type": "string",
              "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
            }
          },
          {
            "in": "query",
            "name": "tel",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DealerController.findByBasicInfo"
      }
    },
    "/v1/deliverect/dishs": {
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "getdishs",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.getdishs"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "max_results",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "DeliverectController.getdishs"
      }
    },
    "/v1/deliverect/log": {
      "post": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "getDeliverectLog",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.getDeliverectLog"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "detail": {
                    "type": "object"
                  },
                  "operator": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "type",
                  "detail"
                ]
              }
            }
          }
        },
        "operationId": "DeliverectController.getDeliverectLog"
      },
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "postDeliverectLog",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.postDeliverectLog"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "operator",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "group_nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "operationId": "DeliverectController.postDeliverectLog"
      }
    },
    "/v1/deliverect_order/condition": {
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "deliverectOrder",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.deliverectOrder"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DeliverectController.deliverectOrder"
      }
    },
    "/v1/deliverect_order/{_id}": {
      "delete": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "delDeliverectOrder",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.delDeliverectOrder"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DeliverectController.delDeliverectOrder"
      }
    },
    "/v1/devdata/refres": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "refres",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.refres"
          }
        },
        "operationId": "TestController.refres"
      }
    },
    "/v1/devdata/reset": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "reset",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.reset"
          }
        },
        "operationId": "TestController.reset"
      }
    },
    "/v1/fiskaly/pdf/info": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "getResFiskalyPdfInfo",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.getResFiskalyPdfInfo"
          }
        },
        "operationId": "PublicController.getResFiskalyPdfInfo"
      }
    },
    "/v1/get/login/operations": {
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "getLoginOperations",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.getLoginOperations"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "operation_nickname",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "phone",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "belonged_group",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "operation_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "LogController.getLoginOperations"
      }
    },
    "/v1/get-version/info": {
      "get": {
        "x-controller-name": "VersionControlController",
        "x-operation-name": "getAppVersion",
        "tags": [
          "VersionControlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of VersionControlController.getAppVersion"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "VersionControlController.getAppVersion"
      }
    },
    "/v1/goods/album/_id/{_id}/index/{index}": {
      "patch": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "updateAlbum",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.updateAlbum"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ShopItemController.updateAlbum"
      },
      "get": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "getAlbums",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.getAlbums"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "ShopItemController.getAlbums"
      },
      "delete": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "deleteAlbum",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.deleteAlbum"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "operationId": "ShopItemController.deleteAlbum"
      }
    },
    "/v1/group/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "updateInfo",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.updateInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "string"
                  },
                  "label": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "local": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "phone_prefix": {
                    "type": "string"
                  },
                  "tel": {
                    "type": "string"
                  },
                  "home_number": {
                    "type": "string"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "deleted_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GroupController.updateInfo"
      }
    },
    "/v1/group/_id/{_id}/logo": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "updateLogo",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.updateLogo"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GroupController.updateLogo"
      },
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "getLogo",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.getLogo"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "GroupController.getLogo"
      }
    },
    "/v1/group/_id/{_id}": {
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "findById",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GroupController.findById"
      },
      "delete": {
        "x-controller-name": "GroupController",
        "x-operation-name": "deleteById",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.deleteById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GroupController.deleteById"
      }
    },
    "/v1/group/album/_id/{_id}/index/{index}": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "updateAlbum",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.updateAlbum"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "GroupController.updateAlbum"
      },
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "getAlbum",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.getAlbum"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "GroupController.getAlbum"
      },
      "delete": {
        "x-controller-name": "GroupController",
        "x-operation-name": "deleteAlbum",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.deleteAlbum"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "operationId": "GroupController.deleteAlbum"
      }
    },
    "/v1/group/condition": {
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "findByCondition",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.findByCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "in": "query",
            "name": "description",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "label",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "local",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "postcode",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tel",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "is_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id",
                "nickname",
                "deleted_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "operationId": "GroupController.findByCondition"
      }
    },
    "/v1/group/conditionV2": {
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "findByConditionV2",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.findByConditionV2"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "in": "query",
            "name": "description",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "label",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "local",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "postcode",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tel",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "is_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id",
                "nickname"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "GroupController.findByConditionV2"
      }
    },
    "/v1/group/hard": {
      "delete": {
        "x-controller-name": "GroupController",
        "x-operation-name": "deleteBatchGrooupHard",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.deleteBatchGrooupHard"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "GroupController.deleteBatchGrooupHard"
      }
    },
    "/v1/group/nickname": {
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "nicknameLict",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.nicknameLict"
          }
        },
        "operationId": "GroupController.nicknameLict"
      }
    },
    "/v1/group/string_id/{string_id}/auth_group/_id/{_id}": {
      "patch": {
        "x-controller-name": "AuthGroupController",
        "x-operation-name": "updateAll",
        "tags": [
          "AuthGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthGroupController.updateAll"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthGroupPartialExcluding__id-creation_date_"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AuthGroupController.updateAll"
      },
      "delete": {
        "x-controller-name": "AuthGroupController",
        "x-operation-name": "deleteById",
        "tags": [
          "AuthGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthGroupController.deleteById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AuthGroupController.deleteById"
      }
    },
    "/v1/group/string_id/{string_id}/auth_group/id/{_id}": {
      "post": {
        "x-controller-name": "AuthGroupController",
        "x-operation-name": "cloneOne",
        "tags": [
          "AuthGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthGroupController.cloneOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AuthGroupController.cloneOne"
      },
      "get": {
        "x-controller-name": "AuthGroupController",
        "x-operation-name": "findById",
        "tags": [
          "AuthGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthGroupController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AuthGroupController.findById"
      }
    },
    "/v1/group/string_id/{string_id}/auth_group": {
      "post": {
        "x-controller-name": "AuthGroupController",
        "x-operation-name": "createOne",
        "tags": [
          "AuthGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthGroupController.createOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "auth_cwa_0": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  },
                  "auth_cwa_1": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  },
                  "auth_cwa_2": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  },
                  "auth_cwa_3": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_4": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  },
                  "auth_cwa_5": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_6": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_7": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_8": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_9": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_10": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_11": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_12": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_cwa_13": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_rwa_0": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  },
                  "auth_rwa_1": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  },
                  "auth_rwa_2": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  },
                  "auth_rwa_3": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  },
                  "auth_shell_1": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AuthGroupController.createOne"
      },
      "get": {
        "x-controller-name": "AuthGroupController",
        "x-operation-name": "findByCondiion",
        "tags": [
          "AuthGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthGroupController.findByCondiion"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_0",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_1",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_2",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_3",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_4",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_5",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_6",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_7",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_8",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_9",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_10",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_11",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_12",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_cwa_13",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_rwa_0",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_rwa_1",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_rwa_2",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_rwa_3",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ],
                    "default": 0
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1,
                    2
                  ],
                  "default": 0
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "auth_shell_1",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ]
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "creation_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "AuthGroupController.findByCondiion"
      }
    },
    "/v1/group/{string_id}/check_warrant/{code}": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "checkWarrantByGroup",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.checkWarrantByGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "is_order_mode",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantController.checkWarrantByGroup"
      }
    },
    "/v1/group/{_id}/hard": {
      "delete": {
        "x-controller-name": "GroupController",
        "x-operation-name": "deleteGroupHard",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.deleteGroupHard"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GroupController.deleteGroupHard"
      }
    },
    "/v1/group/{string_id}/menu-catalog-options": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "groupMenuCatalogOptions",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.groupMenuCatalogOptions"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "restaurant_ids",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.groupMenuCatalogOptions"
      }
    },
    "/v1/group/{string_id}/menu-sales-analysis": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "groupMenuSalesAnalysis",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.groupMenuSalesAnalysis"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "mode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "restaurant_ids",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.groupMenuSalesAnalysis"
      }
    },
    "/v1/group/{string_id}/menu-sales-by-menu-name": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "groupMenuSalesByMenuName",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.groupMenuSalesByMenuName"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "mode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "restaurant_ids",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "menu_name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category_name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dish_name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.groupMenuSalesByMenuName"
      }
    },
    "/v1/group/{string_id}/owned_dealer": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "updateOwnedDealer",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.updateOwnedDealer"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "REMOVE"
                    ]
                  },
                  "owned_dealer": {
                    "type": "array"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "type",
                  "owned_dealer"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GroupController.updateOwnedDealer"
      }
    },
    "/v1/group/{string_id}/owned_restaurant": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "updateOwnedRestaurant",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.updateOwnedRestaurant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "REMOVE"
                    ]
                  },
                  "owned_restaurant": {
                    "type": "array"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "type",
                  "owned_restaurant"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GroupController.updateOwnedRestaurant"
      }
    },
    "/v1/group/{string_id}/owned_staff": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "updateStaff",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.updateStaff"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "REMOVE"
                    ]
                  },
                  "owned_staff": {
                    "type": "array"
                  }
                },
                "required": [
                  "type",
                  "owned_staff"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GroupController.updateStaff"
      }
    },
    "/v1/group/{_id}/printer": {
      "patch": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "updateBelonged",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.updateBelonged"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string",
                    "enum": [
                      "REMOVE",
                      "ADD"
                    ]
                  },
                  "printer_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "option",
                  "printer_ids"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NPrinterGroupController.updateBelonged"
      }
    },
    "/v1/group/{string_id}/revenue-trend": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "groupRevenueTrend",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.groupRevenueTrend"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.groupRevenueTrend"
      }
    },
    "/v1/group/{_id}/supervisor": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "updateSupervisor",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.updateSupervisor"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "REMOVE"
                    ]
                  },
                  "supervisor": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "type",
                  "supervisor"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GroupController.updateSupervisor"
      }
    },
    "/v1/group/{string_id}/today-summary": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "groupTodaySummary",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.groupTodaySummary"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "concurrency",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.groupTodaySummary"
      }
    },
    "/v1/group/{string_id}/warrant/condition": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "findByAllWarrantCondition",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.findByAllWarrantCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "DETAIL",
                "SUMMARY"
              ]
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "USE",
                "EXPIRED"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "DATE",
                "TYPE"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "time_zone",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantController.findByAllWarrantCondition"
      }
    },
    "/v1/group/{string_id}/warrant": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "findByGroupStringId",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.findByGroupStringId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "activation",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantController.findByGroupStringId"
      },
      "delete": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "deleteWarrantByGroup",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.deleteWarrantByGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "admin_id": {
                    "type": "string"
                  },
                  "admin_nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.deleteWarrantByGroup"
      }
    },
    "/v1/group/{string_id}/warrants": {
      "post": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "createGroupWarrants",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.createGroupWarrants"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "project": {
                    "type": "string",
                    "enum": [
                      "SW2P5"
                    ]
                  },
                  "code": {
                    "type": "string",
                    "enum": []
                  },
                  "activation": {
                    "type": "boolean"
                  },
                  "current_time_zone": {
                    "type": "string"
                  },
                  "limit_point": {
                    "type": "object",
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1001"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1002"
                            ]
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1003",
                              "AUP1004"
                            ]
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "max_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1005"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "total_num": {
                            "type": "number"
                          },
                          "remaining_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "remaining_num",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1006",
                              "AUP1007"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "max_num"
                        ]
                      }
                    ]
                  },
                  "price": {
                    "type": "number"
                  },
                  "admin_id": {
                    "type": "string"
                  },
                  "admin_nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "code",
                  "limit_point",
                  "current_time_zone"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.createGroupWarrants"
      }
    },
    "/v1/group/{string_id}/warrants_collection": {
      "post": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "createGroupWarrantsByCollection",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.createGroupWarrantsByCollection"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "AUGC1000",
                      "AUGC1001"
                    ]
                  },
                  "warrants": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "project": {
                          "type": "string",
                          "enum": [
                            "SW2P5"
                          ]
                        },
                        "code": {
                          "type": "string",
                          "enum": []
                        },
                        "activation": {
                          "type": "boolean"
                        },
                        "limit_point": {
                          "type": "object",
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1001"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "total_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1002"
                                  ]
                                },
                                "total_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "total_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1003",
                                    "AUP1004"
                                  ]
                                },
                                "max_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "max_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1005"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "total_num": {
                                  "type": "number"
                                },
                                "remaining_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date",
                                "remaining_num",
                                "total_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1006",
                                    "AUP1007"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "max_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date",
                                "max_num"
                              ]
                            }
                          ]
                        }
                      }
                    }
                  },
                  "price": {
                    "type": "number"
                  },
                  "current_time_zone": {
                    "type": "string"
                  },
                  "admin_id": {
                    "type": "string"
                  },
                  "admin_nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                "required": [
                  "code",
                  "warrants",
                  "current_time_zone"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.createGroupWarrantsByCollection"
      }
    },
    "/v1/group/{_id}": {
      "delete": {
        "x-controller-name": "GroupController",
        "x-operation-name": "deleteGroup",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.deleteGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GroupController.deleteGroup"
      }
    },
    "/v1/group": {
      "post": {
        "x-controller-name": "GroupController",
        "x-operation-name": "createOne",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "string"
                  },
                  "label": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "local": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "phone_prefix": {
                    "type": "string"
                  },
                  "tel": {
                    "type": "string"
                  },
                  "logo": {
                    "type": "object"
                  },
                  "home_number": {
                    "type": "string"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  },
                  "owned_restaurant": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "belonged_reseller": {
                    "type": "string"
                  },
                  "owned_staff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "supervisor": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "nickname"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "GroupController.createOne"
      },
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "findByBasicInfo",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.findByBasicInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "description",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "label",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "local",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "postcode",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tel",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "GroupController.findByBasicInfo"
      },
      "delete": {
        "x-controller-name": "GroupController",
        "x-operation-name": "deleteBatchGrooup",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.deleteBatchGrooup"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "GroupController.deleteBatchGrooup"
      }
    },
    "/v1/gyb/gyb_device/condition": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findGybDeviceByCondition",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findGybDeviceByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "gyb_restaurant",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_string_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "location_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "operator",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "bank",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "device_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "brand",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "model",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "license_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "is_default",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "number"
              }
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 10000
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "device_code"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "GybController.findGybDeviceByCondition"
      }
    },
    "/v1/gyb/gyb_device/{_id}": {
      "delete": {
        "x-controller-name": "GybController",
        "x-operation-name": "deleteGybDevice",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.deleteGybDevice"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GybController.deleteGybDevice"
      }
    },
    "/v1/gyb/gyb_device": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findGybDevice",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findGybDevice"
          }
        },
        "operationId": "GybController.findGybDevice"
      }
    },
    "/v1/gyb/gyb_restaurant/condition": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findGybRestaurantByCondition",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findGybRestaurantByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "location_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_string_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "vat_number",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "tax_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "description",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "address",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "zip_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "province",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "country",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "business_area",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "intermediary_type",
            "schema": {
              "type": "array",
              "items": {
                "type": "number"
              }
            }
          },
          {
            "in": "query",
            "name": "tax_system",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "location_id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "GybController.findGybRestaurantByCondition"
      }
    },
    "/v1/gyb/gyb_restaurant": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findGybRestaurant",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findGybRestaurant"
          }
        },
        "operationId": "GybController.findGybRestaurant"
      }
    },
    "/v1/gyb/refresh_token": {
      "post": {
        "x-controller-name": "GybController",
        "x-operation-name": "refreshGYBToken",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.refreshGYBToken"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "refresh_token": {
                    "type": "string"
                  },
                  "device_code": {
                    "type": "string"
                  }
                },
                "required": [
                  "refresh_token",
                  "device_code"
                ]
              }
            }
          }
        },
        "operationId": "GybController.refreshGYBToken"
      }
    },
    "/v1/gyb/register": {
      "post": {
        "x-controller-name": "GybController",
        "x-operation-name": "LocationRegister",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.LocationRegister"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "vatNumber": {
                        "type": "string"
                      },
                      "taxCode": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "local": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "address": {
                        "type": "string"
                      },
                      "ZipCode": {
                        "type": "string"
                      },
                      "city": {
                        "type": "string"
                      },
                      "province": {
                        "type": "string"
                      },
                      "country": {
                        "type": "string"
                      },
                      "deviceCode": {
                        "type": "string"
                      },
                      "brand": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "licenseCode": {
                        "type": "string"
                      },
                      "dealer": {
                        "type": "string"
                      },
                      "restaurant": {
                        "type": "string"
                      },
                      "intermediaryType": {
                        "type": "number"
                      },
                      "email": {
                        "type": "string"
                      },
                      "businessArea": {
                        "type": "string"
                      },
                      "taxSystem": {
                        "type": "string"
                      },
                      "operator": {
                        "type": "string"
                      },
                      "bank": {
                        "type": "string"
                      },
                      "refresh": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "vatNumber",
                      "taxCode",
                      "description",
                      "address",
                      "ZipCode",
                      "city",
                      "province",
                      "country",
                      "deviceCode",
                      "brand",
                      "model",
                      "licenseCode",
                      "dealer",
                      "restaurant",
                      "intermediaryType",
                      "email"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "locationId": {
                        "type": "string"
                      },
                      "deviceCode": {
                        "type": "string"
                      },
                      "brand": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "licenseCode": {
                        "type": "string"
                      },
                      "dealer": {
                        "type": "string"
                      },
                      "restaurant": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "local": {
                        "type": "string"
                      },
                      "operator": {
                        "type": "string"
                      },
                      "bank": {
                        "type": "string"
                      },
                      "refresh": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "locationId",
                      "deviceCode",
                      "brand",
                      "model",
                      "licenseCode",
                      "dealer",
                      "restaurant"
                    ]
                  }
                ]
              }
            }
          }
        },
        "operationId": "GybController.LocationRegister"
      }
    },
    "/v1/gyb/third_party/condition": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findThirdPartyByCondition",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findThirdPartyByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "username",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 10000
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "device_code"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "GybController.findThirdPartyByCondition"
      }
    },
    "/v1/gyb/user": {
      "post": {
        "x-controller-name": "GybController",
        "x-operation-name": "getGybUser",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.getGybUser"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "username": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "username",
                  "password"
                ]
              }
            }
          }
        },
        "operationId": "GybController.getGybUser"
      }
    },
    "/v1/history_shop_order/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "HistoryShopOrderController",
        "x-operation-name": "updateById",
        "tags": [
          "HistoryShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of HistoryShopOrderController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "belonged_restaurant_string_id": {
                    "type": "string"
                  },
                  "belonged_coin_history_id": {
                    "type": "string"
                  },
                  "pay_status": {
                    "type": "string"
                  },
                  "pay_way": {
                    "type": "string"
                  },
                  "pay_currency": {
                    "type": "string"
                  },
                  "pay_number": {
                    "type": "string"
                  },
                  "type_2paynow": {
                    "type": "string"
                  },
                  "used_wallet_belonged_object_id": {
                    "type": "string"
                  },
                  "used_wallet_belonged_object_type": {
                    "type": "string"
                  },
                  "target_wallet_belonged_company_id": {
                    "type": "string"
                  },
                  "target_wallet_belonged_company_type": {
                    "type": "string"
                  },
                  "remark": {
                    "type": "string"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "$ref": "#/definitions/OrderItem"
                    }
                  }
                },
                "minItems": 1
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "HistoryShopOrderController.updateById"
      }
    },
    "/v1/history_shop_order/_id/{_id}": {
      "get": {
        "x-controller-name": "HistoryShopOrderController",
        "x-operation-name": "findById",
        "tags": [
          "HistoryShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of HistoryShopOrderController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "HistoryShopOrderController.findById"
      },
      "delete": {
        "x-controller-name": "HistoryShopOrderController",
        "x-operation-name": "deleteOne",
        "tags": [
          "HistoryShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of HistoryShopOrderController.deleteOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "HistoryShopOrderController.deleteOne"
      }
    },
    "/v1/history_shop_order/condition": {
      "get": {
        "x-controller-name": "HistoryShopOrderController",
        "x-operation-name": "findByInfo",
        "tags": [
          "HistoryShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of HistoryShopOrderController.findByInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "belonged_restaurant_string_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "belonged_coin_history_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order_status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_way",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_currency",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_number",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "used_wallet_belonged_object_type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "used_wallet_belonged_object_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "target_wallet_belonged_company_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "target_wallet_belonged_company_type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type_2paynow",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "remark",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "HistoryShopOrderController.findByInfo"
      }
    },
    "/v1/history_shop_order/{shop_order_id}": {
      "post": {
        "x-controller-name": "HistoryShopOrderController",
        "x-operation-name": "createOne",
        "tags": [
          "HistoryShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of HistoryShopOrderController.createOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "shop_order_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "HistoryShopOrderController.createOne"
      }
    },
    "/v1/install_package/condition": {
      "get": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "findByCondition",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.findByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "project_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "project_name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "version_num",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "revision_num",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "is_test",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "0",
                  "1"
                ]
              }
            }
          },
          {
            "in": "query",
            "name": "is_preview",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "0",
                  "1"
                ]
              }
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "_id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "InstallPackageController.findByCondition"
      }
    },
    "/v1/install_package/update_log/{_id}": {
      "post": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "updateLog",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.updateLog"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "_id": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "key",
                    "value"
                  ]
                },
                "minItems": 1
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "InstallPackageController.updateLog"
      },
      "delete": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "deleteUpdateLogs",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.deleteUpdateLogs"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "InstallPackageController.deleteUpdateLogs"
      }
    },
    "/v1/install_package/{_id}": {
      "patch": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "updateInstallPackage",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.updateInstallPackage"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "InstallPackageController.updateInstallPackage"
      },
      "get": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "getInstallPackageById",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.getInstallPackageById"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "InstallPackageController.getInstallPackageById"
      },
      "delete": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "deleteOne",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.deleteOne"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "InstallPackageController.deleteOne"
      }
    },
    "/v1/install_package": {
      "post": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "uploadInstallPackage",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.uploadInstallPackage"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "InstallPackageController.uploadInstallPackage"
      }
    },
    "/v1/install_packages": {
      "delete": {
        "x-controller-name": "InstallPackageController",
        "x-operation-name": "deleteMany",
        "tags": [
          "InstallPackageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of InstallPackageController.deleteMany"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          }
        },
        "operationId": "InstallPackageController.deleteMany"
      }
    },
    "/v1/item/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "updateById",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "SINGLE",
                      "MULTIPLE"
                    ]
                  },
                  "name": {
                    "type": "string"
                  },
                  "is_on_sold": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "price": {
                    "type": "number"
                  },
                  "discount": {
                    "type": "number"
                  },
                  "description": {
                    "type": "string"
                  },
                  "origin": {
                    "type": "object"
                  }
                },
                "additionalProperties": true
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ShopItemController.updateById"
      }
    },
    "/v1/item/_id/{_id}": {
      "get": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "findById",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopItemController.findById"
      }
    },
    "/v1/item/condition": {
      "get": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "findByCondition",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.findByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "target_type",
            "schema": {
              "type": "string",
              "enum": [
                "WARRANT",
                "GOODS",
                "SERVICE",
                "COIN"
              ]
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "price1",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "price2",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id",
                "price",
                "creation_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "ShopItemController.findByCondition"
      }
    },
    "/v1/item/{_id}/pics": {
      "get": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "getAllPics",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.getAllPics"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "ShopItemController.getAllPics"
      }
    },
    "/v1/item": {
      "post": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "createOne",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "SINGLE",
                      "MULTIPLE"
                    ]
                  },
                  "name": {
                    "type": "string"
                  },
                  "is_on_sold": {
                    "type": "boolean"
                  },
                  "price": {
                    "type": "number"
                  },
                  "discount": {
                    "type": "number"
                  },
                  "description": {
                    "type": "string"
                  },
                  "origin": {
                    "type": "object"
                  }
                },
                "additionalProperties": true,
                "required": [
                  "type",
                  "name",
                  "price",
                  "origin"
                ]
              }
            }
          }
        },
        "operationId": "ShopItemController.createOne"
      },
      "get": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "find",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.find"
          }
        },
        "operationId": "ShopItemController.find"
      },
      "delete": {
        "x-controller-name": "ShopItemController",
        "x-operation-name": "deleteMany",
        "tags": [
          "ShopItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopItemController.deleteMany"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": true
              }
            }
          }
        },
        "operationId": "ShopItemController.deleteMany"
      }
    },
    "/v1/log/condition": {
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "findLogByScreen",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.findLogByScreen"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "classification",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "device_code",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "sign_account",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "sign_account_name",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "level",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "content",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "help_data",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "create_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "LogController.findLogByScreen"
      }
    },
    "/v1/log/{id}": {
      "delete": {
        "x-controller-name": "LogController",
        "x-operation-name": "deleteLog",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.deleteLog"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "LogController.deleteLog"
      }
    },
    "/v1/log": {
      "post": {
        "x-controller-name": "LogController",
        "x-operation-name": "createLog",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.createLog"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "create_time": {
                    "type": "string"
                  },
                  "project": {
                    "type": "string"
                  },
                  "classification": {
                    "type": "string"
                  },
                  "device_code": {
                    "type": "string"
                  },
                  "sign_account": {
                    "type": "string"
                  },
                  "sign_account_name": {
                    "type": "string"
                  },
                  "level": {
                    "type": "string",
                    "enum": [
                      "info",
                      "warning",
                      "error"
                    ]
                  },
                  "content": {
                    "type": "string"
                  },
                  "help_data": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "project",
                  "level"
                ]
              }
            }
          }
        },
        "operationId": "LogController.createLog"
      }
    },
    "/v1/logs": {
      "post": {
        "x-controller-name": "LogController",
        "x-operation-name": "createLogs",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.createLogs"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "create_time": {
                      "type": "string"
                    },
                    "project": {
                      "type": "string"
                    },
                    "classification": {
                      "type": "string"
                    },
                    "device_code": {
                      "type": "string"
                    },
                    "sign_account": {
                      "type": "string"
                    },
                    "sign_account_name": {
                      "type": "string"
                    },
                    "level": {
                      "type": "string",
                      "enum": [
                        "info",
                        "warning",
                        "error"
                      ]
                    },
                    "content": {
                      "type": "string"
                    },
                    "help_data": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "project",
                    "level"
                  ]
                }
              }
            }
          }
        },
        "operationId": "LogController.createLogs"
      },
      "delete": {
        "x-controller-name": "LogController",
        "x-operation-name": "deleteLogs",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.deleteLogs"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "LogController.deleteLogs"
      }
    },
    "/v1/municipios/{CPOS}": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "getNIE",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.getNIE"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "CPOS",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestautantController.getNIE"
      }
    },
    "/v1/mysql/{string_id}/max_stmt_count": {
      "get": {
        "x-controller-name": "MessageController",
        "x-operation-name": "getMaxPreparedStmtCount",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.getMaxPreparedStmtCount"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MessageController.getMaxPreparedStmtCount"
      }
    },
    "/v1/n_printer/condition": {
      "get": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "getNPrinterByCondition",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.getNPrinterByCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ObjectID"
            }
          },
          {
            "name": "adaptation_code",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "printer_type",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "1",
                "2"
              ]
            }
          },
          {
            "name": "network_type",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "1",
                "2"
              ]
            }
          },
          {
            "name": "printer_trademark",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4"
              ]
            }
          },
          {
            "name": "printer_connection_type",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "1",
                "2"
              ]
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "NPrinterGroupController.getNPrinterByCondition"
      }
    },
    "/v1/n_printer/{_id}": {
      "patch": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "updateNPrinter",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.updateNPrinter"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "adaptation_code": {
                    "type": "string"
                  },
                  "printer_type": {
                    "type": "string",
                    "enum": [
                      "1",
                      "2"
                    ]
                  },
                  "network_type": {
                    "type": "string",
                    "enum": [
                      "1",
                      "2"
                    ]
                  },
                  "printer_trademark": {
                    "type": "string",
                    "enum": [
                      "1",
                      "2",
                      "3",
                      "4"
                    ]
                  },
                  "printer_connection_type": {
                    "type": "string",
                    "enum": [
                      "1",
                      "2"
                    ]
                  },
                  "default": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1"
                    ]
                  },
                  "name": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "port": {
                    "type": "string"
                  },
                  "ip": {
                    "type": "string"
                  },
                  "device_ip": {
                    "type": "string"
                  },
                  "qz_version": {
                    "type": "string"
                  },
                  "client_id": {
                    "type": "string"
                  },
                  "client_secret": {
                    "type": "string"
                  },
                  "client_token": {
                    "type": "string"
                  },
                  "client_token_date": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "client_machine_code": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NPrinterGroupController.updateNPrinter"
      },
      "get": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "getNPrinterById",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.getNPrinterById"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "NPrinterGroupController.getNPrinterById"
      },
      "delete": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "deleteNPrinter",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.deleteNPrinter"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "NPrinterGroupController.deleteNPrinter"
      }
    },
    "/v1/n_printer": {
      "post": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "createNPrinter",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.createNPrinter"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "printer_type": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2"
                        ]
                      },
                      "network_type": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2"
                        ]
                      },
                      "printer_connection_type": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2"
                        ]
                      },
                      "adaptation_code": {
                        "type": "string"
                      },
                      "port": {
                        "type": "string"
                      },
                      "ip": {
                        "type": "string"
                      },
                      "printer_trademark": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2",
                          "3",
                          "4"
                        ]
                      },
                      "default": {
                        "type": "string",
                        "enum": [
                          "0",
                          "1"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "pattern": "^.{1,120}$"
                      },
                      "device_ip": {
                        "type": "string"
                      },
                      "qz_version": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "printer_type",
                      "network_type",
                      "printer_connection_type",
                      "port",
                      "ip"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "printer_type": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2"
                        ]
                      },
                      "network_type": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2"
                        ]
                      },
                      "printer_trademark": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2",
                          "3",
                          "4"
                        ]
                      },
                      "adaptation_code": {
                        "type": "string"
                      },
                      "client_id": {
                        "type": "string"
                      },
                      "client_secret": {
                        "type": "string"
                      },
                      "client_machine_code": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string",
                        "pattern": "^.{1,120}$"
                      },
                      "default": {
                        "type": "string",
                        "enum": [
                          "0",
                          "1"
                        ]
                      },
                      "client_token": {
                        "type": "string"
                      },
                      "printer_connection_type": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2"
                        ]
                      },
                      "client_token_date": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "printer_type",
                      "network_type",
                      "printer_trademark",
                      "client_id",
                      "client_secret",
                      "client_machine_code"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "NPrinterGroupController.createNPrinter"
      }
    },
    "/v1/n_printer_group/condition": {
      "get": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "getNPrinterGroupByCondition",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.getNPrinterGroupByCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "name": "owned_printer",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "NPrinterGroupController.getNPrinterGroupByCondition"
      }
    },
    "/v1/n_printer_group/{_id}": {
      "patch": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "updateNPrinterGroup",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.updateNPrinterGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                "minProperties": 1,
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NPrinterGroupController.updateNPrinterGroup"
      },
      "get": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "getNPrinterGroupById",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.getNPrinterGroupById"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "NPrinterGroupController.getNPrinterGroupById"
      },
      "delete": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "deletePrinterGroup",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.deletePrinterGroup"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "NPrinterGroupController.deletePrinterGroup"
      }
    },
    "/v1/n_printer_group": {
      "post": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "createNPrinterGroup",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.createNPrinterGroup"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "owned_printer": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "NPrinterGroupController.createNPrinterGroup"
      }
    },
    "/v1/n_printer_groups": {
      "delete": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "deleteNPrinterGroups",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.deleteNPrinterGroups"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "NPrinterGroupController.deleteNPrinterGroups"
      }
    },
    "/v1/n_printers": {
      "delete": {
        "x-controller-name": "NPrinterGroupController",
        "x-operation-name": "deleteNPrinters",
        "tags": [
          "NPrinterGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NPrinterGroupController.deleteNPrinters"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "NPrinterGroupController.deleteNPrinters"
      }
    },
    "/v1/network_validation": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "NetworkValidation",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.NetworkValidation"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "sn": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "company": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  },
                  "languageid": {
                    "type": "string"
                  },
                  "ai": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "AuthController.NetworkValidation"
      }
    },
    "/v1/oss/condition": {
      "get": {
        "x-controller-name": "SqlController",
        "x-operation-name": "getOssSQLCondition",
        "tags": [
          "SqlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SqlController.getOssSQLCondition"
          }
        },
        "operationId": "SqlController.getOssSQLCondition"
      }
    },
    "/v1/oss/key": {
      "get": {
        "x-controller-name": "SqlController",
        "x-operation-name": "getOssKey",
        "tags": [
          "SqlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SqlController.getOssKey"
          }
        },
        "operationId": "SqlController.getOssKey"
      }
    },
    "/v1/oss/logs": {
      "post": {
        "x-controller-name": "SqlController",
        "x-operation-name": "getOssSql",
        "tags": [
          "SqlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SqlController.getOssSql"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string"
                      },
                      "string_id": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      },
                      "status": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "type",
                      "string_id"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "SqlController.getOssSql"
      },
      "get": {
        "x-controller-name": "SqlController",
        "x-operation-name": "sqlLogs",
        "tags": [
          "SqlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SqlController.sqlLogs"
          }
        },
        "parameters": [
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "syn_type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "restaurant_string_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "restaurant_name",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "group_string_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "group_name",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "syn_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "SqlController.sqlLogs"
      }
    },
    "/v1/oss/string_id/{string_id}": {
      "get": {
        "x-controller-name": "SqlController",
        "x-operation-name": "getOssSQL",
        "tags": [
          "SqlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SqlController.getOssSQL"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SqlController.getOssSQL"
      }
    },
    "/v1/paypal_fail/{shop_order_id}": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "rechargeFailCallback",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.rechargeFailCallback"
          }
        },
        "parameters": [
          {
            "name": "shop_order_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ShopOrderController.rechargeFailCallback"
      }
    },
    "/v1/paypal_success/{shop_order_id}": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "rechargeSuccCallback",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.rechargeSuccCallback"
          }
        },
        "parameters": [
          {
            "name": "shop_order_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "paymentId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PayerID",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ShopOrderController.rechargeSuccCallback"
      }
    },
    "/v1/program/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "updateInfo",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProgramController.updateInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "grants": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "redirect_uris": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "access_token_lifetime": {
                    "type": "number"
                  },
                  "refresh_token_lifetime": {
                    "type": "number"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "belonged": {
                    "type": "string"
                  }
                }
              },
              "minProperties": 1,
              "additionalProperties": false
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProgramController.updateInfo"
      }
    },
    "/v1/program/_id/{_id}": {
      "get": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "findById",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProgramController.findById"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ProgramController.findById"
      },
      "delete": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProgramController.deleteById"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ProgramController.deleteById"
      }
    },
    "/v1/program": {
      "post": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "create",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProgramController.create"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "nickname"
                ]
              }
            }
          }
        },
        "operationId": "ProgramController.create"
      },
      "get": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "findByInfo",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProgramController.findByInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "in": "query",
            "name": "client_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "grants",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "redirect_uris",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "access_token_lifetime",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "refresh_token_lifetime",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ProgramController.findByInfo"
      }
    },
    "/v1/public/deliverect/log": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "postDeliverectLog",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.postDeliverectLog"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "operator",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "group_nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "operationId": "PublicController.postDeliverectLog"
      }
    },
    "/v1/public/fiskaly/access_token": {
      "post": {
        "x-controller-name": "AdminController",
        "x-operation-name": "fiskalyAccessToken",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.fiskalyAccessToken"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "string_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AdminController.fiskalyAccessToken"
      }
    },
    "/v1/public/group": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "findGroup",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.findGroup"
          }
        },
        "operationId": "PublicController.findGroup"
      }
    },
    "/v1/public/gyb/refresh_token": {
      "post": {
        "x-controller-name": "PublicController",
        "x-operation-name": "refreshToken",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.refreshToken"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "refresh_token": {
                    "type": "string"
                  },
                  "device_code": {
                    "type": "string"
                  }
                },
                "required": [
                  "refresh_token",
                  "device_code"
                ]
              }
            }
          }
        },
        "operationId": "PublicController.refreshToken"
      }
    },
    "/v1/public/gyb_device/condition": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "findPublicRestaurantGybDeviceByCondition",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.findPublicRestaurantGybDeviceByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "location_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "operator",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "bank",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "device_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "brand",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "model",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "license_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 10000
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "device_code"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "pr_key_info",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_basic_info",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "PublicController.findPublicRestaurantGybDeviceByCondition"
      }
    },
    "/v1/public/login_logs": {
      "post": {
        "x-controller-name": "PublicController",
        "x-operation-name": "login",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.login"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "staff_id": {
                    "type": "string"
                  },
                  "staff_name": {
                    "type": "string"
                  },
                  "project": {
                    "type": "string",
                    "enum": [
                      "RWA2",
                      "COP2",
                      "CWA2",
                      "MOP2",
                      "KWA2",
                      "RBP2",
                      "QOP2",
                      "Ecco POS"
                    ]
                  },
                  "device_number": {
                    "type": "string"
                  },
                  "device_type": {
                    "type": "string"
                  },
                  "subitems_version": {
                    "type": "string"
                  },
                  "subitems_ip": {
                    "type": "string"
                  },
                  "shark_version": {
                    "type": "string"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object"
                  }
                },
                "required": [
                  "staff_id",
                  "staff_name",
                  "project"
                ]
              }
            }
          }
        },
        "operationId": "PublicController.login"
      }
    },
    "/v1/public/restaurant/Sendrisk/notice": {
      "post": {
        "x-controller-name": "PublicController",
        "x-operation-name": "sendRiskNotice",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.sendRiskNotice"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "alerts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "minItems": 1
                  }
                },
                "required": [
                  "alerts"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "PublicController.sendRiskNotice"
      }
    },
    "/v1/public/restaurant/fiscal/info": {
      "patch": {
        "x-controller-name": "PublicController",
        "x-operation-name": "updateRestaurantFiscalInfo",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.updateRestaurantFiscalInfo"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_municipality": {
                    "type": "string"
                  },
                  "reg_street_number": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "fiskaly_client_info": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "fiskaly_operate_type": {
                    "type": "string"
                  },
                  "fiskaly_signer_status": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "PublicController.updateRestaurantFiscalInfo"
      }
    },
    "/v1/public/restaurant": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "findRestaurant",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.findRestaurant"
          }
        },
        "operationId": "PublicController.findRestaurant"
      }
    },
    "/v1/public/update/order/{id}": {
      "patch": {
        "x-controller-name": "QodeupController",
        "x-operation-name": "update",
        "tags": [
          "QodeupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of QodeupController.update"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "enum": [
                "CANCEL",
                "UPDATE"
              ],
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "QodeupController.update"
      }
    },
    "/v1/public/websocket/connected_projects": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "getWebsocketConnectedProjects",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.getWebsocketConnectedProjects"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "restaurant_name",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "group_name",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          }
        ],
        "operationId": "PublicController.getWebsocketConnectedProjects"
      }
    },
    "/v1/public/{string_id}/restaurant-static/dish-image/{file_name}": {
      "delete": {
        "x-controller-name": "RestaurantStaticPosController",
        "x-operation-name": "deleteDishImage",
        "tags": [
          "RestaurantStaticPosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantStaticPosController.deleteDishImage"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "file_name",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestaurantStaticPosController.deleteDishImage"
      }
    },
    "/v1/public/{string_id}/restaurant-static/dish-image": {
      "post": {
        "x-controller-name": "RestaurantStaticPosController",
        "x-operation-name": "uploadDishImage",
        "tags": [
          "RestaurantStaticPosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantStaticPosController.uploadDishImage"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "file_name",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "RestaurantStaticPosController.uploadDishImage"
      }
    },
    "/v1/public/{string_id}/restaurant-static/menu-image/{file_name}": {
      "delete": {
        "x-controller-name": "RestaurantStaticPosController",
        "x-operation-name": "deleteMenuImage",
        "tags": [
          "RestaurantStaticPosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantStaticPosController.deleteMenuImage"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "file_name",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestaurantStaticPosController.deleteMenuImage"
      }
    },
    "/v1/public/{string_id}/restaurant-static/menu-image": {
      "post": {
        "x-controller-name": "RestaurantStaticPosController",
        "x-operation-name": "uploadMenuImage",
        "tags": [
          "RestaurantStaticPosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantStaticPosController.uploadMenuImage"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "file_name",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "RestaurantStaticPosController.uploadMenuImage"
      }
    },
    "/v1/public/{string_id}/restaurant-static/objects": {
      "get": {
        "x-controller-name": "RestaurantStaticPosController",
        "x-operation-name": "listObjects",
        "tags": [
          "RestaurantStaticPosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantStaticPosController.listObjects"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "scope",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RestaurantStaticPosController.listObjects"
      }
    },
    "/v1/query/omission_order": {
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "getOmissionOrder",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.getOmissionOrder"
          }
        },
        "operationId": "DeliverectController.getOmissionOrder"
      }
    },
    "/v1/reseller/_id/{_id}/avatar": {
      "patch": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "updateResellerAvatar",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.updateResellerAvatar"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ResellerController.updateResellerAvatar"
      },
      "get": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "getResellerAvatar",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.getResellerAvatar"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "ResellerController.getResellerAvatar"
      }
    },
    "/v1/reseller/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "updateBasicInfo",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.updateBasicInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "password": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  },
                  "first_name": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "phone_prefix": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string",
                    "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                  },
                  "birth": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  },
                  "local": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "home_number": {
                    "type": "string"
                  },
                  "balance": {
                    "type": "number"
                  },
                  "reseller_discount": {
                    "type": "number"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  },
                  "resWarrant": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "resWarrantCollection": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "groupWarrant": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "groupWarrantCollection": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "DEDUCTION",
                      "ZERO"
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ResellerController.updateBasicInfo"
      }
    },
    "/v1/reseller/_id/{_id}/password": {
      "patch": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "updateStaffPassword",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.updateStaffPassword"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ResellerController.updateStaffPassword"
      }
    },
    "/v1/reseller/_id/{_id}": {
      "get": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "findByid",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.findByid"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_deleted",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "ResellerController.findByid"
      }
    },
    "/v1/reseller/condition": {
      "get": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "findByCondition",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.findByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "phone",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
              }
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "phone_prefix",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "gender",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "0",
                  "1",
                  "2"
                ]
              }
            }
          },
          {
            "in": "query",
            "name": "is_verified",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "create_date",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "date-time"
              }
            }
          },
          {
            "in": "query",
            "name": "is_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id",
                "deleted_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "ResellerController.findByCondition"
      }
    },
    "/v1/reseller/hard": {
      "delete": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "deleteBatchResellerHard",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.deleteBatchResellerHard"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "ResellerController.deleteBatchResellerHard"
      }
    },
    "/v1/reseller/password/current": {
      "patch": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "updatePasswordByCurrentPassword",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.updatePasswordByCurrentPassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "currentPassword": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  },
                  "newPassword": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  }
                },
                "required": [
                  "_id",
                  "currentPassword",
                  "newPassword"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "ResellerController.updatePasswordByCurrentPassword"
      }
    },
    "/v1/reseller/{_id}/hard": {
      "delete": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "deleteByIdHard",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.deleteByIdHard"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ResellerController.deleteByIdHard"
      }
    },
    "/v1/reseller/{_id}": {
      "delete": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "deleteOne",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.deleteOne"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ResellerController.deleteOne"
      }
    },
    "/v1/reseller": {
      "post": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "createOne",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "password": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  },
                  "first_name": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "phone_prefix": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string",
                    "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                  },
                  "birth": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  },
                  "local": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "home_number": {
                    "type": "string"
                  },
                  "balance": {
                    "type": "number"
                  },
                  "reseller_discount": {
                    "type": "number"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  },
                  "resWarrant": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "resWarrantCollection": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "groupWarrant": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "groupWarrantCollection": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "phone_prefix",
                  "phone",
                  "password",
                  "first_name",
                  "last_name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "ResellerController.createOne"
      },
      "delete": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "deleteBatchReseller",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.deleteBatchReseller"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "ResellerController.deleteBatchReseller"
      }
    },
    "/v1/restaurant/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "updateById",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "home_number": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "label": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "local": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "tel": {
                    "type": "string"
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  },
                  "reg_territory": {
                    "type": "string"
                  },
                  "reg_municipality": {
                    "type": "string"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "deleted_date": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "time_zone": {
                    "type": "string"
                  },
                  "restaurant_version": {
                    "type": "string",
                    "enum": [
                      "2.0",
                      "2.5"
                    ]
                  },
                  "database_host": {
                    "type": "string"
                  },
                  "database_port": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "project": {
                              "type": "string"
                            },
                            "port": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "project",
                            "port"
                          ]
                        }
                      }
                    ]
                  },
                  "head": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "port": {
                    "type": "string"
                  },
                  "private_key": {
                    "type": "string"
                  },
                  "belonged_group": {
                    "type": "string"
                  },
                  "Aruba_username": {
                    "type": "string"
                  },
                  "Aruba_password": {
                    "type": "string"
                  },
                  "authorization_type": {
                    "type": "string",
                    "enum": [
                      "Mod.1",
                      "SaaS",
                      "Mix Mode"
                    ]
                  },
                  "discount_info": {
                    "type": "string"
                  },
                  "discount_annual": {
                    "type": "string"
                  },
                  "accountant_name": {
                    "type": "string"
                  },
                  "accountant_phone": {
                    "type": "string"
                  },
                  "accountant_phone_prefix": {
                    "type": "string"
                  },
                  "customer_remark": {
                    "type": "string"
                  },
                  "business_labels": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "isv_fee": {
                    "type": "number"
                  },
                  "setting_restaurant_operating_status": {
                    "type": "string"
                  },
                  "ex_string_id": {
                    "type": "string"
                  },
                  "restaurant_contact_person": {
                    "type": "string"
                  },
                  "belonged_reseller": {
                    "type": "string"
                  },
                  "fiskaly_signer_status": {
                    "type": "string"
                  },
                  "fiskaly_client_info": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "fiskaly_environment": {
                    "type": "boolean"
                  },
                  "corp_name": {
                    "type": "string"
                  },
                  "corp_vat_number": {
                    "type": "string"
                  },
                  "corp_local": {
                    "type": "string"
                  },
                  "corp_city": {
                    "type": "string"
                  },
                  "corp_postcode": {
                    "type": "string"
                  },
                  "corp_state": {
                    "type": "string"
                  },
                  "corp_country": {
                    "type": "string"
                  },
                  "corp_municipality": {
                    "type": "string"
                  },
                  "corp_street_number": {
                    "type": "string"
                  }
                }
              },
              "minProperties": 1,
              "additionalProperties": false
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.updateById"
      }
    },
    "/v1/restaurant/_id/{_id}/logo": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "updateLogo",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.updateLogo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.updateLogo"
      },
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "getLogo",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.getLogo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "RestautantController.getLogo"
      }
    },
    "/v1/restaurant/_id/{_id}/private_key": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "updateRestaurant",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.updateRestaurant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "private_key": {
                    "type": "string"
                  },
                  "belonged_group": {
                    "type": "string"
                  },
                  "string_id": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.updateRestaurant"
      }
    },
    "/v1/restaurant/_id/{_id}/supervisor": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "updateBySupervisor",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.updateBySupervisor"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "supervisor": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.updateBySupervisor"
      }
    },
    "/v1/restaurant/_id/{_id}": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "findById",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_deleted",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "RestautantController.findById"
      },
      "delete": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "deleteOne",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.deleteOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestautantController.deleteOne"
      }
    },
    "/v1/restaurant/add/group": {
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "restaurantAddGroup",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.restaurantAddGroup"
          }
        },
        "operationId": "GroupController.restaurantAddGroup"
      }
    },
    "/v1/restaurant/album/_id/{_id}/index/{index}": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "updateAlbum",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.updateAlbum"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "RestautantController.updateAlbum"
      },
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "getAlbums",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.getAlbums"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "RestautantController.getAlbums"
      },
      "delete": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "deleteAlbum",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.deleteAlbum"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "index",
            "in": "path",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "required": true
          }
        ],
        "operationId": "RestautantController.deleteAlbum"
      }
    },
    "/v1/restaurant/allChannels": {
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "getChannels",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.getChannels"
          }
        },
        "operationId": "DeliverectController.getChannels"
      }
    },
    "/v1/restaurant/condition": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "findByCondition",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.findByCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                {
                  "type": "string",
                  "pattern": "^.{1,120}$"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "description",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "label",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "local",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "state",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "country",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "postcode",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "tel",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "belonged_group",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "business_labels",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "is_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id",
                "deleted_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "is_belonged_group",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "RestautantController.findByCondition"
      }
    },
    "/v1/restaurant/d_order/condition": {
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "deliverectOrderCondition",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.deliverectOrderCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "string_id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "DeliverectController.deliverectOrderCondition"
      }
    },
    "/v1/restaurant/database/condition": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "getDatabase",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.getDatabase"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                {
                  "type": "string",
                  "pattern": "^.{1,120}$"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "database_ports",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "project": {
                              "type": "string"
                            },
                            "port": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "project",
                            "port"
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "project": {
                            "type": "string"
                          },
                          "port": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "project",
                          "port"
                        ]
                      }
                    }
                  ]
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "RestautantController.getDatabase"
      }
    },
    "/v1/restaurant/default/tunnel": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "gettunnel",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.gettunnel"
          }
        },
        "operationId": "RestautantController.gettunnel"
      }
    },
    "/v1/restaurant/deliverect": {
      "patch": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "patchDeliverect",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.patchDeliverect"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "client_id": {
                    "type": "string"
                  },
                  "client_secret": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "client_id",
                  "client_secret"
                ]
              }
            }
          }
        },
        "operationId": "DeliverectController.patchDeliverect"
      },
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "getDeliverect",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.getDeliverect"
          }
        },
        "operationId": "DeliverectController.getDeliverect"
      },
      "delete": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "delDeliverect",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.delDeliverect"
          }
        },
        "operationId": "DeliverectController.delDeliverect"
      }
    },
    "/v1/restaurant/hard": {
      "delete": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "deleteBatchRestauranHardt",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.deleteBatchRestauranHardt"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "RestautantController.deleteBatchRestauranHardt"
      }
    },
    "/v1/restaurant/info": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "findByInfo",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.findByInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "in": "query",
            "name": "description",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "label",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "local",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "postcode",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tel",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RestautantController.findByInfo"
      }
    },
    "/v1/restaurant/interface_detail": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "splitInterfaceDateil",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.splitInterfaceDateil"
          }
        },
        "operationId": "RestautantController.splitInterfaceDateil"
      }
    },
    "/v1/restaurant/limits": {
      "patch": {
        "x-controller-name": "PublicController",
        "x-operation-name": "updateGptLimits",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.updateGptLimits"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "use_gpt_key_limits": {
                    "type": "number"
                  }
                },
                "required": [
                  "use_gpt_key_limits"
                ]
              }
            }
          }
        },
        "operationId": "PublicController.updateGptLimits"
      },
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "getRestaurantGPTLimits",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.getRestaurantGPTLimits"
          }
        },
        "operationId": "PublicController.getRestaurantGPTLimits"
      }
    },
    "/v1/restaurant/manual/join/isv": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "manualJoinIsv",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.manualJoinIsv"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "joinIsvInfo": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "string_id": {
                          "type": "string"
                        },
                        "isv_fee": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "RestautantController.manualJoinIsv"
      }
    },
    "/v1/restaurant/mysql": {
      "post": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "syncRestaurantMySQL",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.syncRestaurantMySQL"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "string_id": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  }
                },
                "additionalProperties": true,
                "required": [
                  "string_id",
                  "code"
                ]
              }
            }
          }
        },
        "operationId": "RestautantController.syncRestaurantMySQL"
      }
    },
    "/v1/restaurant/private/group": {
      "get": {
        "x-controller-name": "GroupController",
        "x-operation-name": "findGroupByPrivateKey",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.findGroupByPrivateKey"
          }
        },
        "operationId": "GroupController.findGroupByPrivateKey"
      }
    },
    "/v1/restaurant/private/restaurant": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "findRestaurantByPrivateKey",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.findRestaurantByPrivateKey"
          }
        },
        "operationId": "RestautantController.findRestaurantByPrivateKey"
      }
    },
    "/v1/restaurant/private/warrant": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "findWarrantByPrivateKey",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.findWarrantByPrivateKey"
          }
        },
        "operationId": "RestautantController.findWarrantByPrivateKey"
      }
    },
    "/v1/restaurant/private_key/{string_id}": {
      "post": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "findSecretKeyByStringId",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.findSecretKeyByStringId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mac": {
                    "type": "string"
                  },
                  "time": {
                    "type": "string"
                  }
                },
                "additionalProperties": true,
                "required": []
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.findSecretKeyByStringId"
      }
    },
    "/v1/restaurant/rule/private": {
      "get": {
        "x-controller-name": "RuleController",
        "x-operation-name": "findManyByPrivateKey",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.findManyByPrivateKey"
          }
        },
        "operationId": "RuleController.findManyByPrivateKey"
      }
    },
    "/v1/restaurant/static_warrant": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "getStaticWarrant",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.getStaticWarrant"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantController.getStaticWarrant"
      }
    },
    "/v1/restaurant/table/history_order_detail": {
      "get": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "getHistoryOrderDetail",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.getHistoryOrderDetail"
          }
        },
        "operationId": "SynchronizeTimestampController.getHistoryOrderDetail"
      }
    },
    "/v1/restaurant/update/{table}/SW2": {
      "patch": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "updateTable",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.updateTable"
          }
        },
        "parameters": [
          {
            "name": "table",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "ids": {
                    "type": "array"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "UPDATE",
                      "DELETE"
                    ]
                  }
                },
                "required": [
                  "type"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DataAnalysisController.updateTable"
      }
    },
    "/v1/restaurant/warrant/{code}": {
      "patch": {
        "x-controller-name": "PublicController",
        "x-operation-name": "updateRestaurantWarrantCode",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.updateRestaurantWarrantCode"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_update",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "remaining_num": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "PublicController.updateRestaurantWarrantCode"
      }
    },
    "/v1/restaurant/warrants/{code}": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "getwarant",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.getwarant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                {
                  "type": "string",
                  "pattern": "^.{1,120}$"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "port",
            "schema": {
              "or": [
                {
                  "type": "array"
                },
                null
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "WarrantController.getwarant"
      }
    },
    "/v1/restaurant/{string_id}/check_warrant/{code}": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "checkWarrant",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.checkWarrant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "is_order_mode",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantController.checkWarrant"
      }
    },
    "/v1/restaurant/{string_id}/condiment/condiment_strings": {
      "post": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "createCondimentStringsById",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.createCondimentStringsById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "value",
                    "type"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentGroupController.createCondimentStringsById"
      },
      "delete": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "deleteCondimentStringByIds",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.deleteCondimentStringByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentGroupController.deleteCondimentStringByIds"
      }
    },
    "/v1/restaurant/{string_id}/condiment_group/condiment_group_strings": {
      "post": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "createCondimentGroupStringsById",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.createCondimentGroupStringsById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "value",
                    "type"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentGroupController.createCondimentGroupStringsById"
      },
      "delete": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "deleteCondimentGroupStringByIds",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.deleteCondimentGroupStringByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentGroupController.deleteCondimentGroupStringByIds"
      }
    },
    "/v1/restaurant/{string_id}/condiment_group/{cgid}/condiment/{id}": {
      "patch": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "updateCondimentById",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.updateCondimentById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "cgid",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "price": {
                    "type": "number"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "additionalProperties": false,
                "minProperties": 1
              }
            }
          },
          "x-parameter-index": 3
        },
        "operationId": "CondimentGroupController.updateCondimentById"
      }
    },
    "/v1/restaurant/{string_id}/condiment_group/{cgid}/condiment": {
      "post": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "createCondiment",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.createCondiment"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "cgid",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "price": {
                    "type": "number"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "required": [
                  "name",
                  "print_name",
                  "staff_name",
                  "price"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CondimentGroupController.createCondiment"
      }
    },
    "/v1/restaurant/{string_id}/condiment_group/{id}": {
      "patch": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "updateCondimentGroupById",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.updateCondimentGroupById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "additionalProperties": false,
                "minProperties": 1
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CondimentGroupController.updateCondimentGroupById"
      },
      "get": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "getCondimentById",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.getCondimentById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CondimentGroupController.getCondimentById"
      }
    },
    "/v1/restaurant/{string_id}/condiment_group": {
      "post": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "createCondimentGroup",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.createCondimentGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name",
                  "print_name",
                  "staff_name"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentGroupController.createCondimentGroup"
      }
    },
    "/v1/restaurant/{string_id}/condiment_groups/name": {
      "get": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "getAllCondimentGroupsByName",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.getAllCondimentGroupsByName"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
            }
          }
        ],
        "operationId": "CondimentGroupController.getAllCondimentGroupsByName"
      }
    },
    "/v1/restaurant/{string_id}/condiment_groups": {
      "delete": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "deleteCondimentGroupById",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.deleteCondimentGroupById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 1
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CondimentGroupController.deleteCondimentGroupById"
      }
    },
    "/v1/restaurant/{string_id}/condiments": {
      "delete": {
        "x-controller-name": "CondimentGroupController",
        "x-operation-name": "deleteCondimentById",
        "tags": [
          "CondimentGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupController.deleteCondimentById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 1
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CondimentGroupController.deleteCondimentById"
      }
    },
    "/v1/restaurant/{string_id}/create/fiskaly/manage_organization": {
      "post": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "createFiskalyManageOrganization",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.createFiskalyManageOrganization"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "reg_name": {
                        "type": "string"
                      },
                      "reg_vat_number": {
                        "type": "string"
                      },
                      "reg_local": {
                        "type": "string"
                      },
                      "reg_postcode": {
                        "type": "string"
                      },
                      "reg_city": {
                        "type": "string"
                      },
                      "reg_country": {
                        "type": "string"
                      },
                      "reg_street_number": {
                        "type": "string"
                      },
                      "reg_territory": {
                        "type": "string"
                      },
                      "reg_municipality": {
                        "type": "string"
                      },
                      "reg_state": {
                        "type": "string"
                      },
                      "reg_pec": {
                        "type": "string"
                      },
                      "fiskaly_environment": {
                        "type": "boolean"
                      },
                      "processing_mode": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2",
                          "3",
                          "4"
                        ]
                      }
                    },
                    "required": [
                      "reg_name",
                      "reg_local",
                      "reg_postcode",
                      "reg_city",
                      "reg_country",
                      "reg_street_number",
                      "reg_territory",
                      "reg_municipality",
                      "fiskaly_environment",
                      "processing_mode"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "corp_municipality": {
                        "type": "string"
                      },
                      "corp_name": {
                        "type": "string"
                      },
                      "corp_vat_number": {
                        "type": "string"
                      },
                      "corp_local": {
                        "type": "string"
                      },
                      "corp_postcode": {
                        "type": "string"
                      },
                      "corp_city": {
                        "type": "string"
                      },
                      "corp_state": {
                        "type": "string"
                      },
                      "corp_country": {
                        "type": "string"
                      },
                      "corp_street_number": {
                        "type": "string"
                      },
                      "reg_pec": {
                        "type": "string"
                      },
                      "fiskaly_environment": {
                        "type": "boolean"
                      },
                      "processing_mode": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2",
                          "3",
                          "4"
                        ]
                      }
                    },
                    "required": [
                      "corp_name",
                      "corp_vat_number",
                      "corp_local",
                      "corp_postcode",
                      "corp_city",
                      "corp_state",
                      "corp_country",
                      "fiskaly_environment",
                      "processing_mode",
                      "corp_municipality",
                      "corp_street_number"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.createFiskalyManageOrganization"
      }
    },
    "/v1/restaurant/{string_id}/current-business-data": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getCurrentBusinessData",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getCurrentBusinessData"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RestaurantInfoController.getCurrentBusinessData"
      }
    },
    "/v1/restaurant/{string_id}/current-critical-operations": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getCurrentCriticalOperations",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getCurrentCriticalOperations"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestaurantInfoController.getCurrentCriticalOperations"
      }
    },
    "/v1/restaurant/{string_id}/current-order-details": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getCurrentOrderDetails",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getCurrentOrderDetails"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RestaurantInfoController.getCurrentOrderDetails"
      }
    },
    "/v1/restaurant/{string_id}/current-return-details": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getCurrentReturnDetails",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getCurrentReturnDetails"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestaurantInfoController.getCurrentReturnDetails"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/ai_summary": {
      "post": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "dataAnalysisAiSummary",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.dataAnalysisAiSummary"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "type",
                  "payload"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "service_extra_fee",
                      "menu_sales",
                      "dish_efficiency"
                    ]
                  },
                  "restaurant_name": {
                    "type": "string"
                  },
                  "menu_sales_analysis_type": {
                    "type": "string",
                    "enum": [
                      "menu",
                      "category",
                      "item"
                    ]
                  },
                  "payload": {
                    "oneOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "array"
                      }
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DataAnalysisController.dataAnalysisAiSummary"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/cancelled/dish": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "analyzeCancelledDishes",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.analyzeCancelledDishes"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "start",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "end",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "enum": [
                "DESC",
                "ASC"
              ],
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.analyzeCancelledDishes"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/critical_operations/period": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "analyzeCriticalOperations",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.analyzeCriticalOperations"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "operation_name",
                "operation_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          }
        ],
        "operationId": "DataAnalysisController.analyzeCriticalOperations"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/critical_operations": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "ImmediatelyOperations",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.ImmediatelyOperations"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.ImmediatelyOperations"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/current_data": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "getCurrentData",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.getCurrentData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "start",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "end",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.getCurrentData"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/dish/efficiency/period": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "restaurantDishEfficiency",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.restaurantDishEfficiency"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "main_group_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "dmi_slu_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "DataAnalysisController.restaurantDishEfficiency"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/dish/period/sum_price": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "periodSumPrice",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.periodSumPrice"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.periodSumPrice"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/dish/period/sum_quantity": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "periodSumQuantity",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.periodSumQuantity"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.periodSumQuantity"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/dish/period": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "restaurantDish",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.restaurantDish"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "menu_start",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isDateMode",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "menu_end",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sum_quantity",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "sum_price",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "main_group_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "enum": [
                "DESC",
                "ASC"
              ],
              "type": "string"
            }
          },
          {
            "name": "top",
            "in": "query",
            "schema": {
              "enum": [
                "10",
                "50",
                "100"
              ],
              "type": "string"
            }
          },
          {
            "name": "not_sold",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "dmi_slu_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "print_class_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "DataAnalysisController.restaurantDish"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/history/cartogram": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "analyzeHistoryCartogram",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.analyzeHistoryCartogram"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.analyzeHistoryCartogram"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/history/every_day": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "analyzeEveryDayHistoryOrder",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.analyzeEveryDayHistoryOrder"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.analyzeEveryDayHistoryOrder"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/history/period": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "analyzeHistoryOrder",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.analyzeHistoryOrder"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.analyzeHistoryOrder"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/history_cancelled/dish/period": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "analyzeHistoryCancelledDishes",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.analyzeHistoryCancelledDishes"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.analyzeHistoryCancelledDishes"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/history_cancelled/period": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "analyzeHistoryCancelled",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.analyzeHistoryCancelled"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.analyzeHistoryCancelled"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/main_group_name": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "mainGroupName",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.mainGroupName"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DataAnalysisController.mainGroupName"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/order_data": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "getOrderData",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.getOrderData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "start",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "end",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "enum": [
                "DESC",
                "ASC"
              ],
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.getOrderData"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/order_detail": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "orderDetail",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.orderDetail"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "order_head_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "check_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "enum": [
                "DESC",
                "ASC"
              ],
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.orderDetail"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/print_class_name": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "printClassName",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.printClassName"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DataAnalysisController.printClassName"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/service/period": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "restaurantService",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.restaurantService"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.restaurantService"
      }
    },
    "/v1/restaurant/{string_id}/data_analysis/service/period_analysis": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "restaurantServicePeriodAnalysis",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.restaurantServicePeriodAnalysis"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "mode",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "today",
                "month",
                "week",
                "custom"
              ],
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.restaurantServicePeriodAnalysis"
      }
    },
    "/v1/restaurant/{string_id}/deal/fiskaly/manage_organization/user": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "dealFiskalyManageOrganizationUser",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.dealFiskalyManageOrganizationUser"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fiskaly_manage_organization_id": {
                    "type": "string"
                  },
                  "fiskaly_manage_organization_user_id": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "operate_type": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "fiskaly_manage_organization_id"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.dealFiskalyManageOrganizationUser"
      }
    },
    "/v1/restaurant/{string_id}/dish/condition": {
      "get": {
        "x-controller-name": "DishController",
        "x-operation-name": "findByCondition",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.findByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "slu_id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "item_name1",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  }
                },
                {
                  "type": "string",
                  "enum": [
                    "0",
                    "1",
                    "2"
                  ]
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "item_id",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "assigned",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "item_id",
                "slu_id",
                "price_1",
                "name"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "in": "query",
            "name": "filter_type",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          },
          {
            "in": "query",
            "name": "pr_foreign_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "is_page",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          }
        ],
        "operationId": "DishController.findByCondition"
      }
    },
    "/v1/restaurant/{string_id}/dish/copy": {
      "post": {
        "x-controller-name": "DishController",
        "x-operation-name": "copyDishes",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.copyDishes"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "slu_id": {
                    "type": "number"
                  }
                },
                "required": [
                  "ids",
                  "slu_id"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.copyDishes"
      }
    },
    "/v1/restaurant/{string_id}/dish/default_pic": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "updateDishDefaultPic",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.updateDishDefaultPic"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.updateDishDefaultPic"
      }
    },
    "/v1/restaurant/{string_id}/dish/dish_strings": {
      "post": {
        "x-controller-name": "DishController",
        "x-operation-name": "createDishStrings",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.createDishStrings"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2",
                        "3"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "type",
                    "value"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.createDishStrings"
      }
    },
    "/v1/restaurant/{string_id}/dish/set/area/details": {
      "delete": {
        "x-controller-name": "DishController",
        "x-operation-name": "deleteDishSetAreaDetails",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.deleteDishSetAreaDetails"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.deleteDishSetAreaDetails"
      }
    },
    "/v1/restaurant/{string_id}/dish/set/area/{area_id}/detail/{id}": {
      "patch": {
        "x-controller-name": "DishController",
        "x-operation-name": "updateDishSetAreaDetail",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.updateDishSetAreaDetail"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "area_id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "item_id": {
                    "type": "number"
                  },
                  "set_price": {
                    "type": "number"
                  },
                  "repeatable": {
                    "type": "string"
                  },
                  "required": {
                    "type": "string"
                  }
                },
                "minProperties": 1,
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 3
        },
        "operationId": "DishController.updateDishSetAreaDetail"
      }
    },
    "/v1/restaurant/{string_id}/dish/set/area/{area_id}/detail": {
      "post": {
        "x-controller-name": "DishController",
        "x-operation-name": "createDishSetAreaDetail",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.createDishSetAreaDetail"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "area_id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "item_id": {
                    "type": "number"
                  },
                  "set_price": {
                    "type": "number"
                  },
                  "repeatable": {
                    "type": "string"
                  },
                  "required": {
                    "type": "string"
                  }
                },
                "required": [
                  "item_id"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "DishController.createDishSetAreaDetail"
      }
    },
    "/v1/restaurant/{string_id}/dish/set/area/{area_id}": {
      "patch": {
        "x-controller-name": "DishController",
        "x-operation-name": "updateDishSetArea",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.updateDishSetArea"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "area_id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "minimum_num": {
                    "type": "number"
                  },
                  "maximum_num": {
                    "type": "number"
                  },
                  "price": {
                    "type": "number"
                  }
                },
                "minProperties": 1,
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "DishController.updateDishSetArea"
      }
    },
    "/v1/restaurant/{string_id}/dish/set/area": {
      "post": {
        "x-controller-name": "DishController",
        "x-operation-name": "createDishSetArea",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.createDishSetArea"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "minimum_num": {
                    "type": "number"
                  },
                  "maximum_num": {
                    "type": "number"
                  },
                  "price": {
                    "type": "number"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.createDishSetArea"
      }
    },
    "/v1/restaurant/{string_id}/dish/set/areas/condition": {
      "get": {
        "x-controller-name": "DishController",
        "x-operation-name": "findSetAreaCondition",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.findSetAreaCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
            }
          },
          {
            "name": "print_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "name": "staff_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "name": "minimum_num",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "maximum_num",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "price",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "id",
                "item_id",
                "area_id",
                "set_price",
                "repeatable",
                "required"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          }
        ],
        "operationId": "DishController.findSetAreaCondition"
      }
    },
    "/v1/restaurant/{string_id}/dish/set/areas": {
      "delete": {
        "x-controller-name": "DishController",
        "x-operation-name": "deleteDishSetAreas",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.deleteDishSetAreas"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.deleteDishSetAreas"
      }
    },
    "/v1/restaurant/{string_id}/dish/set_area/relationships": {
      "patch": {
        "x-controller-name": "DishController",
        "x-operation-name": "updateDishSetAreaRelationships",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.updateDishSetAreaRelationships"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dish_dynamic_info_id": {
                    "type": "number"
                  },
                  "dish_set_area_ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "dish_set_area_ids",
                  "dish_dynamic_info_id"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.updateDishSetAreaRelationships"
      }
    },
    "/v1/restaurant/{string_id}/dish/shift": {
      "patch": {
        "x-controller-name": "DishController",
        "x-operation-name": "moveDishes",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.moveDishes"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "slu_id": {
                    "type": "number"
                  }
                },
                "required": [
                  "ids",
                  "slu_id"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.moveDishes"
      }
    },
    "/v1/restaurant/{string_id}/dish/static/condition": {
      "get": {
        "x-controller-name": "DishController",
        "x-operation-name": "findDishStaticInfoByCondition",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.findDishStaticInfoByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
            }
          },
          {
            "name": "print_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "name": "staff_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3"
              ]
            }
          },
          {
            "name": "ext_dish_info",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "other_detail_info",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "description",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "filter_type",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          },
          {
            "in": "query",
            "name": "pr_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_basic_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "id",
                "name"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "in": "query",
            "name": "is_page",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          }
        ],
        "operationId": "DishController.findDishStaticInfoByCondition"
      }
    },
    "/v1/restaurant/{string_id}/dish/static/{id}": {
      "patch": {
        "x-controller-name": "DishController",
        "x-operation-name": "updateDishStatic",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.updateDishStatic"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2",
                      "3"
                    ]
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "other_detail_info": {
                    "type": "string"
                  },
                  "ext_dish_info": {
                    "type": "string"
                  },
                  "allergen": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "item_description": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "minProperties": 1,
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "DishController.updateDishStatic"
      }
    },
    "/v1/restaurant/{string_id}/dish/static": {
      "post": {
        "x-controller-name": "DishController",
        "x-operation-name": "createDishStatic",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.createDishStatic"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2",
                      "3"
                    ]
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "other_detail_info": {
                    "type": "string"
                  },
                  "ext_dish_info": {
                    "type": "string"
                  },
                  "allergen": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "item_description": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "type"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.createDishStatic"
      }
    },
    "/v1/restaurant/{string_id}/dish/statics/all": {
      "delete": {
        "x-controller-name": "DishController",
        "x-operation-name": "deleteDishStaticsAll",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.deleteDishStaticsAll"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.deleteDishStaticsAll"
      }
    },
    "/v1/restaurant/{string_id}/dish/statics": {
      "patch": {
        "x-controller-name": "DishController",
        "x-operation-name": "updateDishStatics",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.updateDishStatics"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "name": {
                      "type": "string",
                      "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2",
                        "3"
                      ]
                    },
                    "print_name": {
                      "type": "string",
                      "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                    },
                    "staff_name": {
                      "type": "string",
                      "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                    },
                    "other_detail_info": {
                      "type": "string"
                    },
                    "ext_dish_info": {
                      "type": "string"
                    },
                    "allergens": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    },
                    "item_descriptions": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    },
                    "description": {
                      "type": "string"
                    }
                  },
                  "minProperties": 2,
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.updateDishStatics"
      }
    },
    "/v1/restaurant/{string_id}/dish/{item_id}": {
      "patch": {
        "x-controller-name": "DishController",
        "x-operation-name": "updateOne",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.updateOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "item_id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "slu_id": {
                    "type": "number"
                  },
                  "price_1": {
                    "type": "number",
                    "pattern": "^(0(.d{1,2})?)$|^([1-9](d{0,10} |d{0,8}(.d)?|d{0,7}(.d{2})?))$"
                  },
                  "belonged_id": {
                    "type": "number"
                  },
                  "tax_group_id": {
                    "type": "number"
                  },
                  "code": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  },
                  "remarks": {
                    "type": "string"
                  },
                  "marketing_discount": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "description": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2",
                      "3"
                    ]
                  },
                  "other_detail_info": {
                    "type": "string"
                  },
                  "ext_dish_info": {
                    "type": "string"
                  },
                  "allergen": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "item_description": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "minProperties": 1,
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "DishController.updateOne"
      },
      "get": {
        "x-controller-name": "DishController",
        "x-operation-name": "findById",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.findById"
          }
        },
        "parameters": [
          {
            "name": "item_id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DishController.findById"
      }
    },
    "/v1/restaurant/{string_id}/dish": {
      "post": {
        "x-controller-name": "DishController",
        "x-operation-name": "createDish",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.createDish"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tax_group_id": {
                    "type": "number"
                  },
                  "price_1": {
                    "type": "number",
                    "pattern": "^(0(.d{1,2})?)$|^([1-9](d{0,10} |d{0,8}(.d)?|d{0,7}(.d{2})?))$"
                  },
                  "slu_id": {
                    "type": "number"
                  },
                  "not_joining_global_limit": {
                    "type": "number"
                  },
                  "rule_lnr_limit_price": {
                    "type": "number"
                  },
                  "rule_lnr_limit_enable": {
                    "type": "number"
                  },
                  "rule_lnr_max_num_with_customer": {
                    "type": "number"
                  },
                  "rule_lnr_max_num": {
                    "type": "number"
                  },
                  "rule_lnr_enable": {
                    "type": "number"
                  },
                  "code": {
                    "type": "string"
                  },
                  "remarks": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  },
                  "marketing_discount": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2",
                      "3"
                    ]
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "other_detail_info": {
                    "type": "string"
                  },
                  "ext_dish_info": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "allergen": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "item_description": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "tax_group_id",
                  "type"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.createDish"
      }
    },
    "/v1/restaurant/{string_id}/dish_icon_description/condition": {
      "get": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "getDishIconDescriptionByCondition",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.getDishIconDescriptionByCondition"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  }
                },
                {
                  "type": "string",
                  "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "ALLERGEN",
                      "CHARACTERISTIC"
                    ]
                  }
                },
                {
                  "type": "string",
                  "enum": [
                    "ALLERGEN",
                    "CHARACTERISTIC"
                  ]
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "is_default",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  }
                },
                {
                  "type": "number",
                  "enum": [
                    0,
                    1
                  ]
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "pr_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_basic_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_foreign_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "in": "query",
            "name": "filter_type",
            "schema": {
              "type": "string",
              "enum": [
                "or",
                "and"
              ]
            }
          }
        ],
        "operationId": "DishIconDescriptionController.getDishIconDescriptionByCondition"
      }
    },
    "/v1/restaurant/{string_id}/dish_icon_description/dish_icon_description_string": {
      "post": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "createDishIconDescriptionString",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.createDishIconDescriptionString"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "belonged_id": {
                    "type": "number"
                  },
                  "code": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "0"
                    ]
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "belonged_id",
                  "code",
                  "type",
                  "value"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishIconDescriptionController.createDishIconDescriptionString"
      }
    },
    "/v1/restaurant/{string_id}/dish_icon_description/dish_icon_description_strings": {
      "post": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "createFirstMenuStringsByFirstMenuId",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.createFirstMenuStringsByFirstMenuId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "value",
                    "type"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishIconDescriptionController.createFirstMenuStringsByFirstMenuId"
      },
      "delete": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "deleteFirstMenuStringByIds",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.deleteFirstMenuStringByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishIconDescriptionController.deleteFirstMenuStringByIds"
      }
    },
    "/v1/restaurant/{string_id}/dish_icon_description/{id}": {
      "patch": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "updateOne",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.updateOne"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "ALLERGEN",
                      "CHARACTERISTIC"
                    ]
                  },
                  "is_default": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "image": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "minProperties": 1
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "DishIconDescriptionController.updateOne"
      },
      "get": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "getOneById",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.getOneById"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DishIconDescriptionController.getOneById"
      },
      "delete": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "deleteOne",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.deleteOne"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DishIconDescriptionController.deleteOne"
      }
    },
    "/v1/restaurant/{string_id}/dish_icon_description": {
      "post": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "createOne",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.createOne"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "ALLERGEN",
                      "CHARACTERISTIC"
                    ]
                  },
                  "image": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name",
                  "type"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishIconDescriptionController.createOne"
      }
    },
    "/v1/restaurant/{string_id}/dish_icon_descriptions": {
      "delete": {
        "x-controller-name": "DishIconDescriptionController",
        "x-operation-name": "deleteMany",
        "tags": [
          "DishIconDescriptionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishIconDescriptionController.deleteMany"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishIconDescriptionController.deleteMany"
      }
    },
    "/v1/restaurant/{string_id}/dish_set_area/dish_set_area_strings": {
      "post": {
        "x-controller-name": "DishController",
        "x-operation-name": "createDishSetAreaStrings",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.createDishSetAreaStrings"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "type",
                    "value"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.createDishSetAreaStrings"
      }
    },
    "/v1/restaurant/{string_id}/dishes": {
      "delete": {
        "x-controller-name": "DishController",
        "x-operation-name": "deleteDishes",
        "tags": [
          "DishController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DishController.deleteDishes"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array"
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DishController.deleteDishes"
      }
    },
    "/v1/restaurant/{string_id}/dishs": {
      "get": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "getDishs",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.getDishs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "forceUpdate",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "DeliverectController.getDishs"
      }
    },
    "/v1/restaurant/{string_id}/first_menu/condition": {
      "get": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "getByCondition",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.getByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "main_group_id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
            }
          },
          {
            "name": "staff_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "name": "print_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "in": "query",
            "name": "pr_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_basic_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_foreign_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "main_group_id",
                "name"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "in": "query",
            "name": "filter_type",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          }
        ],
        "operationId": "FirstMenuController.getByCondition"
      }
    },
    "/v1/restaurant/{string_id}/first_menu/first_menu_strings": {
      "post": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "createFirstMenuStringsByFirstMenuId",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.createFirstMenuStringsByFirstMenuId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "value",
                    "type"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FirstMenuController.createFirstMenuStringsByFirstMenuId"
      },
      "delete": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "deleteFirstMenuStringByIds",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.deleteFirstMenuStringByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FirstMenuController.deleteFirstMenuStringByIds"
      }
    },
    "/v1/restaurant/{string_id}/first_menu/{id}": {
      "patch": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "updateFirstMenuById",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.updateFirstMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "additionalProperties": false,
                "minProperties": 1
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "FirstMenuController.updateFirstMenuById"
      },
      "get": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "getFirstMenuById",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.getFirstMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FirstMenuController.getFirstMenuById"
      },
      "delete": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "deleteFirstMenuById",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.deleteFirstMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FirstMenuController.deleteFirstMenuById"
      }
    },
    "/v1/restaurant/{string_id}/first_menu": {
      "post": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "createFirstMenu",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.createFirstMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FirstMenuController.createFirstMenu"
      }
    },
    "/v1/restaurant/{string_id}/first_menus": {
      "get": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "getAllFirstMenu",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.getAllFirstMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FirstMenuController.getAllFirstMenu"
      },
      "delete": {
        "x-controller-name": "FirstMenuController",
        "x-operation-name": "deleteByIds",
        "tags": [
          "FirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FirstMenuController.deleteByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "FirstMenuController.deleteByIds"
      }
    },
    "/v1/restaurant/{string_id}/group-revenue-dashboard": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "groupRevenueDashboard",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.groupRevenueDashboard"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "mode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.groupRevenueDashboard"
      }
    },
    "/v1/restaurant/{string_id}/gyb_device/condition": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findRestaurantGybDeviceByCondition",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findRestaurantGybDeviceByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "restaurant_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "location_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "operator",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "bank",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "device_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "brand",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "model",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "license_code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "is_default",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 10000
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "device_code"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "pr_key_info",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_basic_info",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "GybController.findRestaurantGybDeviceByCondition"
      }
    },
    "/v1/restaurant/{string_id}/gyb_device/default/{device_code}": {
      "patch": {
        "x-controller-name": "GybController",
        "x-operation-name": "updateDeviceDefault",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.updateDeviceDefault"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "device_code",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GybController.updateDeviceDefault"
      }
    },
    "/v1/restaurant/{string_id}/gyb_device/license": {
      "patch": {
        "x-controller-name": "GybController",
        "x-operation-name": "updateDevicelicensecode",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.updateDevicelicensecode"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "licenseCode": {
                    "type": "string"
                  },
                  "deviceCode": {
                    "type": "string"
                  }
                },
                "required": [
                  "licenseCode",
                  "deviceCode"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GybController.updateDevicelicensecode"
      }
    },
    "/v1/restaurant/{restaurant_string_id}/gyb_device/{device_code}": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findGybDeviceLHN",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findGybDeviceLHN"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "restaurant_string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "device_code",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GybController.findGybDeviceLHN"
      }
    },
    "/v1/restaurant/{string_id}/gyb_device": {
      "get": {
        "x-controller-name": "GybController",
        "x-operation-name": "findPublicRestaurantGybDevice",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.findPublicRestaurantGybDevice"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GybController.findPublicRestaurantGybDevice"
      }
    },
    "/v1/restaurant/{_id}/hard": {
      "delete": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "deleteByIdHard",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.deleteByIdHard"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestautantController.deleteByIdHard"
      }
    },
    "/v1/restaurant/{string_id}/history_order/type": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "historyOrderType",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.historyOrderType"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "table_name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
              }
            }
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.historyOrderType"
      }
    },
    "/v1/restaurant/{string_id}/history_order": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "historyOrderDetail",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.historyOrderDetail"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DataAnalysisController.historyOrderDetail"
      }
    },
    "/v1/restaurant/{string_id}/info": {
      "patch": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "updateById",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "minProperties": 1,
                "additionalProperties": false,
                "properties": {
                  "dine_in_max_discount_enabled": {
                    "type": "boolean"
                  },
                  "dine_in_max_discount_mode": {
                    "type": "string"
                  },
                  "dine_in_max_discount_amount": {
                    "type": "number"
                  },
                  "dine_in_max_discount_percent": {
                    "type": "number"
                  },
                  "dine_in_max_discount_trigger_logic": {
                    "type": "string"
                  },
                  "dine_in_max_refund_item_count": {
                    "type": "number"
                  },
                  "dine_in_max_refund_amount": {
                    "type": "number"
                  },
                  "dine_in_abnormal_item_count_threshold": {
                    "type": "number"
                  },
                  "dine_in_max_dining_duration_minutes": {
                    "type": "number"
                  },
                  "dine_in_order_close_interval_minutes": {
                    "type": "number"
                  },
                  "dine_in_order_close_check_window_number": {
                    "type": "number"
                  },
                  "cancel_order_risk_alert_enabled": {
                    "type": "boolean"
                  },
                  "delivery_max_discount_enabled": {
                    "type": "boolean"
                  },
                  "delivery_max_discount_mode": {
                    "type": "string"
                  },
                  "delivery_max_discount_amount": {
                    "type": "number"
                  },
                  "delivery_max_discount_percent": {
                    "type": "number"
                  },
                  "delivery_max_discount_trigger_logic": {
                    "type": "string"
                  },
                  "delivery_order_close_check_window_seconds": {
                    "type": "number"
                  },
                  "delivery_order_close_check_window_number": {
                    "type": "number"
                  },
                  "risk_notify_whatsapp_enabled": {
                    "type": "boolean"
                  },
                  "risk_notify_whatsapp_receiver": {
                    "type": "string"
                  },
                  "risk_notify_whatsapp_prefix": {
                    "type": "string"
                  },
                  "risk_notify_email_enabled": {
                    "type": "boolean"
                  },
                  "risk_notify_email_receiver": {
                    "type": "string"
                  },
                  "risk_notify_email_send_mode": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestaurantInfoController.updateById"
      }
    },
    "/v1/restaurant/{string_id}/menu-sales-analysis": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "restaurantMenuSalesAnalysis",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.restaurantMenuSalesAnalysis"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "mode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "menu_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.restaurantMenuSalesAnalysis"
      }
    },
    "/v1/restaurant/{string_id}/message/condition": {
      "get": {
        "x-controller-name": "MessageController",
        "x-operation-name": "getByCondition",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.getByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "name1",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name2",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "content1",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "content2",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pr_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_basic_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "in": "query",
            "name": "filter_type",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          }
        ],
        "operationId": "MessageController.getByCondition"
      }
    },
    "/v1/restaurant/{string_id}/message/message_strings": {
      "post": {
        "x-controller-name": "MessageController",
        "x-operation-name": "createMessageStringsByMessageId",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.createMessageStringsByMessageId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2",
                        "3"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "value",
                    "type"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MessageController.createMessageStringsByMessageId"
      }
    },
    "/v1/restaurant/{string_id}/message/{id}": {
      "patch": {
        "x-controller-name": "MessageController",
        "x-operation-name": "updateOne",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.updateOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "name1": {
                    "type": "string"
                  },
                  "content1": {
                    "type": "string"
                  },
                  "name2": {
                    "type": "string"
                  },
                  "content2": {
                    "type": "string"
                  }
                },
                "minProperties": 1,
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MessageController.updateOne"
      },
      "get": {
        "x-controller-name": "MessageController",
        "x-operation-name": "getOne",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.getOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MessageController.getOne"
      },
      "delete": {
        "x-controller-name": "MessageController",
        "x-operation-name": "deleteOne",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.deleteOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MessageController.deleteOne"
      }
    },
    "/v1/restaurant/{string_id}/message": {
      "post": {
        "x-controller-name": "MessageController",
        "x-operation-name": "createOne",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.createOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "name1": {
                    "type": "string"
                  },
                  "content1": {
                    "type": "string"
                  },
                  "name2": {
                    "type": "string"
                  },
                  "content2": {
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "name1",
                  "content1"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MessageController.createOne"
      }
    },
    "/v1/restaurant/{string_id}/messages": {
      "get": {
        "x-controller-name": "MessageController",
        "x-operation-name": "getMany",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.getMany"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MessageController.getMany"
      },
      "delete": {
        "x-controller-name": "MessageController",
        "x-operation-name": "deleteMany",
        "tags": [
          "MessageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MessageController.deleteMany"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MessageController.deleteMany"
      }
    },
    "/v1/restaurant/{string_id}/owned_staff": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "updateOwnedStaff",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.updateOwnedStaff"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "REMOVE"
                    ]
                  },
                  "owned_staff": {
                    "type": "array"
                  }
                },
                "required": [
                  "type",
                  "owned_staff"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.updateOwnedStaff"
      }
    },
    "/v1/restaurant/{string_id}/revenue-dashboard": {
      "get": {
        "x-controller-name": "BusinessIntelligenceControlle",
        "x-operation-name": "revenueDashboard",
        "tags": [
          "BusinessIntelligenceControlle"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessIntelligenceControlle.revenueDashboard"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2025-12-24"
            }
          }
        ],
        "operationId": "BusinessIntelligenceControlle.revenueDashboard"
      }
    },
    "/v1/restaurant/{string_id}/risk/analysis": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getRiskAnalysis",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getRiskAnalysis"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestaurantInfoController.getRiskAnalysis"
      }
    },
    "/v1/restaurant/{string_id}/risk/handle": {
      "patch": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "handleRisk",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.handleRisk"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "target_type",
                  "status",
                  "operator_name"
                ],
                "additionalProperties": false,
                "properties": {
                  "target_type": {
                    "type": "string",
                    "enum": [
                      "ORDER",
                      "EVENT"
                    ],
                    "description": "ORDER=单订单风控点，EVENT=风控事件"
                  },
                  "ids": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "number"
                    },
                    "description": "ORDER: risk_order.id；EVENT: risk_event.id"
                  },
                  "event_order_ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "description": "风控事件下的订单明细ID risk_event_order.id"
                  },
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ],
                    "description": "1=忽略 2=已解决"
                  },
                  "operator_name": {
                    "type": "string",
                    "maxLength": 64
                  },
                  "remark": {
                    "type": "string",
                    "maxLength": 255
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestaurantInfoController.handleRisk"
      }
    },
    "/v1/restaurant/{string_id}/risk/recommend": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getRiskRecommend",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getRiskRecommend"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestaurantInfoController.getRiskRecommend"
      }
    },
    "/v1/restaurant/{string_id}/riskOrder": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getrisk",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getrisk"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "risk_types",
            "required": false,
            "schema": {
              "type": "array",
              "items": [
                1,
                2,
                3,
                4,
                5
              ]
            }
          },
          {
            "in": "query",
            "name": "event_types",
            "required": false,
            "schema": {
              "type": "array",
              "items": [
                1,
                2
              ]
            }
          }
        ],
        "operationId": "RestaurantInfoController.getrisk"
      }
    },
    "/v1/restaurant/{rid}/rule/R2": {
      "get": {
        "x-controller-name": "RuleController",
        "x-operation-name": "findR2ByParams",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.findR2ByParams"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "time",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "category_name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "project_name",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RuleController.findR2ByParams"
      }
    },
    "/v1/restaurant/{rid}/rule/menu": {
      "get": {
        "x-controller-name": "RuleController",
        "x-operation-name": "findByMenu",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.findByMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "code",
            "schema": {
              "type": "string",
              "enum": [
                "R1",
                "R2",
                "R3",
                "R4",
                "R5",
                "R6",
                "R7",
                "R8",
                "R9",
                "R10"
              ]
            }
          },
          {
            "in": "query",
            "name": "dish_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "first_menu_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "second_menu_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "order_type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "time",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "category_name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "project_name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "scheduleTimeType",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RuleController.findByMenu"
      }
    },
    "/v1/restaurant/{rid}/rule/{id}": {
      "patch": {
        "x-controller-name": "RuleController",
        "x-operation-name": "updateOne",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.updateOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "R1",
                      "R2",
                      "R3",
                      "R4",
                      "R5",
                      "R6",
                      "R7",
                      "R8",
                      "R9",
                      "R10"
                    ]
                  },
                  "value": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "dish_id": {
                            "type": "number"
                          },
                          "limit_number": {
                            "type": "number"
                          },
                          "price": {
                            "type": "number"
                          },
                          "is_enable": {
                            "type": "boolean"
                          },
                          "is_add": {
                            "type": "boolean"
                          },
                          "limit_remark": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "dish_id",
                          "limit_number",
                          "price",
                          "is_enable",
                          "is_add"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "category": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "first_menu_id": {
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  }
                                },
                                "category_name": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "project_name": {
                            "type": "string"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "category",
                          "schedule_time"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "max_turn_number": {
                            "type": "number"
                          },
                          "time_of_duration": {
                            "type": "number"
                          },
                          "order_quantity": {
                            "type": "number"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1",
                                    "2",
                                    "3"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "max_turn_number",
                          "time_of_duration",
                          "order_quantity",
                          "schedule_time"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "create_order": {
                            "type": "boolean"
                          },
                          "order_type": {
                            "type": "string"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1",
                                    "2",
                                    "3"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "create_order",
                          "order_type",
                          "schedule_time"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "first_menu_id": {
                            "type": "number"
                          },
                          "max_dish_number": {
                            "type": "number"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1",
                                    "2",
                                    "3"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "first_menu_id",
                          "max_dish_number",
                          "schedule_time"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "first_menu_id": {
                            "type": "number"
                          },
                          "exceed_the_limit": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "first_menu_id",
                          "exceed_the_limit"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "first_menu_id": {
                            "type": "number"
                          },
                          "dish_dynamic_id": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "service_id": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "customer_number": {
                            "type": "number"
                          },
                          "adult_number": {
                            "type": "number"
                          },
                          "child_number": {
                            "type": "number"
                          },
                          "order_type": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "first_menu_id",
                          "dish_dynamic_id",
                          "service_id",
                          "customer_number",
                          "adult_number",
                          "child_number",
                          "order_type"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "second_menu_id": {
                            "type": "number"
                          },
                          "max_dish_number": {
                            "type": "number"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1",
                                    "2",
                                    "3"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "second_menu_id",
                          "max_dish_number",
                          "schedule_time"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "second_menu_id": {
                            "type": "number"
                          },
                          "exceed_the_limit": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "second_menu_id",
                          "exceed_the_limit"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "second_menu_id": {
                            "type": "number"
                          },
                          "dish_dynamic_id": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "service_id": {
                            "type": "number",
                            "items": {
                              "type": "number"
                            }
                          },
                          "customer_number": {
                            "type": "number"
                          },
                          "adult_number": {
                            "type": "number"
                          },
                          "child_number": {
                            "type": "number"
                          },
                          "order_type": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "second_menu_id",
                          "dish_dynamic_id",
                          "service_id",
                          "customer_number",
                          "adult_number",
                          "child_number",
                          "order_type"
                        ]
                      }
                    ]
                  }
                },
                "additionalProperties": false,
                "minProperties": 1
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "RuleController.updateOne"
      },
      "get": {
        "x-controller-name": "RuleController",
        "x-operation-name": "findOne",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.findOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RuleController.findOne"
      },
      "delete": {
        "x-controller-name": "RuleController",
        "x-operation-name": "deleteOne",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.deleteOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RuleController.deleteOne"
      }
    },
    "/v1/restaurant/{id}/rule": {
      "post": {
        "x-controller-name": "RuleController",
        "x-operation-name": "createOne",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.createOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R1"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "dish_id": {
                            "type": "number"
                          },
                          "limit_number": {
                            "type": "number"
                          },
                          "price": {
                            "type": "number"
                          },
                          "is_enable": {
                            "type": "boolean"
                          },
                          "is_add": {
                            "type": "boolean"
                          },
                          "limit_remark": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "dish_id",
                          "limit_number",
                          "price",
                          "is_enable",
                          "is_add"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R2"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "category": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "first_menu_id": {
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  }
                                },
                                "category_name": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "project_name": {
                            "type": "string"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "category",
                          "schedule_time"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R3"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "max_turn_number": {
                            "type": "number"
                          },
                          "time_of_duration": {
                            "type": "number"
                          },
                          "order_quantity": {
                            "type": "number"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "max_turn_number",
                          "time_of_duration",
                          "order_quantity",
                          "schedule_time"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R4"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "create_order": {
                            "type": "boolean"
                          },
                          "order_type": {
                            "type": "string"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1",
                                    "2",
                                    "3"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "create_order",
                          "order_type",
                          "schedule_time"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R5"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "first_menu_id": {
                            "type": "number"
                          },
                          "max_dish_number": {
                            "type": "number"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1",
                                    "2",
                                    "3"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "first_menu_id",
                          "max_dish_number",
                          "schedule_time"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R6"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "first_menu_id": {
                            "type": "number"
                          },
                          "exceed_the_limit": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "first_menu_id",
                          "exceed_the_limit"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R7"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "first_menu_id": {
                            "type": "number"
                          },
                          "dish_dynamic_id": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "service_id": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "is_enable": {
                            "type": "boolean"
                          },
                          "adult_number": {
                            "type": "boolean"
                          },
                          "child_number": {
                            "type": "boolean"
                          },
                          "order_type": {
                            "type": "string",
                            "enum": [
                              "0",
                              "1",
                              "2"
                            ]
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "first_menu_id",
                          "dish_dynamic_id",
                          "service_id",
                          "is_enable",
                          "adult_number",
                          "child_number",
                          "order_type"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R8"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "second_menu_id": {
                            "type": "number"
                          },
                          "max_dish_number": {
                            "type": "number"
                          },
                          "schedule_time": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "0",
                                    "1",
                                    "2",
                                    "3"
                                  ]
                                },
                                "value": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "second_menu_id",
                          "max_dish_number",
                          "schedule_time"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R9"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "second_menu_id": {
                            "type": "number"
                          },
                          "exceed_the_limit": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "second_menu_id",
                          "exceed_the_limit"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "enum": [
                          "R10"
                        ]
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "second_menu_id": {
                            "type": "number"
                          },
                          "dish_dynamic_id": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "service_id": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "is_enable": {
                            "type": "boolean"
                          },
                          "adult_number": {
                            "type": "boolean"
                          },
                          "child_number": {
                            "type": "boolean"
                          },
                          "order_type": {
                            "type": "string",
                            "enum": [
                              "0",
                              "1",
                              "2"
                            ]
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "second_menu_id",
                          "dish_dynamic_id",
                          "service_id",
                          "is_enable",
                          "adult_number",
                          "child_number",
                          "order_type"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "code",
                      "value"
                    ]
                  }
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RuleController.createOne"
      }
    },
    "/v1/restaurant/{rid}/rule": {
      "get": {
        "x-controller-name": "RuleController",
        "x-operation-name": "findMany",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.findMany"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RuleController.findMany"
      }
    },
    "/v1/restaurant/{rid}/rules/condition": {
      "get": {
        "x-controller-name": "RuleController",
        "x-operation-name": "findManyByCondition",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.findManyByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "R1",
                  "R2",
                  "R3",
                  "R4",
                  "R5",
                  "R6",
                  "R7",
                  "R8",
                  "R9",
                  "R10"
                ]
              }
            }
          },
          {
            "in": "query",
            "name": "_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "code"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "RuleController.findManyByCondition"
      }
    },
    "/v1/restaurant/{id}/rules": {
      "post": {
        "x-controller-name": "RuleController",
        "x-operation-name": "createMany",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.createMany"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R1"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "dish_id": {
                              "type": "number"
                            },
                            "limit_number": {
                              "type": "number"
                            },
                            "price": {
                              "type": "number"
                            },
                            "is_enable": {
                              "type": "boolean"
                            },
                            "is_add": {
                              "type": "boolean"
                            },
                            "limit_remark": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "dish_id",
                            "limit_number",
                            "price",
                            "is_enable",
                            "is_add"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R2"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "category": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "first_menu_id": {
                                    "type": "array",
                                    "items": {
                                      "type": "number"
                                    }
                                  },
                                  "category_name": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "project_name": {
                              "type": "string"
                            },
                            "schedule_time": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "0"
                                    ]
                                  },
                                  "value": {
                                    "type": "object"
                                  }
                                }
                              }
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "category",
                            "schedule_time"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R3"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "max_turn_number": {
                              "type": "number"
                            },
                            "time_of_duration": {
                              "type": "number"
                            },
                            "order_quantity": {
                              "type": "number"
                            },
                            "schedule_time": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "0",
                                      "1",
                                      "2",
                                      "3"
                                    ]
                                  },
                                  "value": {
                                    "type": "object"
                                  }
                                }
                              }
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "max_turn_number",
                            "time_of_duration",
                            "order_quantity",
                            "schedule_time"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R4"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "create_order": {
                              "type": "boolean"
                            },
                            "order_type": {
                              "type": "string"
                            },
                            "schedule_time": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "0",
                                      "1",
                                      "2",
                                      "3"
                                    ]
                                  },
                                  "value": {
                                    "type": "object"
                                  }
                                }
                              }
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "create_order",
                            "order_type",
                            "schedule_time"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R5"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "first_menu_id": {
                              "type": "number"
                            },
                            "max_dish_number": {
                              "type": "number"
                            },
                            "schedule_time": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "0",
                                      "1",
                                      "2",
                                      "3"
                                    ]
                                  },
                                  "value": {
                                    "type": "object"
                                  }
                                }
                              }
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "first_menu_id",
                            "max_dish_number",
                            "schedule_time"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R6"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "first_menu_id": {
                              "type": "number"
                            },
                            "exceed_the_limit": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "first_menu_id",
                            "exceed_the_limit"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R7"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "first_menu_id": {
                              "type": "number"
                            },
                            "dish_dynamic_id": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            },
                            "service_id": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            },
                            "is_enable": {
                              "type": "boolean"
                            },
                            "adult_number": {
                              "type": "boolean"
                            },
                            "child_number": {
                              "type": "boolean"
                            },
                            "order_type": {
                              "type": "string",
                              "enum": [
                                "0",
                                "1",
                                "2"
                              ]
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "first_menu_id",
                            "dish_dynamic_id",
                            "service_id",
                            "is_enable",
                            "adult_number",
                            "child_number",
                            "order_type"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R8"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "second_menu_id": {
                              "type": "number"
                            },
                            "max_dish_number": {
                              "type": "number"
                            },
                            "schedule_time": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "0",
                                      "1",
                                      "2",
                                      "3"
                                    ]
                                  },
                                  "value": {
                                    "type": "object"
                                  }
                                }
                              }
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "second_menu_id",
                            "max_dish_number",
                            "schedule_time"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R9"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "second_menu_id": {
                              "type": "number"
                            },
                            "exceed_the_limit": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "second_menu_id",
                            "exceed_the_limit"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "R10"
                          ]
                        },
                        "value": {
                          "type": "object",
                          "properties": {
                            "second_menu_id": {
                              "type": "number"
                            },
                            "dish_dynamic_id": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            },
                            "service_id": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            },
                            "is_enable": {
                              "type": "boolean"
                            },
                            "adult_number": {
                              "type": "boolean"
                            },
                            "child_number": {
                              "type": "boolean"
                            },
                            "order_type": {
                              "type": "string",
                              "enum": [
                                "0",
                                "1",
                                "2"
                              ]
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "second_menu_id",
                            "dish_dynamic_id",
                            "service_id",
                            "is_enable",
                            "adult_number",
                            "child_number",
                            "order_type"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "code",
                        "value"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RuleController.createMany"
      }
    },
    "/v1/restaurant/{rid}/rules": {
      "delete": {
        "x-controller-name": "RuleController",
        "x-operation-name": "deleteMany",
        "tags": [
          "RuleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RuleController.deleteMany"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "rid",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RuleController.deleteMany"
      }
    },
    "/v1/restaurant/{string_id}/second_menu/condition": {
      "get": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "getByCondition",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.getByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "dmi_slu_id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "main_group_id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
            }
          },
          {
            "name": "staff_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "name": "print_name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
            }
          },
          {
            "in": "query",
            "name": "pr_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_basic_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "pr_foreign_key_info",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "dmi_slu_id",
                "name"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "in": "query",
            "name": "filter_type",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          }
        ],
        "operationId": "SecondMenuController.getByCondition"
      }
    },
    "/v1/restaurant/{string_id}/second_menu/second_menu_strings": {
      "post": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "createSecondMenuStringsBySecondMenuId",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.createSecondMenuStringsBySecondMenuId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2",
                        "3"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "value",
                    "type"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SecondMenuController.createSecondMenuStringsBySecondMenuId"
      },
      "delete": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "deleteSecondMenuStringByIds",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.deleteSecondMenuStringByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SecondMenuController.deleteSecondMenuStringByIds"
      }
    },
    "/v1/restaurant/{string_id}/second_menu/{id}": {
      "patch": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "updateSecondMenuById",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.updateSecondMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "main_group_id": {
                    "type": "number"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "additionalProperties": false,
                "minProperties": 1
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "SecondMenuController.updateSecondMenuById"
      },
      "get": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "getSecondMenuById",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.getSecondMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SecondMenuController.getSecondMenuById"
      },
      "delete": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "deleteSecondMenuById",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.deleteSecondMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "SecondMenuController.deleteSecondMenuById"
      }
    },
    "/v1/restaurant/{string_id}/second_menu": {
      "post": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "createSecondMenu",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.createSecondMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "main_group_id": {
                    "type": "number"
                  },
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name",
                  "main_group_id"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SecondMenuController.createSecondMenu"
      }
    },
    "/v1/restaurant/{string_id}/second_menus": {
      "get": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "getAllSecondMenu",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.getAllSecondMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SecondMenuController.getAllSecondMenu"
      },
      "delete": {
        "x-controller-name": "SecondMenuController",
        "x-operation-name": "deleteByIds",
        "tags": [
          "SecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SecondMenuController.deleteByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "SecondMenuController.deleteByIds"
      }
    },
    "/v1/restaurant/{string_id}/secret_key/refresh": {
      "patch": {
        "x-controller-name": "PublicController",
        "x-operation-name": "refreshRestaurantSecretKey",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.refreshRestaurantSecretKey"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "_id"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PublicController.refreshRestaurantSecretKey"
      }
    },
    "/v1/restaurant/{string_id}/secret_key": {
      "post": {
        "x-controller-name": "PublicController",
        "x-operation-name": "createRestaurantSecretKey",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.createRestaurantSecretKey"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PublicController.createRestaurantSecretKey"
      },
      "patch": {
        "x-controller-name": "PublicController",
        "x-operation-name": "updateRestaurantSecretKey",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.updateRestaurantSecretKey"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "_id"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PublicController.updateRestaurantSecretKey"
      },
      "delete": {
        "x-controller-name": "PublicController",
        "x-operation-name": "deleteRestaurantSecretKey",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.deleteRestaurantSecretKey"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "_id"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PublicController.deleteRestaurantSecretKey"
      }
    },
    "/v1/restaurant/{string_id}/service/service_strings": {
      "post": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "createServiceStringsByServiceId",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.createServiceStringsByServiceId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "belonged_id": {
                      "type": "number"
                    },
                    "code": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "id": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "belonged_id",
                    "code",
                    "value",
                    "type"
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ServiceController.createServiceStringsByServiceId"
      },
      "delete": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "deleteServiceStringByIds",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.deleteServiceStringByIds"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ServiceController.deleteServiceStringByIds"
      }
    },
    "/v1/restaurant/{string_id}/service/{id}": {
      "patch": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "updateServiceById",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.updateServiceById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "price": {
                    "type": "number"
                  },
                  "tax_group_id": {
                    "type": "number"
                  }
                },
                "additionalProperties": false,
                "minProperties": 1
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ServiceController.updateServiceById"
      },
      "get": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "getServiceById",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.getServiceById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ServiceController.getServiceById"
      },
      "delete": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "deleteServiceById",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.deleteServiceById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ServiceController.deleteServiceById"
      }
    },
    "/v1/restaurant/{string_id}/service": {
      "post": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "createService",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.createService"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
                  },
                  "staff_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "print_name": {
                    "type": "string",
                    "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
                  },
                  "price": {
                    "type": "number"
                  },
                  "tax_group_id": {
                    "type": "number"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name",
                  "tax_group_id"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ServiceController.createService"
      },
      "get": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "findServiceByName",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.findServiceByName"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
            }
          }
        ],
        "operationId": "ServiceController.findServiceByName"
      }
    },
    "/v1/restaurant/{string_id}/services": {
      "get": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "getAllServices",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.getAllServices"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ServiceController.getAllServices"
      },
      "delete": {
        "x-controller-name": "ServiceController",
        "x-operation-name": "deleteServicesById",
        "tags": [
          "ServiceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ServiceController.deleteServicesById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_mandatory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 1
                  }
                },
                "additionalProperties": false,
                "required": [
                  "ids"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ServiceController.deleteServicesById"
      }
    },
    "/v1/restaurant/{string_id}/setting_i18n_codes": {
      "get": {
        "x-controller-name": "SettingController",
        "x-operation-name": "findAllI18N",
        "tags": [
          "SettingController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingController.findAllI18N"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SettingController.findAllI18N"
      }
    },
    "/v1/restaurant/{string_id}/source": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "getRestaurantInfo",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.getRestaurantInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "language",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PublicController.getRestaurantInfo"
      }
    },
    "/v1/restaurant/{string_id}/tax_group/{id}": {
      "get": {
        "x-controller-name": "TaxGrupController",
        "x-operation-name": "getTaxGroup",
        "tags": [
          "TaxGrupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGrupController.getTaxGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TaxGrupController.getTaxGroup"
      }
    },
    "/v1/restaurant/{string_id}/tax_group": {
      "get": {
        "x-controller-name": "TaxGrupController",
        "x-operation-name": "getTaxGroups",
        "tags": [
          "TaxGrupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGrupController.getTaxGroups"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "TaxGrupController.getTaxGroups"
      }
    },
    "/v1/restaurant/{string_id}/upload/restaurant-agreement": {
      "post": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "uploadRestaurantAgreement",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.uploadRestaurantAgreement"
          }
        },
        "parameters": [
          {
            "name": "string_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestautantController.uploadRestaurantAgreement"
      }
    },
    "/v1/restaurant/{string_id}/warrant/condition": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "findByWarrantCondition",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.findByWarrantCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "DETAIL",
                "SUMMARY"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "DATE",
                "TYPE"
              ]
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "USE",
                "EXPIRED"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "operationId": "WarrantController.findByWarrantCondition"
      }
    },
    "/v1/restaurant/{string_id}/warrant/{_id}": {
      "patch": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "updateWarrant",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.updateWarrant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "project": {
                    "type": "string",
                    "enum": [
                      "SW2P5"
                    ]
                  },
                  "code": {
                    "type": "string",
                    "enum": [
                      "AU1000",
                      "AU1001",
                      "AU1002",
                      "AU1003",
                      "AU1004",
                      "AU1005",
                      "AU1006",
                      "AU1007",
                      "AU1008",
                      "AU1009",
                      "AU1010",
                      "AU1011",
                      "AU1012",
                      "AU1020",
                      "AU1021",
                      "AU1013",
                      "AU1022",
                      "AU1023",
                      "AU1024",
                      "AU1025",
                      "AU1026",
                      "AU1027",
                      "AU1028",
                      "AU1029",
                      "AU1030",
                      "AUC1000",
                      "AUC1001",
                      "AUC1002",
                      "AUC1003",
                      "AUC1004",
                      "AUC1005",
                      "AUC1006"
                    ]
                  },
                  "activation": {
                    "type": "boolean"
                  },
                  "limit_point": {
                    "type": "object",
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1001"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1002"
                            ]
                          },
                          "remaining_num": {
                            "type": "number"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1003",
                              "AUP1004"
                            ]
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "max_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1005"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "remaining_num": {
                            "type": "number"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "remaining_num",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1006",
                              "AUP1007"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "max_num"
                        ]
                      }
                    ]
                  }
                },
                "additionalProperties": false,
                "required": [
                  "code",
                  "project",
                  "activation",
                  "limit_point"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "WarrantController.updateWarrant"
      }
    },
    "/v1/restaurant/{string_id}/warrant": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "findById",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "activation",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantController.findById"
      },
      "delete": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "deleteRestaurantWarrant",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.deleteRestaurantWarrant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "admin_id": {
                    "type": "string"
                  },
                  "admin_nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.deleteRestaurantWarrant"
      }
    },
    "/v1/restaurant/{string_id}/warrants/total_num": {
      "patch": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "update",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.update"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "activation": {
                    "type": "boolean"
                  },
                  "limit_point": {
                    "type": "object",
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1001"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1002"
                            ]
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1003",
                              "AUP1004"
                            ]
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "max_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1005"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "remaining_num": {
                            "type": "number"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "remaining_num",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1006",
                              "AUP1007"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "max_num"
                        ]
                      }
                    ]
                  },
                  "current_time_zone": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id",
                  "limit_point",
                  "activation",
                  "current_time_zone"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.update"
      }
    },
    "/v1/restaurant/{string_id}/warrants": {
      "post": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "createRestaurantWarrants",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.createRestaurantWarrants"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "project": {
                    "type": "string",
                    "enum": [
                      "SW2P5"
                    ]
                  },
                  "code": {
                    "type": "string",
                    "enum": [
                      "AU1000",
                      "AU1001",
                      "AU1002",
                      "AU1003",
                      "AU1004",
                      "AU1005",
                      "AU1006",
                      "AU1007",
                      "AU1008",
                      "AU1009",
                      "AU1010",
                      "AU1011",
                      "AU1012",
                      "AU1020",
                      "AU1021",
                      "AU1013",
                      "AU1022",
                      "AU1023",
                      "AU1024",
                      "AU1025",
                      "AU1026",
                      "AU1027",
                      "AU1028",
                      "AU1029",
                      "AU1030",
                      "AUC1000",
                      "AUC1001",
                      "AUC1002",
                      "AUC1003",
                      "AUC1004",
                      "AUC1005",
                      "AUC1006"
                    ]
                  },
                  "activation": {
                    "type": "boolean"
                  },
                  "limit_point": {
                    "type": "object",
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1001"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1002"
                            ]
                          },
                          "remaining_num": {
                            "type": "number"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1003",
                              "AUP1004"
                            ]
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "max_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1005"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "remaining_num": {
                            "type": "number"
                          },
                          "total_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "remaining_num",
                          "total_num"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "AUP1006",
                              "AUP1007"
                            ]
                          },
                          "start_date": {
                            "type": "string"
                          },
                          "end_date": {
                            "type": "string"
                          },
                          "max_num": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "start_date",
                          "end_date",
                          "max_num"
                        ]
                      }
                    ]
                  },
                  "price": {
                    "type": "number"
                  },
                  "current_time_zone": {
                    "type": "string"
                  },
                  "admin_id": {
                    "type": "string"
                  },
                  "admin_nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "code",
                  "project",
                  "limit_point",
                  "current_time_zone"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.createRestaurantWarrants"
      },
      "patch": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "patchRestaurantWarrants",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.patchRestaurantWarrants"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "warrants": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "activation": {
                          "type": "boolean"
                        },
                        "limit_point": {
                          "type": "object",
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1001"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "total_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1002"
                                  ]
                                },
                                "total_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "total_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1003",
                                    "AUP1004"
                                  ]
                                },
                                "max_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "max_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1005"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "remaining_num": {
                                  "type": "number"
                                },
                                "total_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date",
                                "remaining_num",
                                "total_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1006",
                                    "AUP1007"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "max_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date",
                                "max_num"
                              ]
                            }
                          ]
                        }
                      }
                    }
                  },
                  "current_time_zone": {
                    "type": "string"
                  }
                },
                "required": [
                  "warrants",
                  "current_time_zone"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.patchRestaurantWarrants"
      },
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "getwarrant",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.getwarrant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "time_zone",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "USE",
                "EXPIRED"
              ]
            }
          }
        ],
        "operationId": "WarrantController.getwarrant"
      }
    },
    "/v1/restaurant/{string_id}/warrants_collection": {
      "post": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "createRestaurantWarrantsByCollection",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.createRestaurantWarrantsByCollection"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "",
                      "AUC1000",
                      "AUC1001",
                      "AUC1002",
                      "AUC1003",
                      "AUC1004",
                      "AUC1005",
                      "AUC1006"
                    ]
                  },
                  "warrants": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "project": {
                          "type": "string",
                          "enum": [
                            "SW2P5"
                          ]
                        },
                        "code": {
                          "type": "string",
                          "enum": [
                            "AU1000",
                            "AU1001",
                            "AU1002",
                            "AU1003",
                            "AU1004",
                            "AU1005",
                            "AU1006",
                            "AU1007",
                            "AU1008",
                            "AU1009",
                            "AU1010",
                            "AU1011",
                            "AU1012",
                            "AU1020",
                            "AU1021",
                            "AU1013",
                            "AU1022",
                            "AU1023",
                            "AU1024",
                            "AU1025",
                            "AU1026",
                            "AU1027",
                            "AU1028",
                            "AU1029",
                            "AU1030",
                            "AUC1000",
                            "AUC1001",
                            "AUC1002",
                            "AUC1003",
                            "AUC1004",
                            "AUC1005",
                            "AUC1006"
                          ]
                        },
                        "activation": {
                          "type": "boolean"
                        },
                        "limit_point": {
                          "type": "object",
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1001"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "total_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1002"
                                  ]
                                },
                                "total_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "total_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1003",
                                    "AUP1004"
                                  ]
                                },
                                "max_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "max_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1005"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "total_num": {
                                  "type": "number"
                                },
                                "remaining_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date",
                                "remaining_num",
                                "total_num"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "AUP1006",
                                    "AUP1007"
                                  ]
                                },
                                "start_date": {
                                  "type": "string"
                                },
                                "end_date": {
                                  "type": "string"
                                },
                                "max_num": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "code",
                                "start_date",
                                "end_date",
                                "max_num"
                              ]
                            }
                          ]
                        }
                      }
                    }
                  },
                  "price": {
                    "type": "number"
                  },
                  "current_time_zone": {
                    "type": "string"
                  },
                  "admin_id": {
                    "type": "string"
                  },
                  "admin_nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantController.createRestaurantWarrantsByCollection"
      }
    },
    "/v1/restaurant/{_id}": {
      "delete": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "deleteByOne",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.deleteByOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestautantController.deleteByOne"
      }
    },
    "/v1/restaurant": {
      "post": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "createOne",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "string"
                  },
                  "label": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "local": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "language": {
                    "type": "string"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "tel": {
                    "type": "string"
                  },
                  "time_zone": {
                    "type": "string"
                  },
                  "default_pic": {
                    "type": "object"
                  },
                  "logo": {
                    "type": "string"
                  },
                  "home_number": {
                    "type": "string"
                  },
                  "owned_staff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "reg_name": {
                    "type": "string"
                  },
                  "reg_local": {
                    "type": "string"
                  },
                  "reg_city": {
                    "type": "string"
                  },
                  "reg_state": {
                    "type": "string"
                  },
                  "reg_country": {
                    "type": "string"
                  },
                  "reg_postcode": {
                    "type": "string"
                  },
                  "reg_vat_number": {
                    "type": "string"
                  },
                  "reg_des_code": {
                    "type": "string"
                  },
                  "reg_pec": {
                    "type": "string"
                  },
                  "reg_fiscal_code": {
                    "type": "string"
                  },
                  "restaurant_version": {
                    "type": "string",
                    "enum": [
                      "2.0",
                      "2.5"
                    ]
                  },
                  "database_host": {
                    "type": "string"
                  },
                  "database_port": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "project": {
                              "type": "string"
                            },
                            "port": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "project",
                            "port"
                          ]
                        }
                      }
                    ]
                  },
                  "belonged_reseller": {
                    "type": "string"
                  },
                  "restaurant_contact_person": {
                    "type": "string"
                  }
                },
                "additionalProperties": true,
                "required": [
                  "nickname",
                  "belonged_group",
                  "tel",
                  "tel_prefix",
                  "city",
                  "reg_name",
                  "reg_vat_number",
                  "reg_country",
                  "reg_city",
                  "reg_pec",
                  "reg_state",
                  "reg_fiscal_code",
                  "reg_des_code",
                  "time_zone",
                  "country",
                  "restaurant_version"
                ]
              }
            }
          }
        },
        "operationId": "RestautantController.createOne"
      },
      "delete": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "deleteBatchRestaurant",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.deleteBatchRestaurant"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "RestautantController.deleteBatchRestaurant"
      }
    },
    "/v1/restaurnt/{string_id}/warrant/check_date": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "checkWarrantDate",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.checkWarrantDate"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "start_date",
            "schema": {
              "type": "date"
            }
          },
          {
            "in": "query",
            "name": "end_date",
            "schema": {
              "type": "date"
            }
          }
        ],
        "operationId": "WarrantController.checkWarrantDate"
      }
    },
    "/v1/restore/delete/group": {
      "patch": {
        "x-controller-name": "GroupController",
        "x-operation-name": "restoreDeleteGroup",
        "tags": [
          "GroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GroupController.restoreDeleteGroup"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "groups": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "is_restore_staff_restaurant": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "groups"
                ]
              }
            }
          }
        },
        "operationId": "GroupController.restoreDeleteGroup"
      }
    },
    "/v1/restore/delete/reseller": {
      "patch": {
        "x-controller-name": "ResellerController",
        "x-operation-name": "restoreDeleteReseller",
        "tags": [
          "ResellerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ResellerController.restoreDeleteReseller"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "is_restore_staff_restaurant": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_ids"
                ]
              }
            }
          }
        },
        "operationId": "ResellerController.restoreDeleteReseller"
      }
    },
    "/v1/restore/delete/restaurant": {
      "patch": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "restoreDeleteRestaurant",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.restoreDeleteRestaurant"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_ids"
                ]
              }
            }
          }
        },
        "operationId": "RestautantController.restoreDeleteRestaurant"
      }
    },
    "/v1/restore/delete/staff": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "restoreDeleteStaff",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.restoreDeleteStaff"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_ids"
                ]
              }
            }
          }
        },
        "operationId": "StaffController.restoreDeleteStaff"
      }
    },
    "/v1/resturn/{string_id}/privacy_policy": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "getprivacypolicy",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.getprivacypolicy"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestautantController.getprivacypolicy"
      }
    },
    "/v1/role/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "RoleController",
        "x-operation-name": "updateById",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RoleController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "role_description": {
                    "type": "string"
                  },
                  "permission_description": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoleController.updateById"
      }
    },
    "/v1/role/_id/{_id}": {
      "get": {
        "x-controller-name": "RoleController",
        "x-operation-name": "findById",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RoleController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RoleController.findById"
      },
      "delete": {
        "x-controller-name": "RoleController",
        "x-operation-name": "deleteOne",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RoleController.deleteOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RoleController.deleteOne"
      }
    },
    "/v1/role": {
      "post": {
        "x-controller-name": "RoleController",
        "x-operation-name": "createOne",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RoleController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "RoleController.createOne"
      },
      "get": {
        "x-controller-name": "RoleController",
        "x-operation-name": "findByInfo",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RoleController.findByInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "role_description",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "permission_description",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RoleController.findByInfo"
      }
    },
    "/v1/satff/group/{belonged_group}/responsible": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "staffResponsibleRestaurant",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.staffResponsibleRestaurant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "belonged_group",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "belonged",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2"
              ]
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "StaffController.staffResponsibleRestaurant"
      }
    },
    "/v1/shark/login_logs": {
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "getLoginShark",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.getLoginShark"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "staff_name",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "group_name",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "device_number",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "project",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "RWA2",
                  "COP2",
                  "CWA2",
                  "MOP2",
                  "KWA2",
                  "RBP2",
                  "QOP2",
                  "Ecco POS"
                ]
              }
            }
          },
          {
            "in": "query",
            "name": "device_type",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "subitems_ip",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "ip",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "subitems_version",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "shark_version",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "reseller_name",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "create_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "LogController.getLoginShark"
      }
    },
    "/v1/shark_version/list": {
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "getlist",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.getlist"
          }
        },
        "parameters": [
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "LogController.getlist"
      }
    },
    "/v1/shark_version/statistics": {
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "getcount",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LogController.getcount"
          }
        },
        "parameters": [
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "LogController.getcount"
      }
    },
    "/v1/shop_first_menu/_id/{_id}": {
      "patch": {
        "x-controller-name": "ShopFirstMenuController",
        "x-operation-name": "updateById",
        "tags": [
          "ShopFirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopFirstMenuController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "item_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ShopFirstMenuController.updateById"
      }
    },
    "/v1/shop_first_menu/condition": {
      "get": {
        "x-controller-name": "ShopFirstMenuController",
        "x-operation-name": "findByCondition",
        "tags": [
          "ShopFirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopFirstMenuController.findByCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "create_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "ShopFirstMenuController.findByCondition"
      }
    },
    "/v1/shop_first_menu": {
      "post": {
        "x-controller-name": "ShopFirstMenuController",
        "x-operation-name": "createOne",
        "tags": [
          "ShopFirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopFirstMenuController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "item_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name"
                ]
              }
            }
          }
        },
        "operationId": "ShopFirstMenuController.createOne"
      }
    },
    "/v1/shop_first_menus": {
      "get": {
        "x-controller-name": "ShopFirstMenuController",
        "x-operation-name": "findAllDishes",
        "tags": [
          "ShopFirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopFirstMenuController.findAllDishes"
          }
        },
        "operationId": "ShopFirstMenuController.findAllDishes"
      },
      "delete": {
        "x-controller-name": "ShopFirstMenuController",
        "x-operation-name": "deleteAny",
        "tags": [
          "ShopFirstMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopFirstMenuController.deleteAny"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "ShopFirstMenuController.deleteAny"
      }
    },
    "/v1/shop_order/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "updateById",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "belonged_restaurant_string_id": {
                    "type": "string"
                  },
                  "belonged_coin_history_id": {
                    "type": "string"
                  },
                  "pay_status": {
                    "type": "string"
                  },
                  "pay_way": {
                    "type": "string"
                  },
                  "pay_currency": {
                    "type": "string"
                  },
                  "pay_number": {
                    "type": "string"
                  },
                  "type_2paynow": {
                    "type": "string"
                  },
                  "used_wallet_belonged_object_id": {
                    "type": "string"
                  },
                  "used_wallet_belonged_object_type": {
                    "type": "string"
                  },
                  "target_wallet_belonged_company_id": {
                    "type": "string"
                  },
                  "target_wallet_belonged_company_type": {
                    "type": "string"
                  },
                  "remark": {
                    "type": "string"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "belonged_item_id": {
                          "type": "string"
                        },
                        "num": {
                          "type": "number"
                        },
                        "type": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "is_on_sold": {
                          "type": "boolean"
                        },
                        "is_deleted": {
                          "type": "boolean"
                        },
                        "currency_type": {
                          "type": "string"
                        },
                        "price": {
                          "type": "number"
                        },
                        "discount": {
                          "type": "number"
                        },
                        "description": {
                          "type": "string"
                        },
                        "origin": {
                          "type": "object"
                        },
                        "creation_time": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "minItems": 1
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ShopOrderController.updateById"
      }
    },
    "/v1/shop_order/_id/{_id}": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "findById",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopOrderController.findById"
      },
      "delete": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "deleteOne",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.deleteOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopOrderController.deleteOne"
      }
    },
    "/v1/shop_order/condition": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "findByInfo",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.findByInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "belonged_restaurant_string_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "belonged_coin_history_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order_status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_way",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_currency",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pay_number",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "used_wallet_belonged_object_type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "used_wallet_belonged_object_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "target_wallet_belonged_company_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "target_wallet_belonged_company_type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type_2paynow",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "remark",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          }
        ],
        "operationId": "ShopOrderController.findByInfo"
      }
    },
    "/v1/shop_order/payment/{shop_order_id}": {
      "patch": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "payOne",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.payOne"
          }
        },
        "parameters": [
          {
            "name": "shop_order_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopOrderController.payOne"
      }
    },
    "/v1/shop_order": {
      "post": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "create",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.create"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "belonged_restaurant_string_id": {
                    "type": "string"
                  },
                  "pay_way": {
                    "type": "string"
                  },
                  "type_2paynow": {
                    "type": "string"
                  },
                  "remark": {
                    "type": "string"
                  },
                  "used_wallet_belonged_object_id": {
                    "type": "string"
                  },
                  "used_wallet_belonged_object_type": {
                    "type": "string"
                  },
                  "target_wallet_belonged_company_id": {
                    "type": "string"
                  },
                  "target_wallet_belonged_company_type": {
                    "type": "string"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "belonged_item_id": {
                          "type": "string"
                        },
                        "num": {
                          "type": "number"
                        },
                        "type": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "is_on_sold": {
                          "type": "boolean"
                        },
                        "is_deleted": {
                          "type": "boolean"
                        },
                        "currency_type": {
                          "type": "string"
                        },
                        "price": {
                          "type": "number"
                        },
                        "discount": {
                          "type": "number"
                        },
                        "description": {
                          "type": "string"
                        },
                        "origin": {
                          "type": "object"
                        },
                        "creation_time": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "goods_address": {
                    "type": "object"
                  },
                  "service_address": {
                    "type": "object"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "belonged_restaurant_string_id",
                  "pay_way",
                  "items"
                ]
              }
            }
          }
        },
        "operationId": "ShopOrderController.create"
      }
    },
    "/v1/shop_second_menu/_id/{_id}": {
      "patch": {
        "x-controller-name": "ShopSecondMenuController",
        "x-operation-name": "updateById",
        "tags": [
          "ShopSecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopSecondMenuController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "first_menu_id": {
                    "type": "string"
                  },
                  "item_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ShopSecondMenuController.updateById"
      }
    },
    "/v1/shop_second_menu/condition": {
      "get": {
        "x-controller-name": "ShopSecondMenuController",
        "x-operation-name": "findByCondition",
        "tags": [
          "ShopSecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopSecondMenuController.findByCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "first_menu_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "create_time"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "ShopSecondMenuController.findByCondition"
      }
    },
    "/v1/shop_second_menu": {
      "post": {
        "x-controller-name": "ShopSecondMenuController",
        "x-operation-name": "createOne",
        "tags": [
          "ShopSecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopSecondMenuController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "first_menu_id": {
                    "type": "string"
                  },
                  "item_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name",
                  "first_menu_id"
                ]
              }
            }
          }
        },
        "operationId": "ShopSecondMenuController.createOne"
      }
    },
    "/v1/shop_second_menus": {
      "delete": {
        "x-controller-name": "ShopSecondMenuController",
        "x-operation-name": "deleteAny",
        "tags": [
          "ShopSecondMenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopSecondMenuController.deleteAny"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "ShopSecondMenuController.deleteAny"
      }
    },
    "/v1/staff/_id/{_id}/avatar/base64": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "getAvatarBase64",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.getAvatarBase64"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "StaffController.getAvatarBase64"
      }
    },
    "/v1/staff/_id/{_id}/avatar": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateAvatar",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateAvatar"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffController.updateAvatar"
      },
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "getAvatar",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.getAvatar"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "pic_type",
            "schema": {
              "type": "string",
              "enum": [
                "ORIGINPIC"
              ]
            }
          }
        ],
        "operationId": "StaffController.getAvatar"
      }
    },
    "/v1/staff/_id/{_id}/contact-qr": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateContactQr",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateContactQr"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffController.updateContactQr"
      },
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "getContactQr",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.getContactQr"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.getContactQr"
      }
    },
    "/v1/staff/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateBasicInfo",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateBasicInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nickname": {
                    "type": "string",
                    "pattern": "^.{1,120}$"
                  },
                  "email": {
                    "type": "string",
                    "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                  },
                  "phone_prefix": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string",
                    "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                  },
                  "belonged_dealer": {
                    "type": "string"
                  },
                  "belonged_restaurant": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "first_name": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  },
                  "birth": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "password": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  },
                  "address": {
                    "type": "array",
                    "items": {
                      "default": {
                        "type": "boolean"
                      },
                      "first_name": {
                        "type": "string"
                      },
                      "last_name": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "country": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      },
                      "city": {
                        "type": "string"
                      },
                      "region": {
                        "type": "string"
                      },
                      "street": {
                        "type": "string"
                      },
                      "details": {
                        "type": "string"
                      }
                    }
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "deleted_date": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "is_automatic_login": {
                    "type": "boolean"
                  },
                  "is_edit_pass": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffController.updateBasicInfo"
      }
    },
    "/v1/staff/_id/{_id}/password": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateStaffPassword",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateStaffPassword"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.updateStaffPassword"
      }
    },
    "/v1/staff/_id/{_id}/responsible": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateBelonged",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateBelonged"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "DEALER"
                        ]
                      },
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "responsible_dealer": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "RESTAURANT"
                        ]
                      },
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "responsible_restaurant": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "GROUP"
                        ]
                      },
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "responsible_group": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffController.updateBelonged"
      }
    },
    "/v1/staff/_id/{_id}": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "findByid",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.findByid"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "is_deleted",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "StaffController.findByid"
      },
      "delete": {
        "x-controller-name": "StaffController",
        "x-operation-name": "deleteById",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.deleteById"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.deleteById"
      }
    },
    "/v1/staff/_ids/responsibles": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateBelongeds",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateBelongeds"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "staffIds": {
                        "type": "array"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "DEALER"
                        ]
                      },
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "responsible_dealer": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "staffIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "RESTAURANT"
                        ]
                      },
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "responsible_restaurant": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "staffIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "GROUP"
                        ]
                      },
                      "option": {
                        "type": "string",
                        "enum": [
                          "REMOVE",
                          "ADD"
                        ]
                      },
                      "responsible_group": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "StaffController.updateBelongeds"
      }
    },
    "/v1/staff/belonged_restaurant": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "RemoveBolongedRestaurant",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.RemoveBolongedRestaurant"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "StaffController.RemoveBolongedRestaurant"
      }
    },
    "/v1/staff/bind/EmailOrPhone/{info}": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "bindStaff",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.bindStaff"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "info",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.bindStaff"
      }
    },
    "/v1/staff/bind/EmailOrPhone": {
      "post": {
        "x-controller-name": "StaffController",
        "x-operation-name": "bindEmailOrPhone",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.bindEmailOrPhone"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BIND_EMAIL"
                        ]
                      },
                      "email": {
                        "type": "string",
                        "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                      }
                    },
                    "required": [
                      "type",
                      "email"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BIND_PHONE"
                        ]
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      }
                    },
                    "required": [
                      "type",
                      "phone"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "StaffController.bindEmailOrPhone"
      }
    },
    "/v1/staff/bind/phone": {
      "post": {
        "x-controller-name": "AdminController",
        "x-operation-name": "grantBing",
        "tags": [
          "AdminController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AdminController.grantBing"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "BIND_PHONE"
                    ]
                  },
                  "phone": {
                    "type": "string",
                    "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                  }
                },
                "required": [
                  "type",
                  "phone"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "AdminController.grantBing"
      }
    },
    "/v1/staff/condition": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "findByCondition",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.findByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "phone",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
              }
            }
          },
          {
            "in": "query",
            "name": "phone_prefix",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
              }
            }
          },
          {
            "in": "query",
            "name": "description",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "first_name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "last_name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "gender",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "0",
                  "1",
                  "2"
                ]
              }
            }
          },
          {
            "in": "query",
            "name": "is_verified",
            "schema": {
              "type": "array",
              "items": {
                "type": "boolean"
              }
            }
          },
          {
            "in": "query",
            "name": "create_date",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "date-time"
              }
            }
          },
          {
            "in": "query",
            "name": "belonged_restaurant",
            "schema": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          {
            "in": "query",
            "name": "belonged_group",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "responsible_group",
            "schema": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          {
            "in": "query",
            "name": "responsible_restaurant",
            "schema": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          {
            "in": "query",
            "name": "is_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id",
                "deleted_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "is_belonged_group",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "StaffController.findByCondition"
      }
    },
    "/v1/staff/hard": {
      "delete": {
        "x-controller-name": "StaffController",
        "x-operation-name": "deleteBatchStaffHard",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.deleteBatchStaffHard"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "StaffController.deleteBatchStaffHard"
      }
    },
    "/v1/staff/id/{_id}/auth": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateStaffWithCustomAuth",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateStaffWithCustomAuth"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "auth_cwa_0": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "auth_cwa_1": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "auth_cwa_2": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "auth_cwa_3": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_4": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "auth_cwa_5": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_6": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_7": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_8": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_9": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_10": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_11": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_12": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_cwa_13": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_rwa_0": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "auth_rwa_1": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "auth_rwa_2": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "auth_rwa_3": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "auth_shell_1": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffController.updateStaffWithCustomAuth"
      }
    },
    "/v1/staff/id/{staff_id}/auth_group/id/{auth_group_id}": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateStaffWithAuthGroup",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateStaffWithAuthGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "staff_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "auth_group_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.updateStaffWithAuthGroup"
      }
    },
    "/v1/staff/password/current": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updatePasswordByCurrentPassword",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updatePasswordByCurrentPassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "currentPassword": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  },
                  "newPassword": {
                    "type": "string",
                    "pattern": "^.{6,20}$"
                  }
                },
                "required": [
                  "_id",
                  "currentPassword",
                  "newPassword"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "StaffController.updatePasswordByCurrentPassword"
      }
    },
    "/v1/staff/password": {
      "post": {
        "x-controller-name": "StaffController",
        "x-operation-name": "postPassword",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.postPassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "SIGN_UP_BY_PHONE",
                          "SIGN_UP_BY_EMAIL",
                          "SIGN_IN_BY_PHONE",
                          "SIGN_IN_BY_EMAIL",
                          "RESET_PASSWORD_BY_PHONE",
                          "RESET_PASSWORD_BY_EMAIL",
                          "BIND_PHONE",
                          "BIND_EMAIL"
                        ]
                      },
                      "vcode": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      }
                    },
                    "required": [
                      "type",
                      "vcode",
                      "phone",
                      "password"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "SIGN_UP_BY_PHONE",
                          "SIGN_UP_BY_EMAIL",
                          "SIGN_IN_BY_PHONE",
                          "SIGN_IN_BY_EMAIL",
                          "RESET_PASSWORD_BY_PHONE",
                          "RESET_PASSWORD_BY_EMAIL",
                          "BIND_PHONE",
                          "BIND_EMAIL"
                        ]
                      },
                      "vcode": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string",
                        "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      }
                    },
                    "required": [
                      "type",
                      "vcode",
                      "email",
                      "password"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "StaffController.postPassword"
      },
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updatePassword",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updatePassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "_id": {
                        "type": "string"
                      },
                      "currentPassword": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      },
                      "newPassword": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      }
                    },
                    "required": [
                      "_id",
                      "currentPassword",
                      "newPassword"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "nickname": {
                        "type": "string",
                        "pattern": "^.{1,120}$"
                      },
                      "newPassword": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      }
                    },
                    "required": [
                      "nickname",
                      "newPassword"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "phone_prefix": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "vcode": {
                        "type": "object",
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 6,
                            "maxLength": 6
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "RESET_PASSWORD_BY_PHONE"
                            ]
                          }
                        }
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      }
                    },
                    "required": [
                      "phone_prefix",
                      "phone",
                      "vcode",
                      "password"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string",
                        "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                      },
                      "vcode": {
                        "type": "object",
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 6,
                            "maxLength": 6
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "RESET_PASSWORD_BY_EMAIL"
                            ]
                          }
                        }
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      }
                    },
                    "required": [
                      "email",
                      "vcode",
                      "password"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "StaffController.updatePassword"
      }
    },
    "/v1/staff/restaurant/staff-by-lhn": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "findByLHN",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.findByLHN"
          }
        },
        "operationId": "StaffController.findByLHN"
      }
    },
    "/v1/staff/vcode": {
      "post": {
        "x-controller-name": "StaffController",
        "x-operation-name": "grantVcode",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.grantVcode"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string",
                        "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "SIGN_UP_BY_EMAIL",
                          "SIGN_IN_BY_EMAIL",
                          "RESET_PASSWORD_BY_EMAIL"
                        ]
                      },
                      "from": {
                        "type": "string",
                        "maxLength": 30,
                        "minLength": 5
                      },
                      "message": {
                        "type": "string",
                        "maxLength": 30,
                        "minLength": 5
                      },
                      "subject": {
                        "type": "string",
                        "maxLength": 30,
                        "minLength": 5
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "type",
                      "from",
                      "email",
                      "message",
                      "subject"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "SIGN_UP_BY_PHONE",
                          "SIGN_IN_BY_PHONE",
                          "RESET_PASSWORD_BY_PHONE"
                        ]
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "message": {
                        "type": "string",
                        "maxLength": 30,
                        "minLength": 5
                      }
                    },
                    "required": [
                      "type",
                      "phone",
                      "message"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "StaffController.grantVcode"
      }
    },
    "/v1/staff/{_id}/belonged_restaurant": {
      "patch": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateBolongedRestaurant",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.updateBolongedRestaurant"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "ADD",
                      "REMOVE"
                    ]
                  },
                  "belonged_restaurant": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "type",
                  "belonged_restaurant"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffController.updateBolongedRestaurant"
      }
    },
    "/v1/staff/{_id}/hard": {
      "delete": {
        "x-controller-name": "StaffController",
        "x-operation-name": "deleteByIdHard",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.deleteByIdHard"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.deleteByIdHard"
      }
    },
    "/v1/staff/{_id}": {
      "delete": {
        "x-controller-name": "StaffController",
        "x-operation-name": "deleteOne",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.deleteOne"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.deleteOne"
      }
    },
    "/v1/staff": {
      "post": {
        "x-controller-name": "StaffController",
        "x-operation-name": "createOne",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      },
                      "role": {
                        "type": "string",
                        "enum": [
                          "CHEF",
                          "WAITER",
                          "CASHIER",
                          "ADMIN"
                        ]
                      },
                      "belonged_restaurant": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "vcode": {
                        "type": "string"
                      },
                      "belonged_group": {
                        "type": "string"
                      },
                      "is_automatic_login": {
                        "type": "boolean"
                      },
                      "is_edit_pass": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "phone",
                      "password",
                      "vcode",
                      "belonged_restaurant"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string",
                        "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      },
                      "role": {
                        "type": "string",
                        "enum": [
                          "CHEF",
                          "WAITER",
                          "CASHIER",
                          "ADMIN"
                        ]
                      },
                      "belonged_restaurant": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "vcode": {
                        "type": "string"
                      },
                      "belonged_group": {
                        "type": "string"
                      },
                      "is_automatic_login": {
                        "type": "boolean"
                      },
                      "is_edit_pass": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "email",
                      "password",
                      "vcode",
                      "belonged_restaurant"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "nickname": {
                        "type": "string",
                        "pattern": "^.{1,120}$"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      },
                      "belonged_restaurant": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "role": {
                        "type": "string",
                        "enum": [
                          "CHEF",
                          "WAITER",
                          "CASHIER",
                          "ADMIN"
                        ]
                      },
                      "belonged_group": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "first_name": {
                        "type": "string"
                      },
                      "last_name": {
                        "type": "string"
                      },
                      "phone_prefix": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "email": {
                        "type": "string",
                        "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                      },
                      "birth": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "gender": {
                        "type": "string",
                        "enum": [
                          "0",
                          "1",
                          "2"
                        ]
                      },
                      "is_automatic_login": {
                        "type": "boolean"
                      },
                      "is_edit_pass": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "nickname",
                      "password",
                      "belonged_restaurant"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "first_name": {
                        "type": "string"
                      },
                      "last_name": {
                        "type": "string"
                      },
                      "password": {
                        "type": "string",
                        "pattern": "^.{6,20}$"
                      },
                      "phone_prefix": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string",
                        "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                      },
                      "email": {
                        "type": "string",
                        "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
                      },
                      "birth": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "gender": {
                        "type": "string",
                        "enum": [
                          "0",
                          "1",
                          "2"
                        ]
                      },
                      "belonged_restaurant": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "belonged_group": {
                        "type": "string"
                      },
                      "nickname": {
                        "type": "string",
                        "pattern": "^.{1,120}$"
                      },
                      "is_automatic_login": {
                        "type": "boolean"
                      },
                      "is_edit_pass": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "phone",
                      "phone_prefix",
                      "password",
                      "last_name",
                      "first_name",
                      "gender"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "operationId": "StaffController.createOne"
      },
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "findByBasicInfo",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.findByBasicInfo"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "string",
              "pattern": "^.{1,120}$"
            }
          },
          {
            "in": "query",
            "name": "phone",
            "schema": {
              "type": "string",
              "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
            }
          },
          {
            "in": "query",
            "name": "email",
            "schema": {
              "type": "string",
              "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
            }
          },
          {
            "in": "query",
            "name": "first_name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "last_name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "gender",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2"
              ]
            }
          }
        ],
        "operationId": "StaffController.findByBasicInfo"
      },
      "delete": {
        "x-controller-name": "StaffController",
        "x-operation-name": "deleteBatchStaff",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffController.deleteBatchStaff"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false,
                "required": [
                  "_id"
                ]
              }
            }
          }
        },
        "operationId": "StaffController.deleteBatchStaff"
      }
    },
    "/v1/static/highest_credential": {
      "get": {
        "x-controller-name": "CredentialController",
        "x-operation-name": "getStaticHighestCredential",
        "tags": [
          "CredentialController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CredentialController.getStaticHighestCredential"
          }
        },
        "operationId": "CredentialController.getStaticHighestCredential"
      }
    },
    "/v1/stripe_fail/{shop_order_id}": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "createStripeFailCallback",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.createStripeFailCallback"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "shop_order_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopOrderController.createStripeFailCallback"
      }
    },
    "/v1/stripe_success/{shop_order_id}": {
      "get": {
        "x-controller-name": "ShopOrderController",
        "x-operation-name": "createStripeSuccessedCallback",
        "tags": [
          "ShopOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ShopOrderController.createStripeSuccessedCallback"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "shop_order_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ShopOrderController.createStripeSuccessedCallback"
      }
    },
    "/v1/synchronize/{code}/database/tables": {
      "post": {
        "x-controller-name": "SynchronizeController",
        "x-operation-name": "initTables",
        "tags": [
          "SynchronizeController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeController.initTables"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SynchronizeController.initTables"
      }
    },
    "/v1/synchronize/{code}/database": {
      "post": {
        "x-controller-name": "SynchronizeController",
        "x-operation-name": "initDatabases",
        "tags": [
          "SynchronizeController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeController.initDatabases"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SynchronizeController.initDatabases"
      }
    },
    "/v1/synchronize-full-backup-certificate/{table_name}": {
      "patch": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "synchronizeDataFullBackup",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.synchronizeDataFullBackup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "timestamp": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "data",
                  "timestamp"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeTimestampController.synchronizeDataFullBackup"
      }
    },
    "/v1/synchronize-sw2p5/cloud-to-local-full-backup": {
      "post": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "synchronizeCloudToLocalFullBackup",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.synchronizeCloudToLocalFullBackup"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sql_string": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "SynchronizeSw2p5Controller.synchronizeCloudToLocalFullBackup"
      }
    },
    "/v1/synchronize-sw2p5/database/tables": {
      "post": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "initSw2p5Tables",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.initSw2p5Tables"
          }
        },
        "operationId": "SynchronizeSw2p5Controller.initSw2p5Tables"
      }
    },
    "/v1/synchronize-sw2p5/database": {
      "post": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "initSw2p5Database",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.initSw2p5Database"
          }
        },
        "operationId": "SynchronizeSw2p5Controller.initSw2p5Database"
      }
    },
    "/v1/synchronize-sw2p5/local-to-cloud-full-backup/{table_name}": {
      "patch": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "synchronizeLocalToCloudFullBackup",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.synchronizeLocalToCloudFullBackup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "timestamp": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "data",
                  "timestamp"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeSw2p5Controller.synchronizeLocalToCloudFullBackup"
      }
    },
    "/v1/synchronize-sw2p5/timestamp-certificate/last-timestamp": {
      "get": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "findLastTimestamp2p5",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.findLastTimestamp2p5"
          }
        },
        "operationId": "SynchronizeSw2p5Controller.findLastTimestamp2p5"
      }
    },
    "/v1/synchronize-sw2p5/timestamp-certificate/{table_name}/timestamp": {
      "post": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "createSynchronizeTimestamp",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.createSynchronizeTimestamp"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "timestamp": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "timestamp"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeSw2p5Controller.createSynchronizeTimestamp"
      }
    },
    "/v1/synchronize-sw2p5/timestamp-certificate/{table_name}": {
      "patch": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "synchronizeDataTimestamp",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.synchronizeDataTimestamp"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "timestamp": {
                    "type": "string"
                  },
                  "strategy": {
                    "type": "string",
                    "enum": [
                      "COVER",
                      "IGNORE"
                    ]
                  }
                },
                "additionalProperties": false,
                "required": [
                  "data",
                  "timestamp",
                  "strategy"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeSw2p5Controller.synchronizeDataTimestamp"
      },
      "delete": {
        "x-controller-name": "SynchronizeSw2p5Controller",
        "x-operation-name": "deleteSomeData",
        "tags": [
          "SynchronizeSw2p5Controller"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeSw2p5Controller.deleteSomeData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "timestamp": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "timestamp"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeSw2p5Controller.deleteSomeData"
      }
    },
    "/v1/synchronize-timestamp-certificate/last-timestamp": {
      "get": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "findLastTimestamp",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.findLastTimestamp"
          }
        },
        "operationId": "SynchronizeTimestampController.findLastTimestamp"
      }
    },
    "/v1/synchronize-timestamp-certificate/timestamp": {
      "get": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "findByCondition",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.findByCondition"
          }
        },
        "parameters": [
          {
            "name": "belonged_group_id",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "belonged_restaurant_id",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "table_name",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "timestamp",
            "in": "query",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                {
                  "type": "string",
                  "format": "date-time"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          }
        ],
        "operationId": "SynchronizeTimestampController.findByCondition"
      }
    },
    "/v1/synchronize-timestamp-certificate/updateAll/{table_name}": {
      "patch": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "synchronizeDataTimestampAll",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.synchronizeDataTimestampAll"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "isDelete": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "data",
                  "isDelete"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeTimestampController.synchronizeDataTimestampAll"
      }
    },
    "/v1/synchronize-timestamp-certificate/{table_name}/timestamp": {
      "post": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "createSynchronizeTimestamp",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.createSynchronizeTimestamp"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "timestamp": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "timestamp"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeTimestampController.createSynchronizeTimestamp"
      }
    },
    "/v1/synchronize-timestamp-certificate/{table_name}": {
      "patch": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "synchronizeDataTimestamp",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.synchronizeDataTimestamp"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "timestamp": {
                    "type": "string"
                  },
                  "strategy": {
                    "type": "string",
                    "enum": [
                      "COVER",
                      "IGNORE"
                    ]
                  },
                  "start_timestapm": {
                    "type": "string"
                  },
                  "end_timestamp": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "data",
                  "timestamp",
                  "strategy"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeTimestampController.synchronizeDataTimestamp"
      },
      "delete": {
        "x-controller-name": "SynchronizeTimestampController",
        "x-operation-name": "deleteSomeData",
        "tags": [
          "SynchronizeTimestampController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SynchronizeTimestampController.deleteSomeData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "table_name",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "timestamp": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "timestamp"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SynchronizeTimestampController.deleteSomeData"
      }
    },
    "/v1/test/isok": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "isOk",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.isOk"
          }
        },
        "operationId": "TestController.isOk"
      }
    },
    "/v1/test/paypal": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "testPay",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.testPay"
          }
        },
        "operationId": "TestController.testPay"
      }
    },
    "/v1/test/sendEmail/1": {
      "post": {
        "x-controller-name": "TestController",
        "x-operation-name": "sendEmail",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.sendEmail"
          }
        },
        "operationId": "TestController.sendEmail"
      }
    },
    "/v1/test/unit-test/auth/0": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "doUnitTestAuth0",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.doUnitTestAuth0"
          }
        },
        "operationId": "TestController.doUnitTestAuth0"
      }
    },
    "/v1/test/unit-test/auth/1": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "doUnitTestAuth1",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.doUnitTestAuth1"
          }
        },
        "operationId": "TestController.doUnitTestAuth1"
      }
    },
    "/v1/test/unit-test/emitter/0": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "tsetEmitter0",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.tsetEmitter0"
          }
        },
        "operationId": "TestController.tsetEmitter0"
      }
    },
    "/v1/test/unit-test/emitter/1": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "tsetEmitter1",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.tsetEmitter1"
          }
        },
        "operationId": "TestController.tsetEmitter1"
      }
    },
    "/v1/test_pay_fail": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "createPaypalPaymentFaildCallback",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.createPaypalPaymentFaildCallback"
          }
        },
        "operationId": "TestController.createPaypalPaymentFaildCallback"
      }
    },
    "/v1/test_pay_success": {
      "get": {
        "x-controller-name": "TestController",
        "x-operation-name": "createPaypalPaymentSuccessedCallback",
        "tags": [
          "TestController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TestController.createPaypalPaymentSuccessedCallback"
          }
        },
        "parameters": [
          {
            "name": "paymentId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PayerID",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "TestController.createPaypalPaymentSuccessedCallback"
      }
    },
    "/v1/third_part/gyb": {
      "post": {
        "x-controller-name": "GybController",
        "x-operation-name": "postGybUser",
        "tags": [
          "GybController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybController.postGybUser"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "username": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "username",
                  "password",
                  "name"
                ]
              }
            }
          }
        },
        "operationId": "GybController.postGybUser"
      }
    },
    "/v1/update-token-version": {
      "patch": {
        "x-controller-name": "VersionControlController",
        "x-operation-name": "updateTokenVersion",
        "tags": [
          "VersionControlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of VersionControlController.updateTokenVersion"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "_id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "token_version": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "VersionControlController.updateTokenVersion"
      }
    },
    "/v1/upload/extend/agreement": {
      "post": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "uploadExtendAgreement",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.uploadExtendAgreement"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "RestautantController.uploadExtendAgreement"
      }
    },
    "/v1/warrant/condition": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "findAllWarrantCondition",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.findAllWarrantCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "nickname",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^.{1,120}$"
              }
            }
          },
          {
            "in": "query",
            "name": "string_id",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "phone",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
              }
            }
          },
          {
            "in": "query",
            "name": "city",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "is_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "time_zone",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id",
                "nickname"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          },
          {
            "in": "query",
            "name": "filter_authorize",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                0,
                1,
                2,
                3,
                4
              ]
            }
          },
          {
            "in": "query",
            "name": "access",
            "schema": {
              "type": "array",
              "items": "string"
            }
          },
          {
            "in": "query",
            "name": "res_nickname",
            "schema": {
              "type": "array",
              "items": "string"
            }
          },
          {
            "in": "query",
            "name": "reg_vat_number",
            "schema": {
              "type": "array",
              "items": "string"
            }
          },
          {
            "in": "query",
            "name": "res_string_id",
            "schema": {
              "type": "array",
              "items": "string"
            }
          },
          {
            "in": "query",
            "name": "business_labels",
            "schema": {
              "type": "array",
              "items": "string"
            }
          },
          {
            "in": "query",
            "name": "belonged_reseller",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "filter_admin",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "fiskaly_environment",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "WarrantController.findAllWarrantCondition"
      }
    },
    "/v1/warrant/static_warrant": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "getStaticWarrantByAccount",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.getStaticWarrantByAccount"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "account_type",
            "schema": {
              "type": "string",
              "enum": [
                "RESTAURANT",
                "GROUP",
                "STAFF"
              ]
            }
          }
        ],
        "operationId": "WarrantController.getStaticWarrantByAccount"
      }
    },
    "/v1/warrant": {
      "delete": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "deleteWarrantByAccount",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.deleteWarrantByAccount"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "anyOf": [
                    {
                      "account_type": {
                        "type": "string",
                        "enum": [
                          "RESTAURANT"
                        ]
                      },
                      "account_id": {
                        "type": "string"
                      },
                      "warrant_id": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "account_type": {
                        "type": "string",
                        "enum": [
                          "GROUP"
                        ]
                      },
                      "account_id": {
                        "type": "string"
                      },
                      "warrant_id": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "account_type": {
                        "type": "string",
                        "enum": [
                          "STAFF"
                        ]
                      },
                      "account_id": {
                        "type": "string"
                      },
                      "warrant_id": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  ],
                  "required": [
                    "account_type",
                    "account_id",
                    "warrant_id"
                  ]
                }
              }
            }
          }
        },
        "operationId": "WarrantController.deleteWarrantByAccount"
      }
    },
    "/v1/warrant_i18n/condition": {
      "get": {
        "x-controller-name": "WarrantI18NController",
        "x-operation-name": "findByCondition",
        "tags": [
          "WarrantI18NController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantI18NController.findByCondition"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "code",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "project",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantI18NController.findByCondition"
      }
    },
    "/v1/warrant_i18n/{_id}": {
      "patch": {
        "x-controller-name": "WarrantI18NController",
        "x-operation-name": "updateById",
        "tags": [
          "WarrantI18NController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantI18NController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "description": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "label": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "code": {
                    "type": "string",
                    "enum": [
                      "AU1000",
                      "AU1001",
                      "AU1002",
                      "AU1003",
                      "AU1004",
                      "AU1005",
                      "AU1006",
                      "AU1007",
                      "AU1008",
                      "AU1009",
                      "AU1010",
                      "AU1011",
                      "AU1012",
                      "AU1020",
                      "AU1021",
                      "AU1013",
                      "AU1022",
                      "AU1023",
                      "AU1024",
                      "AU1025",
                      "AU1026",
                      "AU1027",
                      "AU1028",
                      "AU1029",
                      "AU1030",
                      "AUC1000",
                      "AUC1001",
                      "AUC1002",
                      "AUC1003",
                      "AUC1004",
                      "AUC1005",
                      "AUC1006"
                    ]
                  },
                  "price": {
                    "type": "number"
                  },
                  "project": {
                    "type": "string",
                    "enum": [
                      "SW2P5"
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WarrantI18NController.updateById"
      },
      "get": {
        "x-controller-name": "WarrantI18NController",
        "x-operation-name": "findById",
        "tags": [
          "WarrantI18NController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantI18NController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "key",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "WarrantI18NController.findById"
      },
      "delete": {
        "x-controller-name": "WarrantI18NController",
        "x-operation-name": "deleteById",
        "tags": [
          "WarrantI18NController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantI18NController.deleteById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "WarrantI18NController.deleteById"
      }
    },
    "/v1/warrant_i18n": {
      "post": {
        "x-controller-name": "WarrantI18NController",
        "x-operation-name": "createOne",
        "tags": [
          "WarrantI18NController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantI18NController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "description": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "label": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "price": {
                    "type": "number"
                  },
                  "code": {
                    "type": "string",
                    "enum": [
                      "AU1000",
                      "AU1001",
                      "AU1002",
                      "AU1003",
                      "AU1004",
                      "AU1005",
                      "AU1006",
                      "AU1007",
                      "AU1008",
                      "AU1009",
                      "AU1010",
                      "AU1011",
                      "AU1012",
                      "AU1020",
                      "AU1021",
                      "AU1013",
                      "AU1022",
                      "AU1023",
                      "AU1024",
                      "AU1025",
                      "AU1026",
                      "AU1027",
                      "AU1028",
                      "AU1029",
                      "AU1030",
                      "AUC1000",
                      "AUC1001",
                      "AUC1002",
                      "AUC1003",
                      "AUC1004",
                      "AUC1005",
                      "AUC1006"
                    ]
                  },
                  "project": {
                    "type": "string",
                    "enum": [
                      "SW2P5"
                    ]
                  }
                },
                "required": [
                  "code",
                  "project"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "WarrantI18NController.createOne"
      }
    },
    "/v1/warrants/add/au1030": {
      "get": {
        "x-controller-name": "ScriptController",
        "x-operation-name": "addAU1030",
        "tags": [
          "ScriptController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ScriptController.addAU1030"
          }
        },
        "operationId": "ScriptController.addAU1030"
      }
    },
    "/v1/warrants/add/qodeup": {
      "patch": {
        "x-controller-name": "ScriptController",
        "x-operation-name": "add",
        "tags": [
          "ScriptController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ScriptController.add"
          }
        },
        "operationId": "ScriptController.add"
      }
    },
    "/v1/warrants/add": {
      "patch": {
        "x-controller-name": "WarrantI18NController",
        "x-operation-name": "add",
        "tags": [
          "WarrantI18NController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantI18NController.add"
          }
        },
        "operationId": "WarrantI18NController.add"
      }
    },
    "/v1/warrants/update": {
      "patch": {
        "x-controller-name": "ScriptController",
        "x-operation-name": "updateall",
        "tags": [
          "ScriptController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ScriptController.updateall"
          }
        },
        "operationId": "ScriptController.updateall"
      }
    },
    "/v1/warrants-il8n/update": {
      "patch": {
        "x-controller-name": "WarrantI18NController",
        "x-operation-name": "updates",
        "tags": [
          "WarrantI18NController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantI18NController.updates"
          }
        },
        "operationId": "WarrantI18NController.updates"
      }
    },
    "/v1/work_order/_id/{_id}/info": {
      "patch": {
        "x-controller-name": "WorkOrderController",
        "x-operation-name": "updateById",
        "tags": [
          "WorkOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WorkOrderController.updateById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "contents": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "is_delete": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WorkOrderController.updateById"
      }
    },
    "/v1/work_order/_id/{_id}": {
      "get": {
        "x-controller-name": "WorkOrderController",
        "x-operation-name": "findById",
        "tags": [
          "WorkOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WorkOrderController.findById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "WorkOrderController.findById"
      },
      "delete": {
        "x-controller-name": "WorkOrderController",
        "x-operation-name": "deleteOne",
        "tags": [
          "WorkOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WorkOrderController.deleteOne"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "WorkOrderController.deleteOne"
      }
    },
    "/v1/work_order/condition": {
      "get": {
        "x-controller-name": "WorkOrderController",
        "x-operation-name": "findByCondition",
        "tags": [
          "WorkOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WorkOrderController.findByCondition"
          }
        },
        "parameters": [
          {
            "name": "_id",
            "in": "query",
            "schema": {
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "belonged_group_sid",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "belonged_company_type",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "belonged_company_sid",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "status",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "is_delete",
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "boolean"
                  }
                },
                {
                  "type": "boolean"
                }
              ],
              "type": "array"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "_id"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "WorkOrderController.findByCondition"
      }
    },
    "/v1/work_order": {
      "post": {
        "x-controller-name": "WorkOrderController",
        "x-operation-name": "createOne",
        "tags": [
          "WorkOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WorkOrderController.createOne"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "belonged_group_sid": {
                    "type": "string"
                  },
                  "belonged_company_type": {
                    "type": "string"
                  },
                  "belonged_company_sid": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  },
                  "contents": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  }
                },
                "additionalProperties": true,
                "required": [
                  "belonged_group_sid",
                  "belonged_company_type",
                  "belonged_company_sid",
                  "type",
                  "contents"
                ]
              }
            }
          }
        },
        "operationId": "WorkOrderController.createOne"
      },
      "get": {
        "x-controller-name": "WorkOrderController",
        "x-operation-name": "find",
        "tags": [
          "WorkOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WorkOrderController.find"
          }
        },
        "operationId": "WorkOrderController.find"
      }
    },
    "/v1/{string_id}/agreement/generate-link": {
      "get": {
        "x-controller-name": "RestautantController",
        "x-operation-name": "createLink",
        "tags": [
          "RestautantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestautantController.createLink"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RestautantController.createLink"
      }
    },
    "/v1/{account_type}/{string_id}/warrant/date/strategy": {
      "get": {
        "x-controller-name": "WarrantController",
        "x-operation-name": "getResWarrantDateStrategy",
        "tags": [
          "WarrantController"
        ],
        "responses": {
          "200": {
            "description": "Return value of WarrantController.getResWarrantDateStrategy"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "account_type",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "codes",
            "schema": {
              "type": "array"
            }
          }
        ],
        "operationId": "WarrantController.getResWarrantDateStrategy"
      }
    },
    "/v2/deliverect/order/update": {
      "post": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "updateOrder",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.updateOrder"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "DeliverectController.updateOrder"
      }
    },
    "/v2/deliverect/order/{id}": {
      "delete": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "deleteDeliverectOrder",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.deleteDeliverectOrder"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DeliverectController.deleteDeliverectOrder"
      }
    },
    "/v2/oss/logs": {
      "get": {
        "x-controller-name": "SqlController",
        "x-operation-name": "getSqlLogs",
        "tags": [
          "SqlController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SqlController.getSqlLogs"
          }
        },
        "parameters": [
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number",
              "maximum": 100,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "sort_key",
            "schema": {
              "type": "string",
              "enum": [
                "syn_date"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_value",
            "required": false,
            "schema": {
              "type": "number",
              "enum": [
                1,
                -1
              ]
            }
          }
        ],
        "operationId": "SqlController.getSqlLogs"
      }
    },
    "/v2/restaurant/{string_id}/order": {
      "post": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "posOrders",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.posOrders"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DeliverectController.posOrders"
      }
    },
    "/v3/CopyDishes/{string_id}": {
      "patch": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "copyMenuItems",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.copyMenuItems"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array"
                  },
                  "slu_ids": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuItemController.copyMenuItems"
      }
    },
    "/v3/CopyMenus/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "MenuController",
        "x-operation-name": "copyFirstMenuDishs",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.copyFirstMenuDishs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MenuController.copyFirstMenuDishs"
      }
    },
    "/v3/CopySlu/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "MenuController",
        "x-operation-name": "copySecondMenuDishs",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.copySecondMenuDishs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "main_group_id",
            "schema": {
              "type": "number"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 3
        },
        "operationId": "MenuController.copySecondMenuDishs"
      }
    },
    "/v3/banner-announcement/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "BannerAnnouncementController",
        "x-operation-name": "updateBannerAnnouncement",
        "tags": [
          "BannerAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BannerAnnouncementController.updateBannerAnnouncement"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "icon": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "BannerAnnouncementController.updateBannerAnnouncement"
      },
      "get": {
        "x-controller-name": "BannerAnnouncementController",
        "x-operation-name": "getBannerAnnouncementById",
        "tags": [
          "BannerAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BannerAnnouncementController.getBannerAnnouncementById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BannerAnnouncementController.getBannerAnnouncementById"
      },
      "delete": {
        "x-controller-name": "BannerAnnouncementController",
        "x-operation-name": "deleteBannerAnnouncement",
        "tags": [
          "BannerAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BannerAnnouncementController.deleteBannerAnnouncement"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BannerAnnouncementController.deleteBannerAnnouncement"
      }
    },
    "/v3/banner-announcement/{string_id}": {
      "post": {
        "x-controller-name": "BannerAnnouncementController",
        "x-operation-name": "createBannerAnnouncement",
        "tags": [
          "BannerAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BannerAnnouncementController.createBannerAnnouncement"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "icon": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BannerAnnouncementController.createBannerAnnouncement"
      },
      "get": {
        "x-controller-name": "BannerAnnouncementController",
        "x-operation-name": "getBannerAnnouncement",
        "tags": [
          "BannerAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BannerAnnouncementController.getBannerAnnouncement"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BannerAnnouncementController.getBannerAnnouncement"
      }
    },
    "/v3/bargain_num_cur/{string_id}": {
      "patch": {
        "x-controller-name": "BargainPriceItemController",
        "x-operation-name": "updateBargainNumCur",
        "tags": [
          "BargainPriceItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BargainPriceItemController.updateBargainNumCur"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "bargainIds": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BargainPriceItemController.updateBargainNumCur"
      }
    },
    "/v3/bargain_price_item/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "BargainPriceItemController",
        "x-operation-name": "updateBargainPriceItem",
        "tags": [
          "BargainPriceItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BargainPriceItemController.updateBargainPriceItem"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "bargain_item_name": {
                    "type": "string"
                  },
                  "bargain_item_number": {
                    "type": "number"
                  },
                  "bargain_stype": {
                    "type": "number"
                  },
                  "bargain_num_cur": {
                    "type": "number"
                  },
                  "bargain_num": {
                    "type": "number"
                  },
                  "is_every_day": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "BargainPriceItemController.updateBargainPriceItem"
      }
    },
    "/v3/bargain_price_item/{string_id}": {
      "post": {
        "x-controller-name": "BargainPriceItemController",
        "x-operation-name": "createBargainPriceItem",
        "tags": [
          "BargainPriceItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BargainPriceItemController.createBargainPriceItem"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "bargain_item_name": {
                      "type": "string"
                    },
                    "bargain_item_number": {
                      "type": "number"
                    },
                    "bargain_stype": {
                      "type": "number"
                    },
                    "bargain_num_cur": {
                      "type": "number"
                    },
                    "bargain_num": {
                      "type": "number"
                    },
                    "is_every_day": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BargainPriceItemController.createBargainPriceItem"
      },
      "get": {
        "x-controller-name": "BargainPriceItemController",
        "x-operation-name": "getBargainPriceItem",
        "tags": [
          "BargainPriceItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BargainPriceItemController.getBargainPriceItem"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "number"
            },
            "name": "id"
          },
          {
            "in": "query",
            "schema": {
              "type": "string"
            },
            "name": "name"
          },
          {
            "in": "query",
            "schema": {
              "type": "number"
            },
            "name": "item_id"
          }
        ],
        "operationId": "BargainPriceItemController.getBargainPriceItem"
      },
      "delete": {
        "x-controller-name": "BargainPriceItemController",
        "x-operation-name": "deleteBargainPriceItem",
        "tags": [
          "BargainPriceItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BargainPriceItemController.deleteBargainPriceItem"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BargainPriceItemController.deleteBargainPriceItem"
      }
    },
    "/v3/business-hour/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "updateBusinessHour",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.updateBusinessHour"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "alternative_menu": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "preferred_menu": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "BusinessHourController.updateBusinessHour"
      },
      "get": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "getBusinessHourById",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.getBusinessHourById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BusinessHourController.getBusinessHourById"
      },
      "delete": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "deleteBusinessHour",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.deleteBusinessHour"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BusinessHourController.deleteBusinessHour"
      }
    },
    "/v3/business-hour/{string_id}": {
      "post": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "createBusinessHour",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.createBusinessHour"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "alternative_menu": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "preferred_menu": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BusinessHourController.createBusinessHour"
      },
      "get": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "getBusinessHour",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.getBusinessHour"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BusinessHourController.getBusinessHour"
      }
    },
    "/v3/business_hour2/{string_id}": {
      "post": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "createBusinessHour2",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.createBusinessHour2"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "string"
                    },
                    "data_type": {
                      "type": "string"
                    },
                    "pattern": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "date": {
                      "type": "string"
                    },
                    "week": {
                      "type": "string"
                    },
                    "preferred_menu": {
                      "type": "array"
                    },
                    "alternative_menu": {
                      "type": "array"
                    },
                    "default_menu": {
                      "type": "array"
                    },
                    "hide_menu": {
                      "type": "array"
                    },
                    "end_time": {
                      "type": "string"
                    },
                    "start_time": {
                      "type": "string"
                    },
                    "project": {
                      "type": "array"
                    },
                    "selftake_status": {
                      "type": "string"
                    },
                    "takeaway_status": {
                      "type": "string"
                    },
                    "turn_dishes": {
                      "type": "number"
                    },
                    "turn_mins": {
                      "type": "number"
                    },
                    "max_turn": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BusinessHourController.createBusinessHour2"
      },
      "get": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "getBusinessHour2",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.getBusinessHour2"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BusinessHourController.getBusinessHour2"
      }
    },
    "/v3/check-permission/{string_id}": {
      "get": {
        "x-controller-name": "CheckPermissionController",
        "x-operation-name": "check",
        "tags": [
          "CheckPermissionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CheckPermissionController.check"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "CheckPermissionController.check"
      }
    },
    "/v3/cloud/restaurant-info/{string_id}": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getCloudRestaurantInfo",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getCloudRestaurantInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "RestaurantInfoController.getCloudRestaurantInfo"
      }
    },
    "/v3/condiment/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "CondimentController",
        "x-operation-name": "updateCodiment",
        "tags": [
          "CondimentController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentController.updateCodiment"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CondimentController.updateCodiment"
      }
    },
    "/v3/condiment/{string_id}": {
      "delete": {
        "x-controller-name": "CondimentController",
        "x-operation-name": "deleteCondiment",
        "tags": [
          "CondimentController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentController.deleteCondiment"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentController.deleteCondiment"
      }
    },
    "/v3/condiment_group/condiment/excel/{string_id}": {
      "post": {
        "x-controller-name": "CondimentController",
        "x-operation-name": "updateCondimentByExcel",
        "tags": [
          "CondimentController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentController.updateCondimentByExcel"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "scomdiment_groups_id": {
                        "type": "number"
                      },
                      "comdiment_groups_name": {
                        "type": "string"
                      },
                      "comdiments": {
                        "type": "array"
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentController.updateCondimentByExcel"
      }
    },
    "/v3/condiment_group/{id}/condiment/{string_id}": {
      "post": {
        "x-controller-name": "CondimentController",
        "x-operation-name": "createCondiment",
        "tags": [
          "CondimentController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentController.createCondiment"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "item_name1": {
                    "type": "string"
                  },
                  "price_1": {
                    "type": "number"
                  },
                  "takeout_price_1": {
                    "type": "number"
                  },
                  "unit_1": {
                    "type": "string"
                  },
                  "major_group": {
                    "type": "number"
                  },
                  "tax_group": {
                    "type": "number"
                  },
                  "family_group": {
                    "type": "number"
                  },
                  "item_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CondimentController.createCondiment"
      }
    },
    "/v3/condiment_group/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "CondimentGroupsController",
        "x-operation-name": "updateCondimentGroups",
        "tags": [
          "CondimentGroupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupsController.updateCondimentGroups"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "comdiment_groups_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CondimentGroupsController.updateCondimentGroups"
      }
    },
    "/v3/condiment_group/{string_id}": {
      "post": {
        "x-controller-name": "CondimentGroupsController",
        "x-operation-name": "createCondimentGroups",
        "tags": [
          "CondimentGroupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupsController.createCondimentGroups"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "scomdiment_groups_id": {
                    "type": "number"
                  },
                  "comdiment_groups_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentGroupsController.createCondimentGroups"
      },
      "delete": {
        "x-controller-name": "CondimentGroupsController",
        "x-operation-name": "deleteCondimentGroups",
        "tags": [
          "CondimentGroupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentGroupsController.deleteCondimentGroups"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CondimentGroupsController.deleteCondimentGroups"
      }
    },
    "/v3/condiments/{string_id}": {
      "get": {
        "x-controller-name": "CondimentController",
        "x-operation-name": "get",
        "tags": [
          "CondimentController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CondimentController.get"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "name": "with_group",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CondimentController.get"
      }
    },
    "/v3/copy_course_detail/{string_id}": {
      "patch": {
        "x-controller-name": "CourseDetailController",
        "x-operation-name": "copyCourseDetails",
        "tags": [
          "CourseDetailController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseDetailController.copyCourseDetails"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "course_id": {
                      "type": "number"
                    },
                    "course_group_id": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseDetailController.copyCourseDetails"
      }
    },
    "/v3/country": {
      "get": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "findByCondition",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.findByCondition"
          }
        },
        "operationId": "SettingsController.findByCondition"
      }
    },
    "/v3/course_detail/{id}/{string_id}": {
      "post": {
        "x-controller-name": "CourseDetailController",
        "x-operation-name": "createCourseDetail",
        "tags": [
          "CourseDetailController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseDetailController.createCourseDetail"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "menu_item_id": {
                      "type": "number"
                    },
                    "item_course_name": {
                      "type": "string"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "num": {
                      "type": "number"
                    },
                    "price": {
                      "type": "number"
                    },
                    "description": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CourseDetailController.createCourseDetail"
      },
      "patch": {
        "x-controller-name": "CourseDetailController",
        "x-operation-name": "updateCourseDetails",
        "tags": [
          "CourseDetailController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseDetailController.updateCourseDetails"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "menu_item_id": {
                      "type": "number"
                    },
                    "item_course_name": {
                      "type": "string"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "num": {
                      "type": "number"
                    },
                    "price": {
                      "type": "number"
                    },
                    "description": {
                      "type": "string"
                    },
                    "detail_id": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CourseDetailController.updateCourseDetails"
      }
    },
    "/v3/course_detail/{string_id}": {
      "delete": {
        "x-controller-name": "CourseDetailController",
        "x-operation-name": "deleteCourseDetail",
        "tags": [
          "CourseDetailController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseDetailController.deleteCourseDetail"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseDetailController.deleteCourseDetail"
      }
    },
    "/v3/course_group/{id}/{string_id}": {
      "post": {
        "x-controller-name": "CourseGroupController",
        "x-operation-name": "createCourseGroup",
        "tags": [
          "CourseGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseGroupController.createCourseGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "menu_item_id": {
                    "type": "number"
                  },
                  "course_group_name": {
                    "type": "string"
                  },
                  "is_must": {
                    "type": "number"
                  },
                  "choose_num": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CourseGroupController.createCourseGroup"
      },
      "patch": {
        "x-controller-name": "CourseGroupController",
        "x-operation-name": "updateCourseGroup",
        "tags": [
          "CourseGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseGroupController.updateCourseGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "number"
            },
            "name": "course_group_id"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "course_group_name": {
                    "type": "string"
                  },
                  "is_must": {
                    "type": "number"
                  },
                  "choose_num": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 3
        },
        "operationId": "CourseGroupController.updateCourseGroup"
      }
    },
    "/v3/course_group/{string_id}": {
      "delete": {
        "x-controller-name": "CourseGroupController",
        "x-operation-name": "deleteCourseGroup",
        "tags": [
          "CourseGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseGroupController.deleteCourseGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "array"
            },
            "name": "id"
          }
        ],
        "operationId": "CourseGroupController.deleteCourseGroup"
      }
    },
    "/v3/customers/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "updateCustomers",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CustomerController.updateCustomers"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "customer_id": {
                    "type": "number"
                  },
                  "customer_name": {
                    "type": "string"
                  },
                  "telephone_1": {
                    "type": "string"
                  },
                  "address": {
                    "type": "string"
                  },
                  "sex": {
                    "type": "number"
                  },
                  "required": {
                    "type": "string"
                  }
                },
                "additionalProperties": true
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "CustomerController.updateCustomers"
      }
    },
    "/v3/customers/{string_id}": {
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "getCustomers",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CustomerController.getCustomers"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "any"
            },
            "name": "like"
          },
          {
            "in": "query",
            "schema": {
              "type": "number"
            },
            "name": "customer_id"
          },
          {
            "in": "query",
            "schema": {
              "type": "string"
            },
            "name": "customer_name"
          },
          {
            "in": "query",
            "schema": {
              "type": "string"
            },
            "name": "telephone_1"
          }
        ],
        "operationId": "CustomerController.getCustomers"
      },
      "delete": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "deleteCustomers",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CustomerController.deleteCustomers"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CustomerController.deleteCustomers"
      }
    },
    "/v3/dish/course/{string_id}": {
      "get": {
        "x-controller-name": "CourseGroupController",
        "x-operation-name": "getDishCourseGroupInfo",
        "tags": [
          "CourseGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseGroupController.getDishCourseGroupInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "boolean"
            },
            "name": "is_origin_name1"
          },
          {
            "in": "query",
            "schema": {
              "type": "number"
            },
            "name": "course_group_id"
          }
        ],
        "operationId": "CourseGroupController.getDishCourseGroupInfo"
      }
    },
    "/v3/dish/item_unit/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "ItemUnitController",
        "x-operation-name": "updateItemUnit",
        "tags": [
          "ItemUnitController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ItemUnitController.updateItemUnit"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "string"
            },
            "name": "unit_name"
          }
        ],
        "operationId": "ItemUnitController.updateItemUnit"
      },
      "delete": {
        "x-controller-name": "ItemUnitController",
        "x-operation-name": "deleteItemUnit",
        "tags": [
          "ItemUnitController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ItemUnitController.deleteItemUnit"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ItemUnitController.deleteItemUnit"
      }
    },
    "/v3/dish/item_unit/{string_id}": {
      "post": {
        "x-controller-name": "ItemUnitController",
        "x-operation-name": "createItemUnit",
        "tags": [
          "ItemUnitController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ItemUnitController.createItemUnit"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "unit_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ItemUnitController.createItemUnit"
      },
      "get": {
        "x-controller-name": "ItemUnitController",
        "x-operation-name": "getItemUnit",
        "tags": [
          "ItemUnitController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ItemUnitController.getItemUnit"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ItemUnitController.getItemUnit"
      },
      "delete": {
        "x-controller-name": "ItemUnitController",
        "x-operation-name": "deleteItemUnits",
        "tags": [
          "ItemUnitController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ItemUnitController.deleteItemUnits"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ItemUnitController.deleteItemUnits"
      }
    },
    "/v3/dishes/batch/reason_return/{string_id}": {
      "delete": {
        "x-controller-name": "ReasonReturnController",
        "x-operation-name": "deleteReasonReturns",
        "tags": [
          "ReasonReturnController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReasonReturnController.deleteReasonReturns"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ReasonReturnController.deleteReasonReturns"
      }
    },
    "/v3/dishes/idArea/{string_id}": {
      "get": {
        "x-controller-name": "CourseDetailController",
        "x-operation-name": "getIdAreaDish",
        "tags": [
          "CourseDetailController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseDetailController.getIdAreaDish"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "array"
            },
            "name": "menus_ids"
          },
          {
            "in": "query",
            "schema": {
              "type": "array"
            },
            "name": "id_area"
          }
        ],
        "operationId": "CourseDetailController.getIdAreaDish"
      }
    },
    "/v3/dishes/reason_return/{id}/{string_id}": {
      "delete": {
        "x-controller-name": "ReasonReturnController",
        "x-operation-name": "deleteReasonReturn",
        "tags": [
          "ReasonReturnController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReasonReturnController.deleteReasonReturn"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ReasonReturnController.deleteReasonReturn"
      }
    },
    "/v3/dishes/reason_return/{string_id}": {
      "post": {
        "x-controller-name": "ReasonReturnController",
        "x-operation-name": "createReasonReturn",
        "tags": [
          "ReasonReturnController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReasonReturnController.createReasonReturn"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reason_name": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "is_returns": {
                    "type": "number"
                  },
                  "is_timecard": {
                    "type": "number"
                  },
                  "is_other": {
                    "type": "number"
                  },
                  "reason_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ReasonReturnController.createReasonReturn"
      },
      "patch": {
        "x-controller-name": "ReasonReturnController",
        "x-operation-name": "updateReasonReturn",
        "tags": [
          "ReasonReturnController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReasonReturnController.updateReasonReturn"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reason_name": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "is_returns": {
                    "type": "number"
                  },
                  "is_timecard": {
                    "type": "number"
                  },
                  "is_other": {
                    "type": "number"
                  },
                  "reason_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ReasonReturnController.updateReasonReturn"
      },
      "get": {
        "x-controller-name": "ReasonReturnController",
        "x-operation-name": "getReasonReturn",
        "tags": [
          "ReasonReturnController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReasonReturnController.getReasonReturn"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ReasonReturnController.getReasonReturn"
      }
    },
    "/v3/dishes/{string_id}": {
      "post": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "createMenuItem",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.createMenuItem"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "slu_id": {
                    "type": "number"
                  },
                  "item_name1": {
                    "type": "string"
                  },
                  "item_type": {
                    "type": "number"
                  },
                  "class_id": {
                    "type": "number"
                  },
                  "tax_group": {
                    "type": "number"
                  },
                  "major_group": {
                    "type": "number"
                  },
                  "family_group": {
                    "type": "number"
                  },
                  "allergen": {
                    "type": "string"
                  },
                  "other_detail_info": {
                    "type": "string"
                  },
                  "rule_lnr_limit_enable": {
                    "type": "number"
                  },
                  "rules_ignore_the_display": {
                    "type": "number"
                  },
                  "not_joining_global_limit": {
                    "type": "number"
                  },
                  "minimum_time": {
                    "type": "number"
                  },
                  "special_attributes": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuItemController.createMenuItem"
      },
      "patch": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "updateMenuItems",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.updateMenuItems"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dishes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "item_type": {
                          "type": "number"
                        },
                        "family_group": {
                          "type": "number"
                        },
                        "tax_group": {
                          "type": "number"
                        },
                        "major_group": {
                          "type": "number"
                        },
                        "class_id": {
                          "type": "number"
                        },
                        "slu_id": {
                          "type": "number"
                        },
                        "item_id": {
                          "type": "number"
                        },
                        "item_name1": {
                          "type": "string"
                        },
                        "rules_ignore_the_display": {
                          "type": "number"
                        },
                        "rule_lnr_limit_enable": {
                          "type": "number"
                        },
                        "unit_2": {
                          "type": "string"
                        },
                        "price_2": {
                          "type": "number"
                        },
                        "takeout_price_2": {
                          "type": "number"
                        },
                        "unit_3": {
                          "type": "string"
                        },
                        "price_3": {
                          "type": "number"
                        },
                        "takeout_price_3": {
                          "type": "number"
                        },
                        "unit_4": {
                          "type": "string"
                        },
                        "price_4": {
                          "type": "number"
                        },
                        "takeout_price_4": {
                          "type": "number"
                        },
                        "unit_5": {
                          "type": "string"
                        },
                        "price_5": {
                          "type": "number"
                        },
                        "takeout_price_5": {
                          "type": "number"
                        },
                        "rule_table_max_num": {
                          "type": "number"
                        },
                        "minimum_time": {
                          "type": "number"
                        },
                        "special_attributes": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "is_patch_not_limit": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuItemController.updateMenuItems"
      },
      "get": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "getMenuItems",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.getMenuItems"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "id",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "MenuItemController.getMenuItems"
      },
      "delete": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "deleteMenuItems",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.deleteMenuItems"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "slu_id": {
                      "type": "number"
                    },
                    "item_id": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuItemController.deleteMenuItems"
      }
    },
    "/v3/employee/{employee_id}/{string_id}": {
      "patch": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "updateByStaff",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.updateByStaff"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "employee_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "employee_last_name": {
                    "type": "string"
                  },
                  "end_date": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "StaffSharkController.updateByStaff"
      },
      "delete": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "delByStaff",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.delByStaff"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "employee_id",
            "required": true
          }
        ],
        "operationId": "StaffSharkController.delByStaff"
      }
    },
    "/v3/employee/{string_id}": {
      "post": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "postByStaff",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.postByStaff"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "employee_last_name": {
                    "type": "string"
                  },
                  "end_date": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffSharkController.postByStaff"
      },
      "get": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "findByStaff",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.findByStaff"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "StaffSharkController.findByStaff"
      }
    },
    "/v3/employee_class/{employee_class_id}/{string_id}": {
      "delete": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "delByStaffRank",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.delByStaffRank"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "employee_class_id",
            "required": true
          }
        ],
        "operationId": "StaffSharkController.delByStaffRank"
      }
    },
    "/v3/employee_class/{string_id}": {
      "post": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "postEmployeeClass",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.postEmployeeClass"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "employee_class_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffSharkController.postEmployeeClass"
      },
      "get": {
        "x-controller-name": "StaffSharkController",
        "x-operation-name": "findEmployeeClass",
        "tags": [
          "StaffSharkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StaffSharkController.findEmployeeClass"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "StaffSharkController.findEmployeeClass"
      }
    },
    "/v3/excel/menu_library/{string_id}": {
      "post": {
        "x-controller-name": "MenuLibrary",
        "x-operation-name": "createMenuLibraryByEXcel",
        "tags": [
          "MenuLibrary"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuLibrary.createMenuLibraryByEXcel"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "menus": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuLibrary.createMenuLibraryByEXcel"
      }
    },
    "/v3/gyb/device/default/{device_code}/{string_id}": {
      "patch": {
        "x-controller-name": "GybDeviceController",
        "x-operation-name": "updateGybDeviceDefault",
        "tags": [
          "GybDeviceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybDeviceController.updateGybDeviceDefault"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "device_code",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "GybDeviceController.updateGybDeviceDefault"
      },
      "delete": {
        "x-controller-name": "GybDeviceController",
        "x-operation-name": "cancelGybDeviceDefault",
        "tags": [
          "GybDeviceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybDeviceController.cancelGybDeviceDefault"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "device_code",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "GybDeviceController.cancelGybDeviceDefault"
      }
    },
    "/v3/gyb/sync_devices/{string_id}": {
      "patch": {
        "x-controller-name": "GybDeviceController",
        "x-operation-name": "gybSyncDevices",
        "tags": [
          "GybDeviceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybDeviceController.gybSyncDevices"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "GybDeviceController.gybSyncDevices"
      }
    },
    "/v3/gyb-device/{string_id}": {
      "get": {
        "x-controller-name": "GybDeviceController",
        "x-operation-name": "getGybDevice",
        "tags": [
          "GybDeviceController"
        ],
        "responses": {
          "200": {
            "description": "Return value of GybDeviceController.getGybDevice"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "query",
            "schema": {
              "type": "string"
            },
            "name": "is_default"
          }
        ],
        "operationId": "GybDeviceController.getGybDevice"
      }
    },
    "/v3/kds/es-restaurantinfo/get/{string_id}": {
      "post": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "getRestKdsInfoBySpanish",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.getRestKdsInfoBySpanish"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.getRestKdsInfoBySpanish"
      }
    },
    "/v3/kds/es-restaurantinfo/{string_id}": {
      "post": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "createKdsRestaurantinfoByEs",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.createKdsRestaurantinfoByEs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "AliquotaIVA": {
                        "type": "string"
                      },
                      "Divisa": {
                        "type": "string"
                      },
                      "EsigibilitaIVA": {
                        "type": "string"
                      },
                      "IdPaese": {
                        "type": "string"
                      },
                      "Nazione": {
                        "type": "string"
                      },
                      "RegimeFiscale": {
                        "type": "string"
                      },
                      "TipoDocumento": {
                        "type": "string"
                      },
                      "Denominazione": {
                        "type": "string"
                      },
                      "Indirizzo": {
                        "type": "string"
                      },
                      "Provincia": {
                        "type": "string"
                      },
                      "CAP": {
                        "type": "string"
                      },
                      "Comune": {
                        "type": "string"
                      },
                      "nif": {
                        "type": "string"
                      },
                      "cif": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.createKdsRestaurantinfoByEs"
      },
      "patch": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "updateKdsRestaurantinfoByEs",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.updateKdsRestaurantinfoByEs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "key": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "value": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.updateKdsRestaurantinfoByEs"
      },
      "delete": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "deleteKdsRestaurantinfoByEs",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.deleteKdsRestaurantinfoByEs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.deleteKdsRestaurantinfoByEs"
      }
    },
    "/v3/kds/restaurantinfo/get/{string_id}": {
      "post": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "getRestKdsInfo",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.getRestKdsInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.getRestKdsInfo"
      }
    },
    "/v3/kds/restaurantinfo/{string_id}": {
      "post": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "createKdsRestaurantinfo",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.createKdsRestaurantinfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "AliquotaIVA": {
                        "type": "string"
                      },
                      "Divisa": {
                        "type": "string"
                      },
                      "EsigibilitaIVA": {
                        "type": "string"
                      },
                      "IdPaese": {
                        "type": "string"
                      },
                      "Nazione": {
                        "type": "string"
                      },
                      "RegimeFiscale": {
                        "type": "string"
                      },
                      "TipoDocumento": {
                        "type": "string"
                      },
                      "CodiceFiscale": {
                        "type": "string"
                      },
                      "IdCodice": {
                        "type": "string"
                      },
                      "CAP": {
                        "type": "string"
                      },
                      "Comune": {
                        "type": "string"
                      },
                      "Denominazione": {
                        "type": "string"
                      },
                      "Indirizzo": {
                        "type": "string"
                      },
                      "Provincia": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.createKdsRestaurantinfo"
      },
      "patch": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "updateKdsRestaurantinfo",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.updateKdsRestaurantinfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "key": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "value": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.updateKdsRestaurantinfo"
      },
      "delete": {
        "x-controller-name": "KdsRestaurantInfoController",
        "x-operation-name": "deleteKdsRestaurantinfo",
        "tags": [
          "KdsRestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of KdsRestaurantInfoController.deleteKdsRestaurantinfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "KdsRestaurantInfoController.deleteKdsRestaurantinfo"
      }
    },
    "/v3/menu/share/accept": {
      "post": {
        "x-controller-name": "MenuController",
        "x-operation-name": "acceptShareInvitation",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.acceptShareInvitation"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "invitation_id",
                  "restaurant_string_id"
                ],
                "properties": {
                  "invitation_id": {
                    "type": "string",
                    "description": "GroupMenuShareInvitation 的 _id"
                  },
                  "restaurant_string_id": {
                    "type": "string",
                    "description": "本店餐厅码（须与邀请的 to_restaurant_string_id 一致）"
                  }
                }
              }
            }
          }
        },
        "operationId": "MenuController.acceptShareInvitation"
      }
    },
    "/v3/menu/share/invitations/{string_id}": {
      "get": {
        "x-controller-name": "MenuController",
        "x-operation-name": "getShareInvitations",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.getShareInvitations"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "description": "餐厅码（目标店），即 to_restaurant_string_id",
            "required": true
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "pending",
                "accepted",
                "rejected"
              ]
            },
            "description": "不传默认 pending；可传 accepted/rejected 查历史"
          }
        ],
        "operationId": "MenuController.getShareInvitations"
      }
    },
    "/v3/menu/share": {
      "post": {
        "x-controller-name": "MenuController",
        "x-operation-name": "shareMenuToRestaurants",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.shareMenuToRestaurants"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "from_restaurant_string_id",
                  "to_restaurant_string_ids",
                  "group_string_id",
                  "main_group_ids"
                ],
                "properties": {
                  "from_restaurant_string_id": {
                    "type": "string",
                    "description": "发起分享的餐厅"
                  },
                  "to_restaurant_string_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "目标餐厅 string_id 列表"
                  },
                  "group_string_id": {
                    "type": "string",
                    "description": "集团 ID，来源与目标餐厅须同属该集团"
                  },
                  "main_group_ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "description": "用户选中的分享菜单 id（一级菜单 main_group_id），可多个"
                  },
                  "share_name": {
                    "type": "string",
                    "description": "可选，分享展示名称"
                  }
                }
              }
            }
          }
        },
        "operationId": "MenuController.shareMenuToRestaurants"
      }
    },
    "/v3/menu/{string_id}": {
      "get": {
        "x-controller-name": "MenuController",
        "x-operation-name": "get",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.get"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "with_dish",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "get_image_status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "rbpSort",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "with_course",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "main_group_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "print",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "extra",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "MenuController.get"
      }
    },
    "/v3/menu-store/activate": {
      "post": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "activateByLicenseCode",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.activateByLicenseCode"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "license_code"
                ],
                "properties": {
                  "license_code": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "MenuStoreController.activateByLicenseCode"
      }
    },
    "/v3/menu-store/apply-to-restaurant": {
      "post": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "applyMenuToRestaurant",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.applyMenuToRestaurant"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "menu_id",
                  "restaurant_string_ids"
                ],
                "properties": {
                  "menu_id": {
                    "type": "string"
                  },
                  "restaurant_string_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "minItems": 1
                  }
                }
              }
            }
          }
        },
        "operationId": "MenuStoreController.applyMenuToRestaurant"
      }
    },
    "/v3/menu-store/menu/{id}/dish-visibility": {
      "patch": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "updateMenuDishVisibility",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.updateMenuDishVisibility"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "items"
                ],
                "properties": {
                  "items": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "required": [
                        "dish_template_item_id",
                        "is_detail_visible"
                      ],
                      "properties": {
                        "dish_template_item_id": {
                          "type": "string"
                        },
                        "is_detail_visible": {
                          "type": "boolean"
                        }
                      }
                    },
                    "description": "每项对应 structure 内菜品的 template_item_id"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuStoreController.updateMenuDishVisibility"
      }
    },
    "/v3/menu-store/menu/{id}/license-codes": {
      "post": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "generateMenuLicenseCodes",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.generateMenuLicenseCodes"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuStoreController.generateMenuLicenseCodes"
      },
      "get": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "listMenuLicenseCodes",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.listMenuLicenseCodes"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MenuStoreController.listMenuLicenseCodes"
      },
      "delete": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "deleteMenuLicenseCode",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.deleteMenuLicenseCode"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "license_code",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "要删除的授权码（须为该菜单下 pending 状态）"
          }
        ],
        "operationId": "MenuStoreController.deleteMenuLicenseCode"
      }
    },
    "/v3/menu-store/menu/{id}/status": {
      "patch": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "setMenuStatus",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.setMenuStatus"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "delisted",
                      "published"
                    ]
                  },
                  "remove_context": {
                    "type": "string",
                    "enum": [
                      "uploaded",
                      "purchased"
                    ],
                    "description": "移除时必填：uploaded=我的菜单-已上传；purchased=我的菜单-已购买。status=published 时可省略"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuStoreController.setMenuStatus"
      }
    },
    "/v3/menu-store/menu/{id}": {
      "patch": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "updateMenu",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.updateMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "cover_image_url": {
                    "type": "string"
                  },
                  "cover_image_preview_url": {
                    "type": "string"
                  },
                  "structure": {
                    "type": "object",
                    "properties": {
                      "condimentData": {
                        "type": "array"
                      },
                      "menuItems": {
                        "type": "array"
                      }
                    }
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "draft",
                      "pending_review",
                      "published",
                      "rejected",
                      "delisted"
                    ]
                  },
                  "creator_contact": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "phone_prefix": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "wechat": {
                        "type": "string"
                      },
                      "contact_text": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuStoreController.updateMenu"
      },
      "get": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "getStoreMenu",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.getStoreMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MenuStoreController.getStoreMenu"
      }
    },
    "/v3/menu-store/menu": {
      "post": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "addMenu",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.addMenu"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "menu_uuid"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "menu_uuid": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "cover_image_url": {
                    "type": "string"
                  },
                  "cover_image_preview_url": {
                    "type": "string"
                  },
                  "structure": {
                    "type": "object",
                    "properties": {
                      "condimentData": {
                        "type": "array"
                      },
                      "menuItems": {
                        "type": "array"
                      }
                    }
                  },
                  "creator_contact": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "phone_prefix": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "contact_text": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "MenuStoreController.addMenu"
      }
    },
    "/v3/menu-store/menus": {
      "get": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "listMenus",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.listMenus"
          }
        },
        "parameters": [
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MenuStoreController.listMenus"
      }
    },
    "/v3/menu-store/my-menus": {
      "get": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "listMyMenus",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.listMyMenus"
          }
        },
        "parameters": [
          {
            "name": "pagination_page",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "pagination_per_page",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MenuStoreController.listMyMenus"
      }
    },
    "/v3/menu-store/upload/cover/{menu_id}": {
      "post": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "uploadCover",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.uploadCover"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "menu_id",
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuStoreController.uploadCover"
      }
    },
    "/v3/menu-store/upload/dish": {
      "post": {
        "x-controller-name": "MenuStoreController",
        "x-operation-name": "uploadDish",
        "tags": [
          "MenuStoreController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuStoreController.uploadDish"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "menu_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "item_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MenuStoreController.uploadDish"
      }
    },
    "/v3/menu_item/excel/{string_id}": {
      "post": {
        "x-controller-name": "MenuController",
        "x-operation-name": "postMenuItemExcel",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.postMenuItemExcel"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "condimentData": {
                        "type": "array"
                      },
                      "menuItems": {
                        "type": "array"
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuController.postMenuItemExcel"
      }
    },
    "/v3/menu_item/{string_id}": {
      "get": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "findByCondition",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.findByCondition"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "name",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pag_per_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "in": "query",
            "name": "pag_page",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "in": "query",
            "name": "main_group_id",
            "required": false,
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "second_group_id",
            "required": false,
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "print_class",
            "required": false,
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "item_type",
            "required": false,
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "major_group",
            "required": false,
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "family_group",
            "required": false,
            "schema": {
              "or": [
                {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "item_name1",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MenuItemController.findByCondition"
      }
    },
    "/v3/menu_item_full_select/{string_id}": {
      "patch": {
        "x-controller-name": "CourseGroupController",
        "x-operation-name": "updateCourseGroupFullSelect",
        "tags": [
          "CourseGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseGroupController.updateCourseGroupFullSelect"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "is_full_select": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseGroupController.updateCourseGroupFullSelect"
      }
    },
    "/v3/menu_item_id/{string_id}": {
      "get": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "findAllId",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.findAllId"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MenuItemController.findAllId"
      }
    },
    "/v3/menu_library/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "MenuLibrary",
        "x-operation-name": "updateMenuLibraryInfoById",
        "tags": [
          "MenuLibrary"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuLibrary.updateMenuLibraryInfoById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "update",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "item_name1": {
                    "type": "string"
                  },
                  "item_type": {
                    "type": "number"
                  },
                  "rules_ignore_the_display": {
                    "type": "number"
                  },
                  "rule_lnr_limit_enable": {
                    "type": "number"
                  },
                  "tax_group": {
                    "type": "number"
                  },
                  "unit_2": {
                    "type": "string"
                  },
                  "price_2": {
                    "type": "number"
                  },
                  "takeout_price_2": {
                    "type": "number"
                  },
                  "unit_3": {
                    "type": "string"
                  },
                  "price_3": {
                    "type": "number"
                  },
                  "takeout_price_3": {
                    "type": "number"
                  },
                  "unit_4": {
                    "type": "string"
                  },
                  "price_4": {
                    "type": "number"
                  },
                  "takeout_price_4": {
                    "type": "number"
                  },
                  "unit_5": {
                    "type": "string"
                  },
                  "price_5": {
                    "type": "number"
                  },
                  "takeout_price_5": {
                    "type": "number"
                  },
                  "item_ids": {
                    "type": "string"
                  },
                  "class_id": {
                    "type": "number"
                  },
                  "rule_table_max_num": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 3
        },
        "operationId": "MenuLibrary.updateMenuLibraryInfoById"
      }
    },
    "/v3/menu_library/{string_id}": {
      "post": {
        "x-controller-name": "MenuLibrary",
        "x-operation-name": "createMenuLibraryInfos",
        "tags": [
          "MenuLibrary"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuLibrary.createMenuLibraryInfos"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "item_name1": {
                      "type": "string"
                    },
                    "item_type": {
                      "type": "number"
                    },
                    "tax_group": {
                      "type": "number"
                    },
                    "class_id": {
                      "type": "number"
                    },
                    "slu_ids": {
                      "type": "string"
                    },
                    "rule_table_max_num": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuLibrary.createMenuLibraryInfos"
      },
      "get": {
        "x-controller-name": "MenuLibrary",
        "x-operation-name": "getMenuLibraryInfo",
        "tags": [
          "MenuLibrary"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuLibrary.getMenuLibraryInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MenuLibrary.getMenuLibraryInfo"
      },
      "delete": {
        "x-controller-name": "MenuLibrary",
        "x-operation-name": "deleteMenuLibraryInfos",
        "tags": [
          "MenuLibrary"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuLibrary.deleteMenuLibraryInfos"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuLibrary.deleteMenuLibraryInfos"
      }
    },
    "/v3/menu_name/{string_id}": {
      "get": {
        "x-controller-name": "MenuController",
        "x-operation-name": "getMenuInfo",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.getMenuInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MenuController.getMenuInfo"
      }
    },
    "/v3/menus/first/index/{string_id}": {
      "patch": {
        "x-controller-name": "MenuController",
        "x-operation-name": "updateFirstMenuIndex",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.updateFirstMenuIndex"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "title": "item_main_group",
                      "type": "object",
                      "description": "一级菜单排序：每项必有 main_group_id",
                      "required": [
                        "main_group_id"
                      ],
                      "properties": {
                        "main_group_id": {
                          "type": "number"
                        },
                        "main_group_index": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "title": "menu_item",
                      "type": "object",
                      "description": "菜品排序等：每项必有 item_id（如 slu_priority）",
                      "required": [
                        "item_id"
                      ],
                      "properties": {
                        "item_id": {
                          "type": "number"
                        },
                        "slu_priority": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "title": "course_group",
                      "type": "object",
                      "description": "套餐组排序等：每项必有 course_group_id（如 slu_priority）",
                      "required": [
                        "course_group_id"
                      ],
                      "properties": {
                        "course_group_id": {
                          "type": "number"
                        },
                        "slu_priority": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuController.updateFirstMenuIndex"
      }
    },
    "/v3/menus/level/first/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "MenuController",
        "x-operation-name": "updateFirstMenuById",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.updateFirstMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "main_group_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MenuController.updateFirstMenuById"
      },
      "delete": {
        "x-controller-name": "MenuController",
        "x-operation-name": "deleteFirstMenu",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.deleteFirstMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MenuController.deleteFirstMenu"
      }
    },
    "/v3/menus/level/first/{string_id}": {
      "post": {
        "x-controller-name": "MenuController",
        "x-operation-name": "createFirstMenu",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.createFirstMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "main_group_name": {
                    "type": "string"
                  },
                  "menu_item_slu": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "main_group_index": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuController.createFirstMenu"
      },
      "patch": {
        "x-controller-name": "MenuController",
        "x-operation-name": "updateFirstMenus",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.updateFirstMenus"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "main_group_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "main_group_name",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "x-parameter-index": 3
        },
        "operationId": "MenuController.updateFirstMenus"
      }
    },
    "/v3/menus/level/second/{id}/{string_id}": {
      "post": {
        "x-controller-name": "MenuController",
        "x-operation-name": "createSecondMenu",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.createSecondMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dmi_slu_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MenuController.createSecondMenu"
      },
      "patch": {
        "x-controller-name": "MenuController",
        "x-operation-name": "updateSecondMenu",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.updateSecondMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "category_order_limit": {
                    "type": "number"
                  },
                  "dmi_slu_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MenuController.updateSecondMenu"
      },
      "delete": {
        "x-controller-name": "MenuController",
        "x-operation-name": "delSecondMenuById",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.delSecondMenuById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "first_menu_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "MenuController.delSecondMenuById"
      }
    },
    "/v3/menus/second/index/{string_id}": {
      "patch": {
        "x-controller-name": "MenuController",
        "x-operation-name": "updateSecondMenuIndex",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.updateSecondMenuIndex"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dmi_slu_id": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuController.updateSecondMenuIndex"
      }
    },
    "/v3/menus/second/{id}/{string_id}": {
      "get": {
        "x-controller-name": "MenuItemController",
        "x-operation-name": "getDishBySecondMenu",
        "tags": [
          "MenuItemController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuItemController.getDishBySecondMenu"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "with_course",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "sortBy",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "isShowPrinter",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "MenuItemController.getDishBySecondMenu"
      }
    },
    "/v3/menus/{string_id}": {
      "get": {
        "x-controller-name": "MenuController",
        "x-operation-name": "gets",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.gets"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "with_dish",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "get_image_status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "rbpSort",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "with_course",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "main_group_id",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "print",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "extra",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "MenuController.gets"
      },
      "delete": {
        "x-controller-name": "MenuController",
        "x-operation-name": "deleteMenusDishData",
        "tags": [
          "MenuController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuController.deleteMenusDishData"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MenuController.deleteMenusDishData"
      }
    },
    "/v3/move_course_detail/{string_id}": {
      "patch": {
        "x-controller-name": "CourseDetailController",
        "x-operation-name": "moveCourseDetails",
        "tags": [
          "CourseDetailController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CourseDetailController.moveCourseDetails"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "course_id": {
                      "type": "number"
                    },
                    "course_group_id": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseDetailController.moveCourseDetails"
      }
    },
    "/v3/order-password/update/{string_id}": {
      "patch": {
        "x-controller-name": "ReserveController",
        "x-operation-name": "update",
        "tags": [
          "ReserveController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReserveController.update"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "employee_id": {
                    "type": "string"
                  },
                  "password_id": {
                    "type": "string"
                  },
                  "new_order_code": {
                    "type": "string"
                  },
                  "order_head_id": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ReserveController.update"
      }
    },
    "/v3/order_remarks/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "OrderController",
        "x-operation-name": "updateOrderRemarks",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of OrderController.updateOrderRemarks"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "remark_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "OrderController.updateOrderRemarks"
      },
      "delete": {
        "x-controller-name": "OrderController",
        "x-operation-name": "delOrderRemarks",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of OrderController.delOrderRemarks"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          }
        ],
        "operationId": "OrderController.delOrderRemarks"
      }
    },
    "/v3/order_remarks/{string_id}": {
      "post": {
        "x-controller-name": "OrderController",
        "x-operation-name": "postOrderRemark",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of OrderController.postOrderRemark"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "remark_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrderController.postOrderRemark"
      },
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getRestaurantSetting",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of OrderController.getRestaurantSetting"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "OrderController.getRestaurantSetting"
      },
      "delete": {
        "x-controller-name": "OrderController",
        "x-operation-name": "delBatchOrderRemarks",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of OrderController.delBatchOrderRemarks"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrderController.delBatchOrderRemarks"
      }
    },
    "/v3/print_class/{string_id}/{id}": {
      "patch": {
        "x-controller-name": "PrintGroupController",
        "x-operation-name": "path",
        "tags": [
          "PrintGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PrintGroupController.path"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "class": {
                    "type": "object",
                    "properties": {
                      "print_class_name": {
                        "type": "string"
                      }
                    }
                  },
                  "devices": {
                    "type": "object",
                    "properties": {
                      "print_class_id": {
                        "type": "number"
                      },
                      "print_device_id": {
                        "type": "number"
                      }
                    }
                  }
                },
                "required": [
                  "print_class_name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "PrintGroupController.path"
      }
    },
    "/v3/print_class/{string_id}": {
      "post": {
        "x-controller-name": "PrintGroupController",
        "x-operation-name": "add",
        "tags": [
          "PrintGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PrintGroupController.add"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "print_class_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "print_class_name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PrintGroupController.add"
      },
      "get": {
        "x-controller-name": "PrintGroupController",
        "x-operation-name": "get",
        "tags": [
          "PrintGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PrintGroupController.get"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "PrintGroupController.get"
      },
      "delete": {
        "x-controller-name": "PrintGroupController",
        "x-operation-name": "del",
        "tags": [
          "PrintGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PrintGroupController.del"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PrintGroupController.del"
      }
    },
    "/v3/propaganda/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "PropagandaController",
        "x-operation-name": "updatePropaganda",
        "tags": [
          "PropagandaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PropagandaController.updatePropaganda"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "PropagandaController.updatePropaganda"
      },
      "get": {
        "x-controller-name": "PropagandaController",
        "x-operation-name": "getPropagandaById",
        "tags": [
          "PropagandaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PropagandaController.getPropagandaById"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "PropagandaController.getPropagandaById"
      },
      "delete": {
        "x-controller-name": "PropagandaController",
        "x-operation-name": "deletePropaganda",
        "tags": [
          "PropagandaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PropagandaController.deletePropaganda"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "PropagandaController.deletePropaganda"
      }
    },
    "/v3/propaganda/{string_id}": {
      "post": {
        "x-controller-name": "PropagandaController",
        "x-operation-name": "createPropaganda",
        "tags": [
          "PropagandaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PropagandaController.createPropaganda"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PropagandaController.createPropaganda"
      },
      "get": {
        "x-controller-name": "PropagandaController",
        "x-operation-name": "getPropaganda",
        "tags": [
          "PropagandaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PropagandaController.getPropaganda"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "PropagandaController.getPropaganda"
      }
    },
    "/v3/propagandas/{string_id}": {
      "delete": {
        "x-controller-name": "PropagandaController",
        "x-operation-name": "deletePropagandas",
        "tags": [
          "PropagandaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PropagandaController.deletePropagandas"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PropagandaController.deletePropagandas"
      }
    },
    "/v3/register": {
      "post": {
        "x-controller-name": "DeliverectController",
        "x-operation-name": "registerDeliverect",
        "tags": [
          "DeliverectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DeliverectController.registerDeliverect"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "accountId": {
                    "type": "string"
                  },
                  "locationId": {
                    "type": "string"
                  },
                  "externalLocationId": {
                    "type": "string"
                  },
                  "locationName": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "DeliverectController.registerDeliverect"
      }
    },
    "/v3/reserve_hour/{string_id}": {
      "post": {
        "x-controller-name": "ReserveController",
        "x-operation-name": "add",
        "tags": [
          "ReserveController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReserveController.add"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "week": {
                          "type": "number"
                        },
                        "childrens": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "number"
                              },
                              "name": {
                                "type": "string"
                              },
                              "date": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "start_time": {
                                      "type": "string"
                                    },
                                    "end_time": {
                                      "type": "string"
                                    },
                                    "time_id": {
                                      "type": "number"
                                    },
                                    "parent_topic_id": {
                                      "type": "number"
                                    },
                                    "code": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ReserveController.add"
      },
      "get": {
        "x-controller-name": "ReserveController",
        "x-operation-name": "get",
        "tags": [
          "ReserveController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ReserveController.get"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ReserveController.get"
      }
    },
    "/v3/restaurant-info/{string_id}/cloud-analysis-origin": {
      "patch": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "updateCloudAnalysisOrigin",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.updateCloudAnalysisOrigin"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "cloud_analysis_origin": {
                    "type": "string",
                    "enum": [
                      "EFR",
                      "ECCO"
                    ]
                  }
                },
                "additionalProperties": false,
                "required": [
                  "cloud_analysis_origin"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestaurantInfoController.updateCloudAnalysisOrigin"
      }
    },
    "/v3/restaurant-info/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "updateRestaurantInfo",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.updateRestaurantInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "restaurant_name": {
                    "type": "string"
                  },
                  "location_name_2": {
                    "type": "string"
                  },
                  "default_printer_name": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "autoinc_business_date": {
                    "type": "object"
                  },
                  "floating_fical_date": {
                    "type": "object"
                  },
                  "fixed_period": {
                    "type": "object"
                  },
                  "currency_name": {
                    "type": "string"
                  },
                  "decimal_char": {
                    "type": "string"
                  },
                  "db_back_folder": {
                    "type": "string"
                  },
                  "menu1": {
                    "type": "string"
                  },
                  "menu2": {
                    "type": "string"
                  },
                  "ccTLD": {
                    "type": "string"
                  },
                  "country_code": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "RestaurantInfoController.updateRestaurantInfo"
      }
    },
    "/v3/restaurant-info/{string_id}": {
      "get": {
        "x-controller-name": "RestaurantInfoController",
        "x-operation-name": "getRestaurantInfo",
        "tags": [
          "RestaurantInfoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RestaurantInfoController.getRestaurantInfo"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "RestaurantInfoController.getRestaurantInfo"
      }
    },
    "/v3/rvcCenter/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "TableController",
        "x-operation-name": "patchrvcCenter",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.patchrvcCenter"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rvc_center_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "rvc_center_name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "TableController.patchrvcCenter"
      },
      "delete": {
        "x-controller-name": "TableController",
        "x-operation-name": "delrvcCenter",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.delrvcCenter"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TableController.delrvcCenter"
      }
    },
    "/v3/rvcCenter/{string_id}": {
      "post": {
        "x-controller-name": "TableController",
        "x-operation-name": "addrvcCenter",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.addrvcCenter"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rvc_center_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "rvc_center_name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TableController.addrvcCenter"
      }
    },
    "/v3/set_business_hour2/{string_id}": {
      "patch": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "updateSetBusinessHour2",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.updateSetBusinessHour2"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "set_business_hour": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BusinessHourController.updateSetBusinessHour2"
      },
      "get": {
        "x-controller-name": "BusinessHourController",
        "x-operation-name": "getSetBusinessHour2",
        "tags": [
          "BusinessHourController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BusinessHourController.getSetBusinessHour2"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "BusinessHourController.getSetBusinessHour2"
      }
    },
    "/v3/settings/currency/{string_id}": {
      "get": {
        "x-controller-name": "DataAnalysisController",
        "x-operation-name": "getRestaurantSetting",
        "tags": [
          "DataAnalysisController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DataAnalysisController.getRestaurantSetting"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DataAnalysisController.getRestaurantSetting"
      }
    },
    "/v3/settings/major_group/{id}/{string_id}": {
      "delete": {
        "x-controller-name": "MajorGroupController",
        "x-operation-name": "deleteMajorGroup",
        "tags": [
          "MajorGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MajorGroupController.deleteMajorGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MajorGroupController.deleteMajorGroup"
      }
    },
    "/v3/settings/major_group/{string_id}": {
      "post": {
        "x-controller-name": "MajorGroupController",
        "x-operation-name": "createMajorGroup",
        "tags": [
          "MajorGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MajorGroupController.createMajorGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "major_group_id": {
                    "type": "number"
                  },
                  "major_group_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MajorGroupController.createMajorGroup"
      },
      "patch": {
        "x-controller-name": "MajorGroupController",
        "x-operation-name": "updateMajorGroup",
        "tags": [
          "MajorGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MajorGroupController.updateMajorGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "major_group_id": {
                    "type": "number"
                  },
                  "major_group_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MajorGroupController.updateMajorGroup"
      },
      "get": {
        "x-controller-name": "MajorGroupController",
        "x-operation-name": "getMajorGroup",
        "tags": [
          "MajorGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MajorGroupController.getMajorGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "MajorGroupController.getMajorGroup"
      },
      "delete": {
        "x-controller-name": "MajorGroupController",
        "x-operation-name": "deleteMajorGroups",
        "tags": [
          "MajorGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MajorGroupController.deleteMajorGroups"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MajorGroupController.deleteMajorGroups"
      }
    },
    "/v3/settings/map_address/{string_id}": {
      "patch": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "updateMapAddress",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.updateMapAddress"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "google_map_lat": {
                    "type": "number"
                  },
                  "google_map_lng": {
                    "type": "number"
                  },
                  "map_scope": {
                    "type": "number"
                  },
                  "map_adress": {
                    "type": "string"
                  },
                  "place_id": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SettingsController.updateMapAddress"
      },
      "get": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "getMapAddress",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.getMapAddress"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "SettingsController.getMapAddress"
      }
    },
    "/v3/settings/map_key/{string_id}": {
      "patch": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "updateMapKey",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.updateMapKey"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "map_key": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SettingsController.updateMapKey"
      },
      "get": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "getRestaurantMapKey",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.getRestaurantMapKey"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "SettingsController.getRestaurantMapKey"
      }
    },
    "/v3/settings/mergetypes/{string_id}": {
      "post": {
        "x-controller-name": "FamilyGroupController",
        "x-operation-name": "createFamilyGroup",
        "tags": [
          "FamilyGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FamilyGroupController.createFamilyGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "family_group_id": {
                        "type": "number"
                      },
                      "family_group_name": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FamilyGroupController.createFamilyGroup"
      },
      "patch": {
        "x-controller-name": "FamilyGroupController",
        "x-operation-name": "updateFamilyGroup",
        "tags": [
          "FamilyGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FamilyGroupController.updateFamilyGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "family_group_id": {
                    "type": "array"
                  },
                  "key": {
                    "type": "array"
                  },
                  "value": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FamilyGroupController.updateFamilyGroup"
      },
      "get": {
        "x-controller-name": "FamilyGroupController",
        "x-operation-name": "getFamilyGroup",
        "tags": [
          "FamilyGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FamilyGroupController.getFamilyGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FamilyGroupController.getFamilyGroup"
      },
      "delete": {
        "x-controller-name": "FamilyGroupController",
        "x-operation-name": "deleteFamilyGroup",
        "tags": [
          "FamilyGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FamilyGroupController.deleteFamilyGroup"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "family_group_id": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FamilyGroupController.deleteFamilyGroup"
      }
    },
    "/v3/settings/zone/{string_id}": {
      "patch": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "updateZone",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.updateZone"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SettingsController.updateZone"
      },
      "get": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "getRestaurantZone",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.getRestaurantZone"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "SettingsController.getRestaurantZone"
      }
    },
    "/v3/settings/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "updateSetting",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.updateSetting"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "stringValue": {
                    "type": "string"
                  },
                  "is_holidays": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "SettingsController.updateSetting"
      },
      "get": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "getRestaurantSetting",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.getRestaurantSetting"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          }
        ],
        "operationId": "SettingsController.getRestaurantSetting"
      }
    },
    "/v3/slu_menu_library/{string_id}": {
      "post": {
        "x-controller-name": "MenuLibrary",
        "x-operation-name": "updateSluMenuLibrary",
        "tags": [
          "MenuLibrary"
        ],
        "responses": {
          "200": {
            "description": "Return value of MenuLibrary.updateSluMenuLibrary"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "menus_arr": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "item_name1": {
                          "type": "string"
                        },
                        "item_type": {
                          "type": "number"
                        },
                        "tax_group": {
                          "type": "number"
                        },
                        "class_id": {
                          "type": "number"
                        },
                        "id": {
                          "type": "number"
                        },
                        "new_ids": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MenuLibrary.updateSluMenuLibrary"
      }
    },
    "/v3/special_dishes/{id}/{string_id}": {
      "delete": {
        "x-controller-name": "SpecialDishsController",
        "x-operation-name": "deleteSpecialDishs",
        "tags": [
          "SpecialDishsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SpecialDishsController.deleteSpecialDishs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "number"
            },
            "name": "id",
            "required": true
          },
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "SpecialDishsController.deleteSpecialDishs"
      }
    },
    "/v3/special_dishes/{string_id}": {
      "post": {
        "x-controller-name": "SpecialDishsController",
        "x-operation-name": "createSpecialDishs",
        "tags": [
          "SpecialDishsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SpecialDishsController.createSpecialDishs"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "menu_item_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SpecialDishsController.createSpecialDishs"
      }
    },
    "/v3/table/batch/{string_id}": {
      "post": {
        "x-controller-name": "TableController",
        "x-operation-name": "add",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.add"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "begin_id": {
                    "type": "number"
                  },
                  "count": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 100
                  },
                  "seat_num": {
                    "type": "number",
                    "default": 8
                  },
                  "table_status": {
                    "type": "number",
                    "default": 0
                  },
                  "cor_status": {
                    "type": "number",
                    "default": 1
                  },
                  "rvc_center_id": {
                    "type": "number"
                  },
                  "floor": {
                    "type": "number",
                    "default": 1
                  }
                },
                "required": [
                  "count",
                  "rvc_center_id"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TableController.add"
      }
    },
    "/v3/table/excel/{string_id}": {
      "post": {
        "x-controller-name": "TableController",
        "x-operation-name": "excel",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.excel"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "rvc_center_id": {
                          "type": "number"
                        },
                        "rvc_center_name": {
                          "type": "string"
                        },
                        "tables": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "cor_status": {
                                "type": "number"
                              },
                              "floor": {
                                "type": "number"
                              },
                              "rvc_center_id": {
                                "type": "number"
                              },
                              "seat_num": {
                                "type": "number"
                              },
                              "table_id": {
                                "type": "number"
                              },
                              "table_name": {
                                "type": "string"
                              },
                              "table_status": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "required": [
                  "data"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TableController.excel"
      }
    },
    "/v3/table/sort/{string_id}": {
      "patch": {
        "x-controller-name": "TableController",
        "x-operation-name": "sort",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.sort"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "origin_sort": {
                    "type": "number"
                  },
                  "target_sort": {
                    "type": "number"
                  }
                },
                "required": [
                  "origin_sort",
                  "target_sort"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TableController.sort"
      }
    },
    "/v3/table/{string_id}": {
      "delete": {
        "x-controller-name": "TableController",
        "x-operation-name": "del",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.del"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TableController.del"
      }
    },
    "/v3/table_plugin/{string_id}": {
      "post": {
        "x-controller-name": "TableController",
        "x-operation-name": "addTale",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.addTale"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "cor_status": {
                    "type": "number"
                  },
                  "rvc_center_id": {
                    "type": "number"
                  },
                  "seat_num": {
                    "type": "number"
                  },
                  "subscript": {
                    "type": "number"
                  },
                  "table_name": {
                    "type": "string"
                  },
                  "table_status": {
                    "type": "number"
                  }
                },
                "required": [
                  "table_name",
                  "seat_num"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TableController.addTale"
      }
    },
    "/v3/table_rvc_center/{string_id}": {
      "patch": {
        "x-controller-name": "TableController",
        "x-operation-name": "MoveRegion",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.MoveRegion"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "rvc_center_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "ids",
                  "rvc_center_id"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TableController.MoveRegion"
      }
    },
    "/v3/tables/{id}/{string_id}": {
      "patch": {
        "x-controller-name": "TableController",
        "x-operation-name": "update",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.update"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "seat_num": {
                    "type": "number"
                  },
                  "table_name": {
                    "type": "string"
                  },
                  "table_status": {
                    "type": "number"
                  }
                },
                "required": [
                  "table_name",
                  "seat_num",
                  "table_status"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "TableController.update"
      }
    },
    "/v3/tables/{string_id}": {
      "get": {
        "x-controller-name": "TableController",
        "x-operation-name": "get",
        "tags": [
          "TableController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TableController.get"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "with_section",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "with_section",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "section_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "menu_id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "is_parties",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_time_period",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_time_period",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "TableController.get"
      }
    },
    "/v3/tax/{string_id}/by/{id}": {
      "get": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "taxbayid",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.taxbayid"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TaxGroupController.taxbayid"
      }
    },
    "/v3/tax/{string_id}/{id}": {
      "patch": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "update",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.update"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tax_name": {
                    "type": "string"
                  },
                  "display_name": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "TaxGroupController.update"
      }
    },
    "/v3/tax/{string_id}": {
      "get": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "getall",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.getall"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "tax_group",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "TaxGroupController.getall"
      },
      "delete": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "delete",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.delete"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TaxGroupController.delete"
      }
    },
    "/v3/tax_group/{id}/tax/{string_id}": {
      "post": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "create",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.create"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tax_id": {
                    "type": "number"
                  },
                  "tax_name": {
                    "type": "string"
                  },
                  "display_name": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  }
                },
                "required": [
                  "tax_id",
                  "tax_name",
                  "amount"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "TaxGroupController.create"
      }
    },
    "/v3/tax_group/{string_id}/{id}": {
      "patch": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "path",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.path"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tax_group_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "tax_group_name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "TaxGroupController.path"
      }
    },
    "/v3/tax_group/{string_id}": {
      "post": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "add",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.add"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tax_group_id": {
                    "type": "number"
                  },
                  "tax_group_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "tax_group_id",
                  "tax_group_name"
                ],
                "additionalProperties": false
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TaxGroupController.add"
      },
      "get": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "get",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.get"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "TaxGroupController.get"
      },
      "delete": {
        "x-controller-name": "TaxGroupController",
        "x-operation-name": "del",
        "tags": [
          "TaxGroupController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TaxGroupController.del"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "string_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TaxGroupController.del"
      }
    },
    "/v3/warrants/{string_id}": {
      "get": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "getWarrants",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SettingsController.getWarrants"
          }
        },
        "parameters": [
          {
            "in": "path",
            "schema": {
              "type": "string"
            },
            "name": "string_id",
            "required": true
          }
        ],
        "operationId": "SettingsController.getWarrants"
      }
    }
  },
  "servers": [
    {
      "url": "https://dambuster-dev-dynamic-api.evophotic.com"
    }
  ],
  "components": {
    "schemas": {
      "Vcode": {
        "title": "Vcode",
        "properties": {
          "_id": {
            "type": "string"
          },
          "expired_at": {
            "type": "string",
            "format": "date-time"
          },
          "value": {
            "type": "string",
            "maxLength": 6,
            "minLength": 6
          },
          "type": {
            "type": "string",
            "enum": [
              "SIGN_UP_BY_PHONE",
              "SIGN_UP_BY_EMAIL",
              "SIGN_IN_BY_PHONE",
              "SIGN_IN_BY_EMAIL",
              "RESET_PASSWORD_BY_PHONE",
              "RESET_PASSWORD_BY_EMAIL",
              "BIND_PHONE",
              "BIND_EMAIL"
            ]
          },
          "detail": {
            "type": "string"
          },
          "is_pass": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RecordObject": {
        "title": "RecordObject",
        "properties": {
          "_id": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "details": {
            "type": "object"
          },
          "caller_id": {
            "type": "string"
          },
          "caller_details": {
            "type": "object"
          },
          "callee_id": {
            "type": "string"
          },
          "callee_details": {
            "type": "object"
          }
        },
        "additionalProperties": false
      },
      "Admin": {
        "title": "Admin",
        "properties": {
          "_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "phone": {
            "type": "string",
            "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
          },
          "description": {
            "type": "string"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "gender": {
            "type": "string",
            "enum": [
              "0",
              "1",
              "2"
            ]
          },
          "avatar": {
            "type": "object"
          },
          "password": {
            "type": "string",
            "pattern": "^.{6,20}$"
          },
          "vcodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Vcode"
            }
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          },
          "credentials": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "isv_client_id": {
            "type": "string"
          },
          "isv_client_secret": {
            "type": "string"
          },
          "isv_fee": {
            "type": "number"
          },
          "databubble_account": {
            "type": "string"
          },
          "databubble_password": {
            "type": "string"
          },
          "databubble_prefix": {
            "type": "string"
          },
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "type": "string"
          },
          "Deliverect_token": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          },
          "qodeup_username": {
            "type": "string"
          },
          "qodeup_password": {
            "type": "string"
          },
          "qodeup_apiKey": {
            "type": "string"
          },
          "edit_password_time": {
            "type": "string",
            "format": "date-time"
          },
          "fiskaly_organization_id": {
            "type": "string"
          },
          "fiskaly_organization_key": {
            "type": "string"
          },
          "fiskaly_organization_secret": {
            "type": "string"
          },
          "fiskaly_token": {
            "type": "string"
          },
          "fiskaly_token_expires": {
            "type": "string"
          },
          "fiskaly_live_organization_id": {
            "type": "string"
          },
          "fiskaly_live_organization_key": {
            "type": "string"
          },
          "fiskaly_live_organization_secret": {
            "type": "string"
          },
          "fiskaly_live_token": {
            "type": "string"
          },
          "fiskaly_live_token_expires": {
            "type": "string"
          },
          "fiskaly_is_live": {
            "type": "boolean"
          },
          "fiskaly_extend_declaration_url": {
            "type": "string"
          },
          "shark_password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ObjectID": {},
      "APP": {
        "title": "APP",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "type": {
            "type": "string"
          },
          "short_introduction": {
            "type": "string"
          },
          "full_introduction": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          }
        },
        "additionalProperties": false
      },
      "AuthGroup": {
        "title": "AuthGroup",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "creation_date": {
            "type": "string",
            "format": "date-time"
          },
          "auth_cwa_0": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_1": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_2": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_3": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_4": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_5": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_6": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_7": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_8": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_9": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_10": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_11": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_12": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_13": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_rwa_0": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_rwa_1": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_rwa_2": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_rwa_3": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_shell_1": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          }
        },
        "additionalProperties": false
      },
      "AuthGroupPartialExcluding__id-creation_date_": {
        "title": "AuthGroupPartialExcluding__id-creation_date_",
        "description": "(Schema options: { partial: true, exclude: [ '_id', 'creation_date' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "auth_cwa_0": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_1": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_2": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_3": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_4": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_cwa_5": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_6": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_7": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_8": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_9": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_10": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_11": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_12": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_cwa_13": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_rwa_0": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_rwa_1": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_rwa_2": {
            "type": "number",
            "enum": [
              0,
              1
            ],
            "default": 0
          },
          "auth_rwa_3": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ],
            "default": 0
          },
          "auth_shell_1": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          }
        },
        "additionalProperties": false
      },
      "Address": {
        "title": "Address",
        "properties": {
          "_id": {
            "type": "string"
          },
          "default": {
            "type": "boolean"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "phone": {
            "type": "string",
            "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
          },
          "phone_prefix": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "home_number": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "details": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "google_map_place_id": {
            "type": "string"
          },
          "google_map_formatted_address": {
            "type": "string"
          },
          "google_map_lat": {
            "type": "string"
          },
          "google_map_lng": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Staff": {
        "title": "Staff",
        "properties": {
          "_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "phone_prefix": {
            "type": "string"
          },
          "phone": {
            "type": "string",
            "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
          },
          "email": {
            "type": "string",
            "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
          },
          "description": {
            "type": "string"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "gender": {
            "type": "string",
            "enum": [
              "0",
              "1",
              "2"
            ]
          },
          "avatar": {
            "type": "string"
          },
          "contact_qr_url": {
            "type": "string"
          },
          "birth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address",
              "type": "array",
              "items": {
                "default": {
                  "type": "boolean"
                },
                "first_name": {
                  "type": "string"
                },
                "last_name": {
                  "type": "string"
                },
                "phone": {
                  "type": "string",
                  "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
                },
                "country": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "city": {
                  "type": "string"
                },
                "region": {
                  "type": "string"
                },
                "street": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              }
            }
          },
          "responsible_group": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "responsible_dealer": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "responsible_restaurant": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "belonged_restaurant": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "belonged_dealer": {
            "type": "string"
          },
          "belonged_group": {
            "type": "string"
          },
          "auth_group_id": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "CHEF",
              "WAITER",
              "CASHIER",
              "ADMIN"
            ]
          },
          "password": {
            "type": "string",
            "pattern": "^.{6,20}$"
          },
          "vcodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Vcode"
            }
          },
          "is_verified": {
            "type": "boolean"
          },
          "auth_cwa_0": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "auth_cwa_1": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "auth_cwa_2": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "auth_cwa_3": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_4": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "auth_cwa_5": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_6": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_7": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_8": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_9": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_10": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_11": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_12": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_cwa_13": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_rwa_0": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "auth_rwa_1": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "auth_rwa_2": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "auth_rwa_3": {
            "type": "number",
            "enum": [
              0,
              1,
              2
            ]
          },
          "auth_shell_1": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          },
          "create_date": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "deleted_date": {
            "type": "string",
            "format": "date-time"
          },
          "is_automatic_login": {
            "type": "boolean"
          },
          "is_edit_pass": {
            "type": "boolean"
          },
          "credentials": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "edit_password_time": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Reseller": {
        "title": "Reseller",
        "properties": {
          "_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "phone_prefix": {
            "type": "string"
          },
          "phone": {
            "type": "string",
            "pattern": "^[0-9+]([-]?[0-9]){5,20}$"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "gender": {
            "type": "string",
            "enum": [
              "0",
              "1",
              "2"
            ]
          },
          "birth": {
            "type": "string",
            "format": "date-time"
          },
          "password": {
            "type": "string",
            "pattern": "^.{6,20}$"
          },
          "local": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "home_number": {
            "type": "string"
          },
          "responsible_group": {
            "type": "string"
          },
          "responsible_restaurant": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "create_date": {
            "type": "string",
            "format": "date-time"
          },
          "balance": {
            "type": "number"
          },
          "reseller_discount": {
            "type": "number"
          },
          "reg_name": {
            "type": "string"
          },
          "reg_local": {
            "type": "string"
          },
          "reg_city": {
            "type": "string"
          },
          "reg_state": {
            "type": "string"
          },
          "reg_country": {
            "type": "string"
          },
          "reg_postcode": {
            "type": "string"
          },
          "reg_vat_number": {
            "type": "string"
          },
          "reg_des_code": {
            "type": "string"
          },
          "reg_pec": {
            "type": "string"
          },
          "reg_fiscal_code": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "deleted_date": {
            "type": "string",
            "format": "date-time"
          },
          "resWarrant": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "resWarrantCollection": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "groupWarrant": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "groupWarrantCollection": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "avatar": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Date": {},
      "DataAnalysis": {
        "title": "DataAnalysis",
        "properties": {
          "_id": {
            "type": "string"
          },
          "res_string_id": {
            "type": "string"
          },
          "current_data": {
            "type": "object"
          },
          "history_period": {
            "type": "object"
          },
          "history_cancelled_period": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "history_restaurant_dish": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "res_is_deleted": {
            "type": "boolean"
          },
          "last_updated_date": {
            "type": "string",
            "format": "date-time"
          },
          "history_cancelled_dish": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "critical_operation": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "history_efficiency_period": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "history_restaurant_service": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "ShopCoinOperation": {
        "title": "ShopCoinOperation",
        "properties": {
          "_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "coins": {
            "type": "number"
          },
          "status": {
            "type": "boolean"
          },
          "is_delete": {
            "type": "boolean"
          },
          "create_date": {
            "type": "string",
            "format": "date-time"
          },
          "operator_id": {
            "type": "string"
          },
          "operator_name": {
            "type": "string"
          },
          "operator_nickname": {
            "type": "string"
          },
          "operator_group_id": {
            "type": "string"
          },
          "operator_group_nickname": {
            "type": "string"
          },
          "used_wallet_belonged_object_type": {
            "type": "string"
          },
          "used_wallet_belonged_object_id": {
            "type": "string"
          },
          "used_wallet_belonged_object_name": {
            "type": "string"
          },
          "target_wallet_belonged_company_type": {
            "type": "string"
          },
          "target_wallet_belonged_company_id": {
            "type": "string"
          },
          "target_wallet_belonged_company_name": {
            "type": "string"
          },
          "order_id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PicVersion": {
        "title": "PicVersion",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "update_date": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Dealer": {
        "title": "Dealer",
        "properties": {
          "_id": {
            "type": "string"
          },
          "string_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "status": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "label": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "local": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "pattern": "^$|^[A-Za-z0-9]+([_.][A-Za-z0-9]+)*@([A-Za-z0-9-]+.)+[A-Za-z]{2,6}$"
          },
          "tel": {
            "type": "string"
          },
          "wallet_coins": {
            "type": "number"
          },
          "wallet_histories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShopCoinOperation"
            }
          },
          "logo": {
            "type": "object"
          },
          "album": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PicVersion"
            }
          },
          "supervisor": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "belonged_group": {
            "type": "string"
          },
          "reg_name": {
            "type": "string"
          },
          "reg_local": {
            "type": "string"
          },
          "reg_city": {
            "type": "string"
          },
          "reg_state": {
            "type": "string"
          },
          "reg_country": {
            "type": "string"
          },
          "reg_postcode": {
            "type": "string"
          },
          "reg_vat_number": {
            "type": "string"
          },
          "reg_des_code": {
            "type": "string"
          },
          "reg_pec": {
            "type": "string"
          },
          "reg_fiscal_code": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          },
          "is_deleted": {
            "type": "boolean"
          },
          "deleted_date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Deliverect": {
        "title": "Deliverect",
        "properties": {
          "_id": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          },
          "locationId": {
            "type": "string"
          },
          "externalLocationId": {
            "type": "string"
          },
          "locationName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Group": {
        "title": "Group",
        "properties": {
          "_id": {
            "type": "string"
          },
          "string_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "status": {
            "type": "boolean"
          },
          "owned_restaurant": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "owned_staff": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "supervisor": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "owned_dealer": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "label": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "local": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone_prefix": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "logo": {
            "type": "object"
          },
          "album": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PicVersion"
            }
          },
          "home_number": {
            "type": "string"
          },
          "reg_name": {
            "type": "string"
          },
          "reg_local": {
            "type": "string"
          },
          "reg_city": {
            "type": "string"
          },
          "reg_state": {
            "type": "string"
          },
          "reg_country": {
            "type": "string"
          },
          "reg_postcode": {
            "type": "string"
          },
          "reg_vat_number": {
            "type": "string"
          },
          "reg_des_code": {
            "type": "string"
          },
          "reg_pec": {
            "type": "string"
          },
          "reg_fiscal_code": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          },
          "is_deleted": {
            "type": "boolean"
          },
          "deleted_date": {
            "type": "string",
            "format": "date-time"
          },
          "wallet_coins": {
            "type": "number"
          },
          "wallet_histories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShopCoinOperation"
            }
          },
          "warrants": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "belonged_reseller": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GybDevice": {
        "title": "GybDevice",
        "properties": {
          "_id": {
            "type": "string"
          },
          "dealer": {
            "type": "string"
          },
          "gyb_restaurant": {
            "type": "string"
          },
          "restaurant_id": {
            "type": "string"
          },
          "restaurant_string_id": {
            "type": "string"
          },
          "location_id": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "bank": {
            "type": "string"
          },
          "device_code": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "license_code": {
            "type": "string"
          },
          "access_token": {
            "type": "string"
          },
          "refresh_token": {
            "type": "string"
          },
          "is_default": {
            "type": "number"
          },
          "refresh": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "OrderItem": {
        "title": "OrderItem",
        "properties": {
          "_id": {
            "type": "string"
          },
          "belonged_item_id": {
            "type": "string"
          },
          "num": {
            "type": "number"
          },
          "type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "is_on_sold": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "currency_type": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "discount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "origin": {
            "type": "object"
          },
          "creation_time": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ShopOrder": {
        "title": "ShopOrder",
        "properties": {
          "_id": {
            "type": "string"
          },
          "belonged_restaurant_string_id": {
            "type": "string"
          },
          "belonged_coin_history_id": {
            "type": "string"
          },
          "pay_status": {
            "type": "string"
          },
          "order_status": {
            "type": "string"
          },
          "pay_way": {
            "type": "string"
          },
          "pay_currency": {
            "type": "string"
          },
          "pay_number": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItem"
            }
          },
          "type_2paynow": {
            "type": "string"
          },
          "used_wallet_belonged_object_id": {
            "type": "string"
          },
          "used_wallet_belonged_object_type": {
            "type": "string"
          },
          "target_wallet_belonged_company_id": {
            "type": "string"
          },
          "target_wallet_belonged_company_type": {
            "type": "string"
          },
          "goods_address": {
            "type": "object"
          },
          "service_address": {
            "type": "object"
          },
          "remark": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "IncomingMessage": {},
      "CondimentGroup": {
        "title": "CondimentGroup",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
          },
          "print_name": {
            "type": "string",
            "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
          },
          "staff_name": {
            "type": "string",
            "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
          }
        },
        "additionalProperties": false
      },
      "Condiment": {
        "title": "Condiment",
        "properties": {
          "allergen": {
            "type": "string"
          },
          "item_description": {
            "type": "string"
          },
          "item_id": {
            "type": "number"
          },
          "item_name1": {
            "type": "string"
          },
          "item_name2": {
            "type": "string"
          },
          "not_joining_global_limit": {
            "type": "number"
          },
          "price_1": {
            "type": "number"
          },
          "other_detail_info": {
            "type": "string"
          },
          "tax_group": {
            "type": "number"
          },
          "item_type": {
            "type": "number"
          },
          "nlu": {
            "type": "string"
          },
          "unit_1": {
            "type": "string"
          },
          "scomdiment_groups_id": {
            "type": "number"
          },
          "comdiment_groups_name": {
            "type": "string"
          },
          "major_group": {
            "type": "number"
          },
          "family_group": {
            "type": "number"
          },
          "takeout_price_1": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "DishIconDescription": {
        "title": "DishIconDescription",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
          },
          "type": {
            "type": "string",
            "enum": [
              "ALLERGEN",
              "CHARACTERISTIC"
            ]
          },
          "is_default": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "image": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DishIconDescriptionString": {
        "title": "DishIconDescriptionString",
        "properties": {
          "id": {
            "type": "number"
          },
          "belonged_id": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "0"
            ]
          },
          "value": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DishSetArea": {
        "title": "DishSetArea",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
          },
          "print_name": {
            "type": "string",
            "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
          },
          "staff_name": {
            "type": "string",
            "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
          },
          "minimum_num": {
            "type": "number"
          },
          "maximum_num": {
            "type": "number"
          },
          "price": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "DishSetAreaDetail": {
        "title": "DishSetAreaDetail",
        "properties": {
          "id": {
            "type": "number"
          },
          "item_id": {
            "type": "number"
          },
          "area_id": {
            "type": "number"
          },
          "set_price": {
            "type": "number"
          },
          "repeatable": {
            "type": "string"
          },
          "required": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FirstMenu": {
        "title": "FirstMenu",
        "properties": {
          "main_group_id": {
            "type": "number"
          },
          "main_group_name": {
            "type": "string"
          },
          "menu_item_slu": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "main_group_index": {
            "type": "number"
          },
          "value": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "set_item_main": {
            "type": "string"
          },
          "exact_search_rules": {
            "type": "number"
          },
          "is_selected": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "Message": {
        "title": "Message",
        "properties": {
          "id": {
            "type": "number"
          },
          "type": {
            "type": "string"
          },
          "name1": {
            "type": "string"
          },
          "name2": {
            "type": "string"
          },
          "content1": {
            "type": "string"
          },
          "content2": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SecondMenu": {
        "title": "SecondMenu",
        "properties": {
          "dmi_slu_id": {
            "type": "number"
          },
          "dmi_slu_name": {
            "type": "string"
          },
          "menu_item": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MenuDish"
            }
          },
          "not_joining_global_limit": {
            "type": "number"
          },
          "category_order_limit": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "Service": {
        "title": "Service",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "pattern": "^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$"
          },
          "staff_name": {
            "type": "string",
            "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
          },
          "print_name": {
            "type": "string",
            "pattern": "(^([A-Za-z0-9一-龥]+\\s?)*[A-Za-z0-9一-龥]$)|(^$)"
          },
          "price": {
            "type": "number"
          },
          "tax_group_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "Log": {
        "title": "Log",
        "properties": {
          "_id": {
            "type": "string"
          },
          "create_time": {
            "type": "string"
          },
          "project": {
            "type": "string"
          },
          "classification": {
            "type": "string"
          },
          "device_code": {
            "type": "string"
          },
          "sign_account": {
            "type": "string"
          },
          "sign_account_name": {
            "type": "string"
          },
          "level": {
            "type": "string",
            "enum": [
              "info",
              "warning",
              "error"
            ]
          },
          "content": {
            "type": "string"
          },
          "help_data": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NPrinter": {
        "title": "NPrinter",
        "properties": {
          "_id": {
            "type": "string"
          },
          "adaptation_code": {
            "type": "string"
          },
          "printer_type": {
            "type": "string",
            "enum": [
              "1",
              "2"
            ]
          },
          "network_type": {
            "type": "string",
            "enum": [
              "1",
              "2"
            ]
          },
          "printer_trademark": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ]
          },
          "printer_connection_type": {
            "type": "string",
            "enum": [
              "1",
              "2"
            ]
          },
          "default": {
            "type": "string",
            "enum": [
              "0",
              "1"
            ]
          },
          "name": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "port": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "device_ip": {
            "type": "string"
          },
          "qz_version": {
            "type": "string"
          },
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "type": "string"
          },
          "client_token": {
            "type": "string"
          },
          "client_token_date": {
            "type": "string",
            "format": "date-time"
          },
          "client_machine_code": {
            "type": "string"
          },
          "owned_group": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/undefined"
            }
          }
        },
        "additionalProperties": false
      },
      "NPrinterGroup": {
        "title": "NPrinterGroup",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "owned_printer": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "Program": {
        "title": "Program",
        "properties": {
          "_id": {
            "type": "string"
          },
          "string_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "grants": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "redirect_uris": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "access_token_lifetime": {
            "type": "number"
          },
          "refresh_token_lifetime": {
            "type": "number"
          },
          "status": {
            "type": "boolean"
          },
          "secret": {
            "type": "string"
          },
          "belonged": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          }
        },
        "additionalProperties": false
      },
      "SecretKey": {
        "title": "SecretKey",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "creation_time": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "LoginLogs": {
        "title": "LoginLogs",
        "properties": {
          "_id": {
            "type": "string"
          },
          "string_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string"
          },
          "group_string_id": {
            "type": "string"
          },
          "group_name": {
            "type": "string"
          },
          "staff_id": {
            "type": "string"
          },
          "staff_name": {
            "type": "string"
          },
          "project": {
            "type": "string",
            "enum": [
              "RWA2",
              "COP2",
              "CWA2",
              "MOP2",
              "KWA2",
              "RBP2",
              "QOP2",
              "Ecco POS"
            ]
          },
          "device_number": {
            "type": "string"
          },
          "device_type": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "subitems_version": {
            "type": "string"
          },
          "subitems_ip": {
            "type": "string"
          },
          "shark_version": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "detail": {
            "type": "object"
          },
          "reseller_id": {
            "type": "string"
          },
          "create_date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Restaurant": {
        "title": "Restaurant",
        "properties": {
          "_id": {
            "type": "string"
          },
          "string_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string",
            "pattern": "^.{1,120}$"
          },
          "status": {
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "label": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "local": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "teel_prefix": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "album": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PicVersion"
            }
          },
          "logo": {
            "type": "string"
          },
          "default_pic": {
            "type": "object"
          },
          "home_number": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "restaurant_version": {
            "type": "string",
            "enum": [
              "2.0",
              "2.5"
            ]
          },
          "database_host": {
            "type": "string"
          },
          "database_port": {},
          "head": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "port": {
            "type": "string"
          },
          "supervisor": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "belonged_group": {
            "type": "string"
          },
          "owned_staff": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "reg_name": {
            "type": "string"
          },
          "reg_local": {
            "type": "string"
          },
          "reg_city": {
            "type": "string"
          },
          "reg_state": {
            "type": "string"
          },
          "reg_country": {
            "type": "string"
          },
          "reg_postcode": {
            "type": "string"
          },
          "reg_vat_number": {
            "type": "string"
          },
          "reg_des_code": {
            "type": "string"
          },
          "reg_pec": {
            "type": "string"
          },
          "reg_fiscal_code": {
            "type": "string"
          },
          "reg_street_number": {
            "type": "string"
          },
          "reg_territory": {
            "type": "string"
          },
          "reg_municipality": {
            "type": "string"
          },
          "secret_key": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "private_key": {
            "type": "string"
          },
          "warrants": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "wallet_coins": {
            "type": "number"
          },
          "wallet_histories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShopCoinOperation"
            }
          },
          "orders": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "public_pem": {
            "type": "string"
          },
          "private_pem": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          },
          "is_deleted": {
            "type": "boolean"
          },
          "deleted_date": {
            "type": "string",
            "format": "date-time"
          },
          "Aruba_username": {
            "type": "string"
          },
          "Aruba_password": {
            "type": "string"
          },
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "type": "string"
          },
          "deliverect_register": {
            "type": "string"
          },
          "Deliverect_info": {
            "type": "object"
          },
          "Deliverect_token": {
            "type": "string"
          },
          "timestamp": {
            "type": "number"
          },
          "authorization_type": {
            "type": "string",
            "enum": [
              "Mod.1",
              "SaaS",
              "Mix Mode"
            ]
          },
          "discount_info": {
            "type": "string"
          },
          "customer_remark": {
            "type": "string"
          },
          "business_labels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isv_fee": {
            "type": "number"
          },
          "belonged_reseller": {
            "type": "string"
          },
          "setting_restaurant_operating_status": {
            "type": "string"
          },
          "ex_string_id": {
            "type": "string"
          },
          "restaurant_contact_person": {
            "type": "string"
          },
          "discount_module": {
            "type": "string"
          },
          "discount_annual": {
            "type": "string"
          },
          "accountant_name": {
            "type": "string"
          },
          "accountant_phone": {
            "type": "string"
          },
          "accountant_phone_prefix": {
            "type": "string"
          },
          "gpt_key": {
            "type": "string"
          },
          "use_gpt_key_limits": {
            "type": "number"
          },
          "gpt_key_update_time": {
            "type": "string",
            "format": "date-time"
          },
          "activation_time": {
            "type": "string",
            "format": "date-time"
          },
          "fiskaly_manage_organization_id": {
            "type": "string"
          },
          "fiskaly_manage_organization_key": {
            "type": "string"
          },
          "fiskaly_manage_organization_secret": {
            "type": "string"
          },
          "fiskaly_manage_organization_user_id": {
            "type": "string"
          },
          "fiskaly_signer_id": {
            "type": "string"
          },
          "fiskaly_serial_number": {
            "type": "string"
          },
          "fiskaly_signer_status": {
            "type": "string"
          },
          "fiskaly_environment": {
            "type": "boolean"
          },
          "restaurant_agreement": {
            "type": "string"
          },
          "restaurant_unsigned_agreement": {
            "type": "string"
          },
          "fiskaly_client_info": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "fiskaly_upload_agreemen": {
            "type": "string"
          },
          "taxpayer_status": {
            "type": "boolean"
          },
          "corp_name": {
            "type": "string"
          },
          "corp_vat_number": {
            "type": "string"
          },
          "corp_local": {
            "type": "string"
          },
          "corp_postcode": {
            "type": "string"
          },
          "corp_city": {
            "type": "string"
          },
          "corp_state": {
            "type": "string"
          },
          "corp_country": {
            "type": "string"
          },
          "corp_municipality": {
            "type": "string"
          },
          "corp_street_number": {
            "type": "string"
          },
          "cloud_analysis_origin": {
            "type": "string",
            "enum": [
              "EFR",
              "ECCO"
            ]
          },
          "dine_in_max_discount_enabled": {
            "type": "boolean"
          },
          "dine_in_max_discount_mode": {
            "type": "string"
          },
          "dine_in_max_discount_amount": {
            "type": "number"
          },
          "dine_in_max_discount_percent": {
            "type": "number"
          },
          "dine_in_max_discount_trigger_logic": {
            "type": "string"
          },
          "dine_in_max_refund_item_count": {
            "type": "number"
          },
          "dine_in_max_refund_amount": {
            "type": "number"
          },
          "dine_in_abnormal_item_count_threshold": {
            "type": "number"
          },
          "dine_in_max_dining_duration_minutes": {
            "type": "number"
          },
          "dine_in_order_close_check_window_number": {
            "type": "number"
          },
          "dine_in_order_close_interval_minutes": {
            "type": "number"
          },
          "delivery_max_discount_enabled": {
            "type": "boolean"
          },
          "delivery_max_discount_mode": {
            "type": "string"
          },
          "delivery_max_discount_amount": {
            "type": "number"
          },
          "delivery_max_discount_percent": {
            "type": "number"
          },
          "delivery_max_discount_trigger_logic": {
            "type": "string"
          },
          "delivery_order_close_check_window_seconds": {
            "type": "number"
          },
          "delivery_order_close_check_window_number": {
            "type": "number"
          },
          "cancel_order_risk_alert_enabled": {
            "type": "boolean"
          },
          "risk_notify_whatsapp_enabled": {
            "type": "boolean"
          },
          "risk_notify_whatsapp_prefix": {
            "type": "string"
          },
          "risk_notify_whatsapp_receiver": {
            "type": "string"
          },
          "risk_notify_email_enabled": {
            "type": "boolean"
          },
          "risk_notify_email_receiver": {
            "type": "string"
          },
          "risk_notify_email_send_mode": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Role": {
        "title": "Role",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role_description": {
            "type": "string"
          },
          "permission_description": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          }
        },
        "additionalProperties": false
      },
      "Rule": {
        "title": "Rule",
        "properties": {
          "_id": {
            "type": "string"
          },
          "code": {
            "type": "string",
            "enum": [
              "R1",
              "R2",
              "R3",
              "R4",
              "R5",
              "R6",
              "R7",
              "R8",
              "R9",
              "R10"
            ]
          },
          "value": {
            "type": "object"
          }
        },
        "additionalProperties": false
      },
      "BarginPriceItem": {
        "title": "BarginPriceItem",
        "properties": {
          "bargain_item_id": {
            "type": "number"
          },
          "bargain_item_number": {
            "type": "number"
          },
          "bargain_item_name": {
            "type": "string"
          },
          "bargain_first_menu_name": {
            "type": "string"
          },
          "bargain_second_menu_name": {
            "type": "string"
          },
          "bargain_status": {
            "type": "number"
          },
          "bargain_stype": {
            "type": "number"
          },
          "bargain_num_cur": {
            "type": "number"
          },
          "bargain_num": {
            "type": "number"
          },
          "bargain_price": {
            "type": "number"
          },
          "bargain_vip": {
            "type": "number"
          },
          "bargain_start_date": {
            "type": "number"
          },
          "bargain_end_date": {
            "type": "number"
          },
          "bargain_start_time": {
            "type": "number"
          },
          "bargain_end_time": {
            "type": "number"
          },
          "is_every_day": {
            "type": "number"
          },
          "now_use_date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CourseDetail": {
        "title": "CourseDetail",
        "properties": {
          "detail_id": {
            "type": "number"
          },
          "menu_item_id": {
            "type": "number"
          },
          "item_course_name": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "num": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CourseGroup": {
        "title": "CourseGroup",
        "properties": {
          "course_group_name": {
            "type": "string"
          },
          "menu_item_id": {
            "type": "number"
          },
          "is_must": {
            "type": "number"
          },
          "choose_num": {
            "type": "number"
          },
          "slu_id": {
            "type": "number"
          },
          "course_detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CourseDetail"
            }
          },
          "is_full_select": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "PrintDevice": {
        "title": "PrintDevice",
        "additionalProperties": false
      },
      "MenuDish": {
        "title": "MenuDish",
        "properties": {
          "slu_id": {
            "type": "number"
          },
          "bargain_stype": {
            "type": "number"
          },
          "discount_itemizer": {
            "type": "number"
          },
          "dmi_slu_id": {
            "type": "number"
          },
          "item_id": {
            "type": "number"
          },
          "item_name1": {
            "type": "string"
          },
          "not_joining_global_limit": {
            "type": "number"
          },
          "print_device": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrintDevice"
            }
          },
          "quantity": {
            "type": "number"
          },
          "rule_lnr_enable": {
            "type": "number"
          },
          "rule_lnr_limit_enable": {
            "type": "number"
          },
          "rule_lnr_max_num_with_customer": {
            "type": "number"
          },
          "service_itemizer": {
            "type": "number"
          },
          "weight_entry_required": {
            "type": "number"
          },
          "foodImage": {
            "type": "string"
          },
          "bigFoodImage": {
            "type": "string"
          },
          "condiments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Condiment"
            }
          },
          "item_type": {
            "type": "number"
          },
          "customers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "familyDishTotalCount": {
            "type": "number"
          },
          "origin_id": {
            "type": "string"
          },
          "category_order_limit": {
            "type": "number"
          },
          "rules_ignore_the_display": {
            "type": "number"
          },
          "tax_group": {
            "type": "number"
          },
          "scomdiment_groups_id": {
            "type": "number"
          },
          "comdiment_groups_name": {
            "type": "string"
          },
          "unit_2": {
            "type": "string"
          },
          "price_2": {
            "type": "number"
          },
          "takeout_price_2": {
            "type": "number"
          },
          "unit_3": {
            "type": "string"
          },
          "price_3": {
            "type": "number"
          },
          "takeout_price_3": {
            "type": "number"
          },
          "unit_4": {
            "type": "string"
          },
          "price_4": {
            "type": "number"
          },
          "takeout_price_4": {
            "type": "number"
          },
          "unit_5": {
            "type": "string"
          },
          "price_5": {
            "type": "number"
          },
          "takeout_price_5": {
            "type": "number"
          },
          "menu_item_id": {
            "type": "number"
          },
          "id": {
            "type": "number"
          },
          "major_group": {
            "type": "number"
          },
          "family_group": {
            "type": "number"
          },
          "slu_ids_arr": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "item_ids": {
            "type": "string"
          },
          "class_id": {
            "type": "number"
          },
          "main_group_id": {
            "type": "number"
          },
          "belong_menu_name": {
            "type": "string"
          },
          "rule_table_max_num": {
            "type": "number"
          },
          "minimum_time": {
            "type": "number"
          },
          "special_attributes": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "ShopFirstMenu": {
        "title": "ShopFirstMenu",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "item_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "is_delete": {
            "type": "boolean"
          },
          "create_time": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Item": {
        "title": "Item",
        "properties": {
          "_id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "SINGLE",
              "MULTIPLE"
            ]
          },
          "name": {
            "type": "string"
          },
          "is_on_sold": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "currency_type": {
            "type": "string",
            "enum": [
              "COIN",
              "AUD",
              "BRL",
              "CAD",
              "CZK",
              "DKK",
              "EUR",
              "HKD",
              "HUF",
              "INR",
              "ILS",
              "JPY",
              "MYR",
              "MXN",
              "TWD",
              "NZD",
              "NOK",
              "PHP",
              "PLN",
              "GBP",
              "RUB",
              "SGD",
              "SEK",
              "CHF",
              "THB",
              "USD"
            ]
          },
          "price": {
            "type": "number"
          },
          "discount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "origin": {
            "type": "object"
          },
          "creation_time": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ShopSecondMenu": {
        "title": "ShopSecondMenu",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "item_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "first_menu_id": {
            "type": "string"
          },
          "is_delete": {
            "type": "boolean"
          },
          "create_time": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Sw2p5SynchronizeTimestamp": {
        "title": "Sw2p5SynchronizeTimestamp",
        "properties": {
          "id": {
            "type": "number"
          },
          "belonged_group_id": {
            "type": "number"
          },
          "belonged_restaurant_id": {
            "type": "number"
          },
          "table_name": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "Sw2SynchronizeTimestamp": {
        "title": "Sw2SynchronizeTimestamp",
        "properties": {
          "id": {
            "type": "number"
          },
          "belonged_group_id": {
            "type": "number"
          },
          "belonged_restaurant_id": {
            "type": "number"
          },
          "table_name": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "VersionControl": {
        "title": "VersionControl",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "token_version": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WarrantI18N": {
        "title": "WarrantI18N",
        "properties": {
          "_id": {
            "type": "string"
          },
          "name": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "description": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "label": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "code": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "project": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Warrant": {
        "title": "Warrant",
        "properties": {
          "_id": {
            "type": "string"
          },
          "project": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "belonged_id": {
            "type": "string"
          },
          "belonged_string_id": {
            "type": "string"
          },
          "activation": {
            "type": "boolean"
          },
          "limit_point": {
            "type": "object"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordObject"
            }
          },
          "creation_time": {
            "type": "string",
            "format": "date-time"
          },
          "is_expired": {
            "type": "boolean"
          },
          "expired_date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "WorkOrder": {
        "title": "WorkOrder",
        "properties": {
          "_id": {
            "type": "string"
          },
          "belonged_group_sid": {
            "type": "string"
          },
          "belonged_company_type": {
            "type": "string"
          },
          "belonged_company_sid": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "contents": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "status": {
            "type": "string"
          },
          "creation_time": {
            "type": "string"
          },
          "is_delete": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    }
  }
}