{
  "openapi": "3.0.0",
  "info": {
    "title": "THAISELECT",
    "version": "1.0.1",
    "description": "Thai Select",
    "contact": {
      "name": "Direk Prama",
      "email": "alek.pr@gmail.com"
    }
  },
  "paths": {
    "/add-fav-ingredient": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "add_fav_ingredient",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "add-fav-ingredient",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Add supermarket favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.add_fav_ingredient"
      }
    },
    "/add-fav-product": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "add_fav_product",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "add-fav-product",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Add product favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.add_fav_product"
      }
    },
    "/add-fav-recipe": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "add_fav_recipe",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "add-fav-supermarket",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Add supermarket favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.add_fav_recipe"
      }
    },
    "/add-fav-restaurant": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "add_fav",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "add-fav-restaurant",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Add restaurant favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.add_fav"
      }
    },
    "/add-fav-supermarket": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "add_fav_supermarket",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "add-fav-supermarket",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Add supermarket favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.add_fav_supermarket"
      }
    },
    "/apply-product/aprovove-product": {
      "post": {
        "x-controller-name": "ApplyProductController",
        "x-operation-name": "approveProduct",
        "tags": [
          "ApplyProductController"
        ],
        "responses": {
          "200": {
            "description": "Member info data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "regCompanyId": {
                    "type": "number"
                  },
                  "regProductItemId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Approve product response"
        },
        "operationId": "ApplyProductController.approveProduct"
      }
    },
    "/apply-product/get-registration-period": {
      "get": {
        "x-controller-name": "ApplyProductController",
        "x-operation-name": "getRegistrationPeriod",
        "tags": [
          "ApplyProductController"
        ],
        "responses": {
          "200": {
            "description": "Product registration period model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProductPreiodWithRelations"
                }
              }
            }
          }
        },
        "operationId": "ApplyProductController.getRegistrationPeriod"
      }
    },
    "/apply-product/login": {
      "post": {
        "x-controller-name": "ApplyProductController",
        "x-operation-name": "login",
        "tags": [
          "ApplyProductController"
        ],
        "responses": {
          "200": {
            "description": "Member info data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "token": {
                      "type": "string"
                    },
                    "memberId": {
                      "type": "number"
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "member": {
                      "$ref": "#/components/schemas/Member"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string",
                    "minLength": 3
                  },
                  "udid": {
                    "type": "string"
                  },
                  "push_token": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of login function",
          "required": true
        },
        "operationId": "ApplyProductController.login"
      }
    },
    "/apply-product/product/{id}": {
      "get": {
        "x-controller-name": "ApplyProductController",
        "x-operation-name": "findApplyListById",
        "tags": [
          "ApplyProductController"
        ],
        "responses": {
          "200": {
            "description": "Territory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProductWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ApplyProductController.findApplyListById"
      }
    },
    "/apply-product/product-list": {
      "get": {
        "x-controller-name": "ApplyProductController",
        "x-operation-name": "findApplyList",
        "tags": [
          "ApplyProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of RegProduct model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ApplyProductController.findApplyList"
      }
    },
    "/apply-product/save-registration-period": {
      "post": {
        "x-controller-name": "ApplyProductController",
        "x-operation-name": "saveRegistrationPeriod",
        "tags": [
          "ApplyProductController"
        ],
        "responses": {
          "200": {
            "description": "Member info data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "startdate": {
                    "type": "string"
                  },
                  "enddate": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Save registration period"
        },
        "operationId": "ApplyProductController.saveRegistrationPeriod"
      }
    },
    "/apply-product/view-product-list": {
      "get": {
        "x-controller-name": "ApplyProductController",
        "x-operation-name": "findApplyList2",
        "tags": [
          "ApplyProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of RegProduct model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ApplyProductController.findApplyList2"
      }
    },
    "/apply-restaurant/apply-score": {
      "post": {
        "x-controller-name": "ApplyRestaurantController",
        "x-operation-name": "applyScore",
        "tags": [
          "ApplyRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Member info data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TerritoryScore"
              }
            }
          }
        },
        "operationId": "ApplyRestaurantController.applyScore"
      }
    },
    "/apply-restaurant/approve-restaurant": {
      "post": {
        "x-controller-name": "ApplyRestaurantController",
        "x-operation-name": "approveRestaurant",
        "tags": [
          "ApplyRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Approve Restaurant",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "regRestaurantId"
                ],
                "properties": {
                  "regRestaurantId": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  },
                  "registerType": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "The input for approve restaurant",
          "required": true
        },
        "operationId": "ApplyRestaurantController.approveRestaurant"
      }
    },
    "/apply-restaurant/login": {
      "post": {
        "x-controller-name": "ApplyRestaurantController",
        "x-operation-name": "login",
        "tags": [
          "ApplyRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Member info data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "token": {
                      "type": "string"
                    },
                    "memberId": {
                      "type": "number"
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "member": {
                      "$ref": "#/components/schemas/Member"
                    },
                    "territoryMember": {
                      "$ref": "#/components/schemas/TerritoryMember"
                    },
                    "territory": {
                      "$ref": "#/components/schemas/Territory"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string",
                    "minLength": 3
                  },
                  "udid": {
                    "type": "string"
                  },
                  "push_token": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of login function",
          "required": true
        },
        "operationId": "ApplyRestaurantController.login"
      }
    },
    "/apply-restaurant/restaurant/{id}": {
      "get": {
        "x-controller-name": "ApplyRestaurantController",
        "x-operation-name": "findApplyListById",
        "tags": [
          "ApplyRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Territory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TerritoryRestaurantWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ApplyRestaurantController.findApplyListById"
      }
    },
    "/apply-restaurant/restaurant-list": {
      "get": {
        "x-controller-name": "ApplyRestaurantController",
        "x-operation-name": "findApplyList",
        "tags": [
          "ApplyRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Array of Territory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ApplyRestaurantController.findApplyList"
      }
    },
    "/apply-restaurant/send-score": {
      "post": {
        "x-controller-name": "ApplyRestaurantController",
        "x-operation-name": "sendScore",
        "tags": [
          "ApplyRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Send score",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "territoryId",
                  "regRestaurantId"
                ],
                "properties": {
                  "territoryId": {
                    "type": "number"
                  },
                  "regRestaurantId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "The input for send score",
          "required": true
        },
        "operationId": "ApplyRestaurantController.sendScore"
      }
    },
    "/chats/emit/{channel}": {
      "post": {
        "x-controller-name": "PingController",
        "x-operation-name": "exampleRoomEmmit",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PingController.exampleRoomEmmit"
          }
        },
        "parameters": [
          {
            "name": "channel",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "PingController.exampleRoomEmmit"
      }
    },
    "/check-reg-products-period": {
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "checkPeriodAvailable",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of RegProductPreiod model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProductPreiodWithRelations"
                }
              }
            }
          }
        },
        "operationId": "RegProductController.checkPeriodAvailable"
      }
    },
    "/check-reg-products-period-detail": {
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "checkPeriodDetail",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of RegProductPreiod model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProductPreiodWithRelations"
                }
              }
            }
          }
        },
        "operationId": "RegProductController.checkPeriodDetail"
      }
    },
    "/comming-expired-products": {
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "get_comming_expired_products",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "Get comming expired products",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ProductController.get_comming_expired_products"
      }
    },
    "/comming-expired-restaurant": {
      "get": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "get_comming_expired_products",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Get comming expired restaurant",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "RestaurantController.get_comming_expired_products"
      }
    },
    "/companies/count": {
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "count",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Company.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Company>"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.count"
      }
    },
    "/companies/list-all": {
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "listCompany",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Array of companies data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CompanyController.listCompany"
      }
    },
    "/companies/{id}/products": {
      "post": {
        "x-controller-name": "CompanyProductController",
        "x-operation-name": "create",
        "tags": [
          "CompanyProductController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Product"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProductInCompany"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CompanyProductController.create"
      },
      "patch": {
        "x-controller-name": "CompanyProductController",
        "x-operation-name": "patch",
        "tags": [
          "CompanyProductController"
        ],
        "responses": {
          "200": {
            "description": "Company.Product PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Product.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Product>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CompanyProductController.patch"
      },
      "get": {
        "x-controller-name": "CompanyProductController",
        "x-operation-name": "find",
        "tags": [
          "CompanyProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of Company has many Product",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Product"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CompanyProductController.find"
      },
      "delete": {
        "x-controller-name": "CompanyProductController",
        "x-operation-name": "delete",
        "tags": [
          "CompanyProductController"
        ],
        "responses": {
          "200": {
            "description": "Company.Product DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Product.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Product>"
                }
              }
            }
          }
        ],
        "operationId": "CompanyProductController.delete"
      }
    },
    "/companies/{id}": {
      "patch": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "updateById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Company PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CompanyController.updateById"
      },
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "findById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.findById"
      },
      "delete": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "deleteById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Company DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CompanyController.deleteById"
      }
    },
    "/companies": {
      "post": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "create",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCompanyRequest"
              }
            }
          }
        },
        "operationId": "CompanyController.create"
      },
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "find",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Array of Company model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CompanyWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.find"
      }
    },
    "/company-products": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "getCompanyProducts",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of company products",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CompanyCustomWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ThaiSelectController.getCompanyProducts"
      }
    },
    "/contact": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "submit_contact",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "submit contact form",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "subject",
                  "description"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string"
                  },
                  "company": {
                    "type": "string"
                  },
                  "subject": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.submit_contact"
      }
    },
    "/countries": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findCountries",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of AddressCountries model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddressCountriesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressCountries.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ThaiSelectController.findCountries"
      }
    },
    "/customer/company/{id}": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "updateComanyById",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "customer update company profile",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyRequestPartial"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ThaiSelectController.updateComanyById"
      }
    },
    "/customer/login-with-code": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "customer_login_with_code",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "login-with-code",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "code"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "login-with-code",
          "required": true
        },
        "operationId": "ThaiSelectController.customer_login_with_code"
      }
    },
    "/customer/mapper-sso-customer": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "mapper_sso_customer",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "mapper-sso-customer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerLoginPartial"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId",
                  "customerType",
                  "ssoid",
                  "token"
                ],
                "properties": {
                  "customerId": {
                    "type": "number"
                  },
                  "customerType": {
                    "type": "string"
                  },
                  "ssoid": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "mapper-sso-customer",
          "required": true
        },
        "operationId": "ThaiSelectController.mapper_sso_customer"
      }
    },
    "/customer/products/{id}": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "updateProductById",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "customer update product",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductRequestPartial"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ThaiSelectController.updateProductById"
      }
    },
    "/customer/restaurants/{id}": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "updateRestaurantById",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "customer update restaurant profile",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RestaurantRequestPartial"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ThaiSelectController.updateRestaurantById"
      }
    },
    "/customer": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findById",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Customer model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ThaiSelectController.findById"
      }
    },
    "/districts": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findDistrict",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of AddressDistrict model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddressDistrictWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressDistrict.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ThaiSelectController.findDistrict"
      }
    },
    "/favorites": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_favorites",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of favorite items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "restaurants": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "products": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "supermarkets": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "recipes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ingredients": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ThaiSelectController.get_favorites"
      }
    },
    "/file-info": {
      "get": {
        "x-controller-name": "UploadController",
        "x-operation-name": "getFileInfoByLink",
        "tags": [
          "UploadController"
        ],
        "responses": {
          "200": {
            "description": "Array of AddressCountries model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "link",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "UploadController.getFileInfoByLink"
      }
    },
    "/food-types/list-all": {
      "get": {
        "x-controller-name": "FoodTypeController",
        "x-operation-name": "listFoodTypes",
        "tags": [
          "FoodTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of food-types data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FoodTypeController.listFoodTypes"
      }
    },
    "/food-types/{id}": {
      "patch": {
        "x-controller-name": "FoodTypeController",
        "x-operation-name": "updateById",
        "tags": [
          "FoodTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FoodType PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoodTypeRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FoodTypeController.updateById"
      },
      "get": {
        "x-controller-name": "FoodTypeController",
        "x-operation-name": "findById",
        "tags": [
          "FoodTypeController"
        ],
        "responses": {
          "200": {
            "description": "FoodType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodTypeRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodType.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FoodTypeController.findById"
      },
      "delete": {
        "x-controller-name": "FoodTypeController",
        "x-operation-name": "deleteById",
        "tags": [
          "FoodTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FoodType DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FoodTypeController.deleteById"
      }
    },
    "/food-types": {
      "post": {
        "x-controller-name": "FoodTypeController",
        "x-operation-name": "create",
        "tags": [
          "FoodTypeController"
        ],
        "responses": {
          "200": {
            "description": "FoodType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodType"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFoodType"
              }
            }
          }
        },
        "operationId": "FoodTypeController.create"
      },
      "get": {
        "x-controller-name": "FoodTypeController",
        "x-operation-name": "find",
        "tags": [
          "FoodTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of food-types model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FoodTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodType.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FoodTypeController.find"
      }
    },
    "/foodtype-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findFoodTypes",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of foodtype model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FoodTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.findFoodTypes"
      }
    },
    "/ingredients/count": {
      "get": {
        "x-controller-name": "IngredientsController",
        "x-operation-name": "count",
        "tags": [
          "IngredientsController"
        ],
        "responses": {
          "200": {
            "description": "Ingredients model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Ingredients.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Ingredients>"
                }
              }
            }
          }
        ],
        "operationId": "IngredientsController.count"
      }
    },
    "/ingredients/list-all": {
      "get": {
        "x-controller-name": "IngredientsController",
        "x-operation-name": "listRoomtypes",
        "tags": [
          "IngredientsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ingredients data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "IngredientsController.listRoomtypes"
      }
    },
    "/ingredients/{id}": {
      "patch": {
        "x-controller-name": "IngredientsController",
        "x-operation-name": "updateById",
        "tags": [
          "IngredientsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Ingredients PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IngredientsRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "IngredientsController.updateById"
      },
      "get": {
        "x-controller-name": "IngredientsController",
        "x-operation-name": "findById",
        "tags": [
          "IngredientsController"
        ],
        "responses": {
          "200": {
            "description": "Ingredients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IngredientsRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ingredients.Filter"
                }
              }
            }
          }
        ],
        "operationId": "IngredientsController.findById"
      },
      "delete": {
        "x-controller-name": "IngredientsController",
        "x-operation-name": "deleteById",
        "tags": [
          "IngredientsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Ingredients DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "IngredientsController.deleteById"
      }
    },
    "/ingredients": {
      "post": {
        "x-controller-name": "IngredientsController",
        "x-operation-name": "create",
        "tags": [
          "IngredientsController"
        ],
        "responses": {
          "200": {
            "description": "Ingredients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ingredients"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewIngredientsRequest"
              }
            }
          }
        },
        "operationId": "IngredientsController.create"
      },
      "get": {
        "x-controller-name": "IngredientsController",
        "x-operation-name": "find",
        "tags": [
          "IngredientsController"
        ],
        "responses": {
          "200": {
            "description": "Array of products model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IngredientsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ingredients.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "IngredientsController.find"
      }
    },
    "/ingredients-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findIngredients",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of ingredients model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IngredientsWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.findIngredients"
      }
    },
    "/ingredients-other/{id}": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findIngredientsOther",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of ingredients model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IngredientsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ThaiSelectController.findIngredientsOther"
      }
    },
    "/languages/count": {
      "get": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "count",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Language model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Language.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Language>"
                }
              }
            }
          }
        ],
        "operationId": "LanguageController.count"
      }
    },
    "/languages/{id}": {
      "patch": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "updateById",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Language PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguagePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LanguageController.updateById"
      },
      "get": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "findById",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Language model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Language.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LanguageController.findById"
      },
      "delete": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "deleteById",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Language DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LanguageController.deleteById"
      }
    },
    "/languages": {
      "post": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "create",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Language model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Language"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLanguage"
              }
            }
          }
        },
        "operationId": "LanguageController.create"
      },
      "get": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "find",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Array of Language model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LanguageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Language.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LanguageController.find"
      }
    },
    "/manual-mail-apply-product/{id}": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "manualApplyProduct",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PingController.manualApplyProduct"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PingController.manualApplyProduct"
      }
    },
    "/members/count": {
      "get": {
        "x-controller-name": "MemberController",
        "x-operation-name": "count",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Member.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Member>"
                }
              }
            }
          }
        ],
        "operationId": "MemberController.count"
      }
    },
    "/members/initailize": {
      "post": {
        "x-controller-name": "MemberController",
        "x-operation-name": "initailize",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "initailize member",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "MemberController.initailize"
      }
    },
    "/members/list": {
      "get": {
        "x-controller-name": "MemberController",
        "x-operation-name": "listMembers",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Array of Member date model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MemberController.listMembers"
      }
    },
    "/members/login": {
      "post": {
        "x-controller-name": "MemberController",
        "x-operation-name": "login",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member info data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "token": {
                      "type": "string"
                    },
                    "memberId": {
                      "type": "number"
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "member": {
                      "$ref": "#/components/schemas/Member"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string",
                    "minLength": 3
                  },
                  "udid": {
                    "type": "string"
                  },
                  "push_token": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of login function",
          "required": true
        },
        "operationId": "MemberController.login"
      }
    },
    "/members/login-with-token": {
      "post": {
        "x-controller-name": "MemberController",
        "x-operation-name": "loginWithToken",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member info data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "token": {
                      "type": "string"
                    },
                    "memberId": {
                      "type": "number"
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "member": {
                      "$ref": "#/components/schemas/Member"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token"
                ],
                "properties": {
                  "token": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of login function with token",
          "required": true
        },
        "operationId": "MemberController.loginWithToken"
      }
    },
    "/members/logout": {
      "get": {
        "x-controller-name": "MemberController",
        "x-operation-name": "logout",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Set invalid token"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MemberController.logout"
      }
    },
    "/members/me": {
      "get": {
        "x-controller-name": "MemberController",
        "x-operation-name": "getCurentProfile",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberWithRelations"
                }
              }
            }
          }
        },
        "operationId": "MemberController.getCurentProfile"
      }
    },
    "/members/reset-password": {
      "post": {
        "x-controller-name": "MemberController",
        "x-operation-name": "resetPassword",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member Reset password success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id",
                  "password"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "MemberController.resetPassword"
      }
    },
    "/members/{id}/territory": {
      "patch": {
        "x-controller-name": "MemberController",
        "x-operation-name": "updateTerritoryMemberById",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Member Territory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TerritoryMemberPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MemberController.updateTerritoryMemberById"
      },
      "get": {
        "x-controller-name": "MemberController",
        "x-operation-name": "getMemberTerritory",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member Territory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TerritoryMemberWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MemberController.getMemberTerritory"
      }
    },
    "/members/{id}": {
      "patch": {
        "x-controller-name": "MemberController",
        "x-operation-name": "updateById",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Member PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MemberController.updateById"
      },
      "get": {
        "x-controller-name": "MemberController",
        "x-operation-name": "findById",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Member.Filter"
                }
              }
            }
          }
        ],
        "operationId": "MemberController.findById"
      },
      "delete": {
        "x-controller-name": "MemberController",
        "x-operation-name": "deleteById",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Member DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MemberController.deleteById"
      }
    },
    "/members": {
      "post": {
        "x-controller-name": "MemberController",
        "x-operation-name": "create",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Member model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Member"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMemberRequest"
              }
            }
          }
        },
        "operationId": "MemberController.create"
      },
      "get": {
        "x-controller-name": "MemberController",
        "x-operation-name": "find",
        "tags": [
          "MemberController"
        ],
        "responses": {
          "200": {
            "description": "Array of Member model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MemberWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Member.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "MemberController.find"
      }
    },
    "/my-products": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_products",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Get company products",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ThaiSelectController.get_products"
      }
    },
    "/news/count": {
      "get": {
        "x-controller-name": "NewsController",
        "x-operation-name": "count",
        "tags": [
          "NewsController"
        ],
        "responses": {
          "200": {
            "description": "News model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "News.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<News>"
                }
              }
            }
          }
        ],
        "operationId": "NewsController.count"
      }
    },
    "/news/list-all": {
      "get": {
        "x-controller-name": "NewsController",
        "x-operation-name": "listRoomtypes",
        "tags": [
          "NewsController"
        ],
        "responses": {
          "200": {
            "description": "Array of news data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "NewsController.listRoomtypes"
      }
    },
    "/news/{id}": {
      "patch": {
        "x-controller-name": "NewsController",
        "x-operation-name": "updateById",
        "tags": [
          "NewsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "News PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewsRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NewsController.updateById"
      },
      "get": {
        "x-controller-name": "NewsController",
        "x-operation-name": "findById",
        "tags": [
          "NewsController"
        ],
        "responses": {
          "200": {
            "description": "News model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewsRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/News.Filter"
                }
              }
            }
          }
        ],
        "operationId": "NewsController.findById"
      },
      "delete": {
        "x-controller-name": "NewsController",
        "x-operation-name": "deleteById",
        "tags": [
          "NewsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "News DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NewsController.deleteById"
      }
    },
    "/news": {
      "post": {
        "x-controller-name": "NewsController",
        "x-operation-name": "create",
        "tags": [
          "NewsController"
        ],
        "responses": {
          "200": {
            "description": "News model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/News"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNewsRequest"
              }
            }
          }
        },
        "operationId": "NewsController.create"
      },
      "get": {
        "x-controller-name": "NewsController",
        "x-operation-name": "find",
        "tags": [
          "NewsController"
        ],
        "responses": {
          "200": {
            "description": "Array of products model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NewsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/News.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "NewsController.find"
      }
    },
    "/news-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_news_all",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of News recommend model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NewsWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.get_news_all"
      }
    },
    "/news-other": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_news_other",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of News recommend model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NewsWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.get_news_other"
      }
    },
    "/news-recommend": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_news_recommended",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of News recommend model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NewsWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.get_news_recommended"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    },
    "/popups/available": {
      "get": {
        "x-controller-name": "PopupController",
        "x-operation-name": "findAvailable",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "200": {
            "description": "Popup model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PopupWithRelations"
                }
              }
            }
          }
        },
        "operationId": "PopupController.findAvailable"
      }
    },
    "/popups/count": {
      "get": {
        "x-controller-name": "PopupController",
        "x-operation-name": "count",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "200": {
            "description": "Popup model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Popup.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Popup>"
                }
              }
            }
          }
        ],
        "operationId": "PopupController.count"
      }
    },
    "/popups/list-all": {
      "get": {
        "x-controller-name": "PopupController",
        "x-operation-name": "listFoodTypes",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "200": {
            "description": "Array of popups data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PopupController.listFoodTypes"
      }
    },
    "/popups/{id}": {
      "put": {
        "x-controller-name": "PopupController",
        "x-operation-name": "replaceById",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Popup PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Popup"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PopupController.replaceById"
      },
      "patch": {
        "x-controller-name": "PopupController",
        "x-operation-name": "updateById",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Popup PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PopupPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PopupController.updateById"
      },
      "get": {
        "x-controller-name": "PopupController",
        "x-operation-name": "findById",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "200": {
            "description": "Popup model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PopupWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Popup.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PopupController.findById"
      },
      "delete": {
        "x-controller-name": "PopupController",
        "x-operation-name": "deleteById",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Popup DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PopupController.deleteById"
      }
    },
    "/popups": {
      "post": {
        "x-controller-name": "PopupController",
        "x-operation-name": "create",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "200": {
            "description": "Popup model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Popup"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPopup"
              }
            }
          }
        },
        "operationId": "PopupController.create"
      },
      "patch": {
        "x-controller-name": "PopupController",
        "x-operation-name": "updateAll",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "200": {
            "description": "Popup PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Popup.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Popup>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PopupPartial"
              }
            }
          }
        },
        "operationId": "PopupController.updateAll"
      },
      "get": {
        "x-controller-name": "PopupController",
        "x-operation-name": "find",
        "tags": [
          "PopupController"
        ],
        "responses": {
          "200": {
            "description": "Array of Popup model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PopupWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Popup.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PopupController.find"
      }
    },
    "/products/count": {
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "count",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "Product model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Product.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Product>"
                }
              }
            }
          }
        ],
        "operationId": "ProductController.count"
      }
    },
    "/products/list-all": {
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "listRoomtypes",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of product data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProductController.listRoomtypes"
      }
    },
    "/products/{id}/company": {
      "get": {
        "x-controller-name": "ProductCompanyController",
        "x-operation-name": "getCompany",
        "tags": [
          "ProductCompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company belonging to Product",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Company"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProductCompanyController.getCompany"
      }
    },
    "/products/{id}": {
      "patch": {
        "x-controller-name": "ProductController",
        "x-operation-name": "updateById",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductController.updateById"
      },
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "findById",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "Product model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Product.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProductController.findById"
      },
      "delete": {
        "x-controller-name": "ProductController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProductController.deleteById"
      }
    },
    "/products": {
      "post": {
        "x-controller-name": "ProductController",
        "x-operation-name": "create",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "Product model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Product"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProduct"
              }
            }
          }
        },
        "operationId": "ProductController.create"
      },
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "find",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of products model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Product.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ProductController.find"
      }
    },
    "/products-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findProducts",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of products model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.findProducts"
      }
    },
    "/products-other/{id}": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findProductsOther",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Products model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ThaiSelectController.findProductsOther"
      }
    },
    "/products-recommend": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_product_recommended",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Products recommend model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.get_product_recommended"
      }
    },
    "/recepes/count": {
      "get": {
        "x-controller-name": "RecepesController",
        "x-operation-name": "count",
        "tags": [
          "RecepesController"
        ],
        "responses": {
          "200": {
            "description": "Recepes model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Recepes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Recepes>"
                }
              }
            }
          }
        ],
        "operationId": "RecepesController.count"
      }
    },
    "/recepes/list-all": {
      "get": {
        "x-controller-name": "RecepesController",
        "x-operation-name": "listRoomtypes",
        "tags": [
          "RecepesController"
        ],
        "responses": {
          "200": {
            "description": "Array of restaurant data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RecepesController.listRoomtypes"
      }
    },
    "/recepes/{id}": {
      "patch": {
        "x-controller-name": "RecepesController",
        "x-operation-name": "updateById",
        "tags": [
          "RecepesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Recepes PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecepesRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RecepesController.updateById"
      },
      "get": {
        "x-controller-name": "RecepesController",
        "x-operation-name": "findById",
        "tags": [
          "RecepesController"
        ],
        "responses": {
          "200": {
            "description": "Recepes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecepesRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recepes.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RecepesController.findById"
      },
      "delete": {
        "x-controller-name": "RecepesController",
        "x-operation-name": "deleteById",
        "tags": [
          "RecepesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Recepes DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RecepesController.deleteById"
      }
    },
    "/recepes": {
      "post": {
        "x-controller-name": "RecepesController",
        "x-operation-name": "create",
        "tags": [
          "RecepesController"
        ],
        "responses": {
          "200": {
            "description": "Recepes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recepes"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRecepesRequest"
              }
            }
          }
        },
        "operationId": "RecepesController.create"
      },
      "get": {
        "x-controller-name": "RecepesController",
        "x-operation-name": "find",
        "tags": [
          "RecepesController"
        ],
        "responses": {
          "200": {
            "description": "Array of recepes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecepesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recepes.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RecepesController.find"
      }
    },
    "/recipes-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findRecipes",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of recipes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecepesWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.findRecipes"
      }
    },
    "/recipes-other/{id}": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findRecipesOther",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of recipes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecepesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ThaiSelectController.findRecipesOther"
      }
    },
    "/reg-draff/{id}": {
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "findRegDraffByCustomerId",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "RegDraff model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProductRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegProductController.findRegDraffByCustomerId"
      }
    },
    "/reg-products/by-customer/{id}": {
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "RegProduct model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProductRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegProductController.findByCustomerId"
      }
    },
    "/reg-products/count": {
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "count",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "RegProduct model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RegProduct.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RegProduct>"
                }
              }
            }
          }
        ],
        "operationId": "RegProductController.count"
      }
    },
    "/reg-products/list-all": {
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "listRegRestaurant",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of restaurant data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RegProductController.listRegRestaurant"
      }
    },
    "/reg-products/{id}": {
      "patch": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "updateById",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RegProduct PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegProductRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RegProductController.updateById"
      },
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "findById",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "RegProduct model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProductRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProduct.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RegProductController.findById"
      },
      "delete": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "deleteById",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RegProduct DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegProductController.deleteById"
      }
    },
    "/reg-products": {
      "post": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "create",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "RegProduct model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProduct"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRegProductRequestv1"
              }
            }
          }
        },
        "operationId": "RegProductController.create"
      },
      "get": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "find",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of RegProduct model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RegProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegProduct.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RegProductController.find"
      }
    },
    "/reg-restaurant": {
      "post": {
        "x-controller-name": "RegRestaurantController",
        "x-operation-name": "create",
        "tags": [
          "RegRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "RegRestaurant model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegRestaurant"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRegRestaurant"
              }
            }
          }
        },
        "operationId": "RegRestaurantController.create"
      }
    },
    "/reg-restaurants/by-customer/{id}": {
      "get": {
        "x-controller-name": "RegRestaurantController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "RegRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "RegRestaurant model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegRestaurantRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegRestaurantController.findByCustomerId"
      }
    },
    "/reg-restaurants/count": {
      "get": {
        "x-controller-name": "RegRestaurantController",
        "x-operation-name": "count",
        "tags": [
          "RegRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "RegRestaurant model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RegRestaurant.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RegRestaurant>"
                }
              }
            }
          }
        ],
        "operationId": "RegRestaurantController.count"
      }
    },
    "/reg-restaurants/list-all": {
      "get": {
        "x-controller-name": "RegRestaurantController",
        "x-operation-name": "listRegRestaurant",
        "tags": [
          "RegRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Array of restaurant data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RegRestaurantController.listRegRestaurant"
      }
    },
    "/reg-restaurants/{id}": {
      "patch": {
        "x-controller-name": "RegRestaurantController",
        "x-operation-name": "updateById",
        "tags": [
          "RegRestaurantController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RegRestaurant PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegRestaurantRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RegRestaurantController.updateById"
      },
      "get": {
        "x-controller-name": "RegRestaurantController",
        "x-operation-name": "findById",
        "tags": [
          "RegRestaurantController"
        ],
        "responses": {
          "200": {
            "description": "RegRestaurant model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegRestaurantRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegRestaurant.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RegRestaurantController.findById"
      },
      "delete": {
        "x-controller-name": "RegRestaurantController",
        "x-operation-name": "deleteById",
        "tags": [
          "RegRestaurantController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RegRestaurant DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegRestaurantController.deleteById"
      }
    },
    "/regions/count": {
      "get": {
        "x-controller-name": "RegionController",
        "x-operation-name": "count",
        "tags": [
          "RegionController"
        ],
        "responses": {
          "200": {
            "description": "Region model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Region.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Region>"
                }
              }
            }
          }
        ],
        "operationId": "RegionController.count"
      }
    },
    "/regions/list-all": {
      "get": {
        "x-controller-name": "RegionController",
        "x-operation-name": "listTerritories",
        "tags": [
          "RegionController"
        ],
        "responses": {
          "200": {
            "description": "Array of regions data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RegionController.listTerritories"
      }
    },
    "/regions/{id}": {
      "patch": {
        "x-controller-name": "RegionController",
        "x-operation-name": "updateById",
        "tags": [
          "RegionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Region PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RegionController.updateById"
      },
      "get": {
        "x-controller-name": "RegionController",
        "x-operation-name": "findById",
        "tags": [
          "RegionController"
        ],
        "responses": {
          "200": {
            "description": "Region model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Region.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RegionController.findById"
      },
      "delete": {
        "x-controller-name": "RegionController",
        "x-operation-name": "deleteById",
        "tags": [
          "RegionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Region DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegionController.deleteById"
      }
    },
    "/regions": {
      "post": {
        "x-controller-name": "RegionController",
        "x-operation-name": "create",
        "tags": [
          "RegionController"
        ],
        "responses": {
          "200": {
            "description": "Region model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Region"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRegion"
              }
            }
          }
        },
        "operationId": "RegionController.create"
      },
      "get": {
        "x-controller-name": "RegionController",
        "x-operation-name": "find",
        "tags": [
          "RegionController"
        ],
        "responses": {
          "200": {
            "description": "Array of Region model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RegionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Region.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RegionController.find"
      }
    },
    "/remove-fav-ingredient": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "remove_fav_ingredient",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "remove-fav-ingredient",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Remove favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.remove_fav_ingredient"
      }
    },
    "/remove-fav-product": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "remove_fav_product",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "remove-fav-product",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Remove favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.remove_fav_product"
      }
    },
    "/remove-fav-recipe": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "remove_fav_recipe",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "remove-fav-recipe",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Remove favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.remove_fav_recipe"
      }
    },
    "/remove-fav-restaurant": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "remove_fav",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "remove-fav-restaurant",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Remove favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.remove_fav"
      }
    },
    "/remove-fav-supermarket": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "remove_fav_supermarket",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "remove-fav-supermarket",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Remove favorite",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ThaiSelectController.remove_fav_supermarket"
      }
    },
    "/restaurants/count": {
      "get": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "count",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Restaurant model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Restaurant.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Restaurant>"
                }
              }
            }
          }
        ],
        "operationId": "RestaurantController.count"
      }
    },
    "/restaurants/list-all": {
      "get": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "listRoomtypes",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Array of restaurant data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RestaurantController.listRoomtypes"
      }
    },
    "/restaurants/{id}": {
      "patch": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "updateById",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Restaurant PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RestaurantRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RestaurantController.updateById"
      },
      "get": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "findById",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Restaurant model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RestaurantRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Restaurant.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RestaurantController.findById"
      },
      "delete": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "deleteById",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Restaurant DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RestaurantController.deleteById"
      }
    },
    "/restaurants": {
      "post": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "create",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Restaurant model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Restaurant"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRestaurant"
              }
            }
          }
        },
        "operationId": "RestaurantController.create"
      },
      "get": {
        "x-controller-name": "RestaurantController",
        "x-operation-name": "find",
        "tags": [
          "RestaurantController"
        ],
        "responses": {
          "200": {
            "description": "Array of Restaurant model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Restaurant.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RestaurantController.find"
      }
    },
    "/restaurants-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findRestaurants",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Restaurant model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.findRestaurants"
      }
    },
    "/restaurants-nearby": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findRestaurantsNearby",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Restaurant model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithDistanceWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lng",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "distance",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ThaiSelectController.findRestaurantsNearby"
      }
    },
    "/restaurants-other/{id}": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findRestaurantsOther",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Restaurant model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "distance",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ThaiSelectController.findRestaurantsOther"
      }
    },
    "/restaurants-recommend": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_restaurant_recommended",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Restaurant recommend model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.get_restaurant_recommended"
      }
    },
    "/restaurants-search": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "serachRestaurantsNearby",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Restaurant model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ThaiSelectController.serachRestaurantsNearby"
      }
    },
    "/restaurants-search-country": {
      "post": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findRestaurantsByCountry",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Restaurant model instances by country",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RestaurantWithRelations"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "countryId"
                ],
                "properties": {
                  "countryId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.findRestaurantsByCountry"
      }
    },
    "/save-draff": {
      "post": {
        "x-controller-name": "RegProductController",
        "x-operation-name": "savedraff",
        "tags": [
          "RegProductController"
        ],
        "responses": {
          "200": {
            "description": "Save draff ",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegDraff"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRegDraff"
              }
            }
          }
        },
        "operationId": "RegProductController.savedraff"
      }
    },
    "/stat-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "get_stat",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "submit contact form",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "amt_restaurants": {
                      "type": "number"
                    },
                    "amt_countries": {
                      "type": "number"
                    },
                    "amt_products": {
                      "type": "number"
                    },
                    "amt_companies": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.get_stat"
      }
    },
    "/states": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findState",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of AddressState model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddressStateWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressState.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ThaiSelectController.findState"
      }
    },
    "/subdistricts": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findSubDistrict",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of AddressSubDistrict model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddressSubDistrictWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressSubDistrict.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ThaiSelectController.findSubDistrict"
      }
    },
    "/supermarkets/count": {
      "get": {
        "x-controller-name": "SupermarketController",
        "x-operation-name": "count",
        "tags": [
          "SupermarketController"
        ],
        "responses": {
          "200": {
            "description": "Supermarket model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Supermarket.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Supermarket>"
                }
              }
            }
          }
        ],
        "operationId": "SupermarketController.count"
      }
    },
    "/supermarkets/list-all": {
      "get": {
        "x-controller-name": "SupermarketController",
        "x-operation-name": "listRoomtypes",
        "tags": [
          "SupermarketController"
        ],
        "responses": {
          "200": {
            "description": "Array of super market date model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "SupermarketController.listRoomtypes"
      }
    },
    "/supermarkets/{id}": {
      "patch": {
        "x-controller-name": "SupermarketController",
        "x-operation-name": "updateById",
        "tags": [
          "SupermarketController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Supermarket PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupermarketRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SupermarketController.updateById"
      },
      "get": {
        "x-controller-name": "SupermarketController",
        "x-operation-name": "findById",
        "tags": [
          "SupermarketController"
        ],
        "responses": {
          "200": {
            "description": "Supermarket model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupermarketRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Supermarket.Filter"
                }
              }
            }
          }
        ],
        "operationId": "SupermarketController.findById"
      },
      "delete": {
        "x-controller-name": "SupermarketController",
        "x-operation-name": "deleteById",
        "tags": [
          "SupermarketController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Supermarket DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SupermarketController.deleteById"
      }
    },
    "/supermarkets": {
      "post": {
        "x-controller-name": "SupermarketController",
        "x-operation-name": "create",
        "tags": [
          "SupermarketController"
        ],
        "responses": {
          "200": {
            "description": "Supermarket model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Supermarket"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSupermarketRequest"
              }
            }
          }
        },
        "operationId": "SupermarketController.create"
      },
      "get": {
        "x-controller-name": "SupermarketController",
        "x-operation-name": "find",
        "tags": [
          "SupermarketController"
        ],
        "responses": {
          "200": {
            "description": "Array of Supermarket model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupermarketWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Supermarket.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "SupermarketController.find"
      }
    },
    "/supermarkets-all": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findSupermarkets",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of supermarket model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupermarketWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "ThaiSelectController.findSupermarkets"
      }
    },
    "/supermarkets-nearby": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findSupermarketsNearby",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Supermarket model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupermarketWithDistanceWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lng",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "distance",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ThaiSelectController.findSupermarketsNearby"
      }
    },
    "/supermarkets-other/{id}": {
      "get": {
        "x-controller-name": "ThaiSelectController",
        "x-operation-name": "findSupermarketsOther",
        "tags": [
          "ThaiSelectController"
        ],
        "responses": {
          "200": {
            "description": "Array of Supermarket model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupermarketWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "distance",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ThaiSelectController.findSupermarketsOther"
      }
    },
    "/territories/count": {
      "get": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "count",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "200": {
            "description": "Territory model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Territory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Territory>"
                }
              }
            }
          }
        ],
        "operationId": "TerritoryController.count"
      }
    },
    "/territories/list-all": {
      "get": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "listTerritories",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of restaurant data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "TerritoryController.listTerritories"
      }
    },
    "/territories/thaitrade-center-list": {
      "get": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "listThaitradeCenter",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of restaurant data model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataListReponseWithRelations"
                }
              }
            }
          }
        },
        "operationId": "TerritoryController.listThaitradeCenter"
      }
    },
    "/territories/{id}": {
      "patch": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "updateById",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Territory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TerritoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerritoryController.updateById"
      },
      "get": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "findById",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "200": {
            "description": "Territory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TerritoryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Territory.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TerritoryController.findById"
      },
      "delete": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "deleteById",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Territory DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TerritoryController.deleteById"
      }
    },
    "/territories": {
      "post": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "create",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "200": {
            "description": "Territory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Territory"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTerritory"
              }
            }
          }
        },
        "operationId": "TerritoryController.create"
      },
      "get": {
        "x-controller-name": "TerritoryController",
        "x-operation-name": "find",
        "tags": [
          "TerritoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of Territory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TerritoryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Territory.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TerritoryController.find"
      }
    },
    "/territory-members/{id}/member": {
      "get": {
        "x-controller-name": "TerritoryMemberMemberController",
        "x-operation-name": "getMember",
        "tags": [
          "TerritoryMemberMemberController"
        ],
        "responses": {
          "200": {
            "description": "Member belonging to TerritoryMember",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Member"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TerritoryMemberMemberController.getMember"
      }
    },
    "/territory-members/{id}/territory": {
      "get": {
        "x-controller-name": "TerritoryMemberTerritoryController",
        "x-operation-name": "getTerritory",
        "tags": [
          "TerritoryMemberTerritoryController"
        ],
        "responses": {
          "200": {
            "description": "Territory belonging to TerritoryMember",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Territory"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TerritoryMemberTerritoryController.getTerritory"
      }
    },
    "/test-apply-restaurant/{id}": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "testApplyRestaurant",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PingController.testApplyRestaurant"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PingController.testApplyRestaurant"
      }
    },
    "/test-mail": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "testmail",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Check mobile already existing"
          }
        },
        "operationId": "PingController.testmail"
      }
    },
    "/upload-file": {
      "post": {
        "x-controller-name": "UploadController",
        "x-operation-name": "uploadfile",
        "tags": [
          "UploadController"
        ],
        "responses": {
          "200": {
            "description": "Files and fields",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "UploadController.uploadfile"
      }
    },
    "/upload-files": {
      "post": {
        "x-controller-name": "UploadController",
        "x-operation-name": "uploadfiles",
        "tags": [
          "UploadController"
        ],
        "responses": {
          "200": {
            "description": "Files and fields",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "UploadController.uploadfiles"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "FilesWithRelations": {
        "title": "FilesWithRelations",
        "type": "object",
        "description": "(tsType: FilesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "file_type": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "title",
          "link"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FilesWithRelations"
      },
      "AddressCountriesWithRelations": {
        "title": "AddressCountriesWithRelations",
        "type": "object",
        "description": "(tsType: AddressCountriesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "runId": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "countryCode": {
            "type": "string"
          },
          "ISONumberic": {
            "type": "string"
          },
          "countryLongCode": {
            "type": "string"
          },
          "nameTh": {
            "type": "string"
          },
          "nameEn": {
            "type": "string"
          },
          "countryISD": {
            "type": "string"
          },
          "currencyCode": {
            "type": "string"
          },
          "capital": {
            "type": "string"
          },
          "continent": {
            "type": "string"
          },
          "continentName": {
            "type": "string"
          },
          "population": {
            "type": "string"
          },
          "north": {
            "type": "string"
          },
          "east": {
            "type": "string"
          },
          "south": {
            "type": "string"
          },
          "west": {
            "type": "string"
          },
          "areaInSqKm": {
            "type": "string"
          }
        },
        "required": [
          "runId",
          "countryId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "AddressCountriesWithRelations"
      },
      "AddressStateWithRelations": {
        "title": "AddressStateWithRelations",
        "type": "object",
        "description": "(tsType: AddressStateWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "countryCode": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "nameEn": {
            "type": "string"
          },
          "nameTh": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "countryId",
          "countryCode",
          "stateId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "AddressStateWithRelations"
      },
      "AddressDistrictWithRelations": {
        "title": "AddressDistrictWithRelations",
        "type": "object",
        "description": "(tsType: AddressDistrictWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "countryCode": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "nameEn": {
            "type": "string"
          },
          "nameTh": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "provinceCode": {
            "type": "string"
          }
        },
        "required": [
          "countryId",
          "countryCode",
          "stateId",
          "districtId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "AddressDistrictWithRelations"
      },
      "AddressSubDistrictWithRelations": {
        "title": "AddressSubDistrictWithRelations",
        "type": "object",
        "description": "(tsType: AddressSubDistrictWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "countryCode": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "amphureCode": {
            "type": "number"
          },
          "code": {
            "type": "number"
          },
          "nameTh": {
            "type": "string"
          },
          "nameEn": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          }
        },
        "required": [
          "countryId",
          "countryCode",
          "stateId",
          "districtId",
          "amphureCode",
          "code"
        ],
        "additionalProperties": false,
        "x-typescript-type": "AddressSubDistrictWithRelations"
      },
      "ProductWithRelations": {
        "title": "ProductWithRelations",
        "type": "object",
        "description": "(tsType: ProductWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          },
          "productTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductTextWithRelations"
            }
          },
          "productImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImageWithRelations"
            }
          },
          "company": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProductWithRelations"
      },
      "SupermarketTextWithRelations": {
        "title": "SupermarketTextWithRelations",
        "type": "object",
        "description": "(tsType: SupermarketTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "supermarketId": {
            "type": "number"
          },
          "lgId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "supermarketId",
          "lgId",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SupermarketTextWithRelations"
      },
      "SupermarketWithRelations": {
        "title": "SupermarketWithRelations",
        "type": "object",
        "description": "(tsType: SupermarketWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryValue": {
            "type": "object"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "opentime": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "supermarketTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupermarketTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "SupermarketWithRelations"
      },
      "RestaurantTextWithRelations": {
        "title": "RestaurantTextWithRelations",
        "type": "object",
        "description": "(tsType: RestaurantTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "restaurantId": {
            "type": "number"
          },
          "lgId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "restaurantId",
          "lgId",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RestaurantTextWithRelations"
      },
      "RestaurantImageWithRelations": {
        "title": "RestaurantImageWithRelations",
        "type": "object",
        "description": "(tsType: RestaurantImageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "restaurantId": {
            "type": "number"
          },
          "orderItem": {
            "type": "number"
          },
          "imgUrl": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "restaurantId",
          "imgUrl"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RestaurantImageWithRelations"
      },
      "RestaurantWithRelations": {
        "title": "RestaurantWithRelations",
        "type": "object",
        "description": "(tsType: RestaurantWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "subImg": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "awardType": {
            "type": "number"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "restaurantTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RestaurantTextWithRelations"
            }
          },
          "restaurantImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RestaurantImageWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RestaurantWithRelations"
      },
      "RecepesTextWithRelations": {
        "title": "RecepesTextWithRelations",
        "type": "object",
        "description": "(tsType: RecepesTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "lgId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "ingredients": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "recepesId": {
            "type": "number"
          }
        },
        "required": [
          "lgId",
          "name",
          "recepesId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RecepesTextWithRelations"
      },
      "FoodTypeTextWithRelations": {
        "title": "FoodTypeTextWithRelations",
        "type": "object",
        "description": "(tsType: FoodTypeTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "foodTypeId": {
            "type": "number"
          },
          "lgId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "foodTypeId",
          "lgId",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FoodTypeTextWithRelations"
      },
      "FoodTypeWithRelations": {
        "title": "FoodTypeWithRelations",
        "type": "object",
        "description": "(tsType: FoodTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "foodTypeTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodTypeTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "FoodTypeWithRelations"
      },
      "RecepesWithRelations": {
        "title": "RecepesWithRelations",
        "type": "object",
        "description": "(tsType: RecepesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "foodType": {
            "type": "number"
          },
          "level": {
            "type": "number"
          },
          "vdo": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "foodTypeId": {
            "type": "number"
          },
          "recepesTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecepesTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RecepesWithRelations"
      },
      "IngredientsTextWithRelations": {
        "title": "IngredientsTextWithRelations",
        "type": "object",
        "description": "(tsType: IngredientsTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "lgId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "ingredientsId": {
            "type": "number"
          }
        },
        "required": [
          "lgId",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "IngredientsTextWithRelations"
      },
      "IngredientsWithRelations": {
        "title": "IngredientsWithRelations",
        "type": "object",
        "description": "(tsType: IngredientsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "ingredientType": {
            "type": "number"
          },
          "ref": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "ingredientsTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IngredientsTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "IngredientsWithRelations"
      },
      "NewsTextWithRelations": {
        "title": "NewsTextWithRelations",
        "type": "object",
        "description": "(tsType: NewsTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "newsId": {
            "type": "number"
          },
          "lgId": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "newsId",
          "lgId",
          "title"
        ],
        "additionalProperties": false,
        "x-typescript-type": "NewsTextWithRelations"
      },
      "NewsWithRelations": {
        "title": "NewsWithRelations",
        "type": "object",
        "description": "(tsType: NewsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pressdate": {
            "type": "string",
            "format": "date-time"
          },
          "contentType": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "newsTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewsTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "NewsWithRelations"
      },
      "SupermarketWithDistanceWithRelations": {
        "title": "SupermarketWithDistanceWithRelations",
        "type": "object",
        "description": "(tsType: SupermarketWithDistanceWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryValue": {
            "type": "object"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "opentime": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "distance": {
            "type": "number"
          },
          "supermarketTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupermarketTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "SupermarketWithDistanceWithRelations"
      },
      "RestaurantWithDistanceWithRelations": {
        "title": "RestaurantWithDistanceWithRelations",
        "type": "object",
        "description": "(tsType: RestaurantWithDistanceWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "subImg": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "awardType": {
            "type": "number"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "distance": {
            "type": "number"
          },
          "restaurantTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RestaurantTextWithRelations"
            }
          },
          "restaurantImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RestaurantImageWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RestaurantWithDistanceWithRelations"
      },
      "CustomerLoginPartial": {
        "title": "CustomerLoginPartial",
        "type": "object",
        "description": "(tsType: Partial<CustomerLogin>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "udid": {
            "type": "string"
          },
          "pushToken": {
            "type": "string"
          },
          "loginToken": {
            "type": "string"
          },
          "ditpToken": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<CustomerLogin>"
      },
      "RestaurantRequestPartial": {
        "title": "RestaurantRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<RestaurantRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "subImg": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "awardType": {
            "type": "number"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RestaurantRequest>"
      },
      "RestaurantRequest": {
        "title": "RestaurantRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "subImg": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "awardType": {
            "type": "number"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "CompanyRequestPartial": {
        "title": "CompanyRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<CompanyRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "ref": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "migrateMemberId": {
            "type": "number"
          },
          "holder_in_country": {
            "type": "number"
          },
          "holder_oversea": {
            "type": "number"
          },
          "domestic": {
            "type": "number"
          },
          "abroad": {
            "type": "number"
          },
          "manufacturing_standards": {
            "type": "string"
          },
          "registered_capital": {
            "type": "number"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "string"
          },
          "registered_month": {
            "type": "string"
          },
          "el_no": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "contactNo": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "state_other": {
            "type": "string"
          },
          "district_other": {
            "type": "string"
          },
          "subdiscrict_other": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "registered_date": {
            "type": "string",
            "format": "date-time"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<CompanyRequest>"
      },
      "CompanyRequest": {
        "title": "CompanyRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "ref": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "migrateMemberId": {
            "type": "number"
          },
          "holder_in_country": {
            "type": "number"
          },
          "holder_oversea": {
            "type": "number"
          },
          "domestic": {
            "type": "number"
          },
          "abroad": {
            "type": "number"
          },
          "manufacturing_standards": {
            "type": "string"
          },
          "registered_capital": {
            "type": "number"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "string"
          },
          "registered_month": {
            "type": "string"
          },
          "el_no": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "contactNo": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "state_other": {
            "type": "string"
          },
          "district_other": {
            "type": "string"
          },
          "subdiscrict_other": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "registered_date": {
            "type": "string",
            "format": "date-time"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductRequestPartial": {
        "title": "ProductRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<ProductRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProductRequest>"
      },
      "ProductRequest": {
        "title": "ProductRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductCustom": {
        "title": "ProductCustom",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "product_type": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CompanyCustomWithRelations": {
        "title": "CompanyCustomWithRelations",
        "type": "object",
        "description": "(tsType: CompanyCustomWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_date": {
            "type": "string",
            "format": "date-time"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductCustom"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CompanyCustomWithRelations"
      },
      "dataListReponseWithRelations": {
        "title": "dataListReponseWithRelations",
        "type": "object",
        "description": "(tsType: dataListReponseWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "page": {
            "type": "number"
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "totalCount": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "dataListReponseWithRelations"
      },
      "Territory": {
        "title": "Territory",
        "type": "object",
        "description": "(tsType: Territory, schemaOptions: { includeRelations: false })",
        "properties": {
          "id": {
            "type": "number"
          },
          "region": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "internal_countryId": {
            "type": "number"
          },
          "internal_states": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "external_countryIds": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "regionId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "countryId",
          "internal_countryId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Territory"
      },
      "NewTerritory": {
        "title": "NewTerritory",
        "type": "object",
        "description": "(tsType: Omit<Territory, 'id'>, schemaOptions: { title: 'NewTerritory', exclude: [ 'id' ] })",
        "properties": {
          "region": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "internal_countryId": {
            "type": "number"
          },
          "internal_states": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "external_countryIds": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "regionId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "countryId",
          "internal_countryId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Territory, 'id'>"
      },
      "TerritoryWithRelations": {
        "title": "TerritoryWithRelations",
        "type": "object",
        "description": "(tsType: TerritoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "region": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "internal_countryId": {
            "type": "number"
          },
          "internal_states": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "external_countryIds": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "regionId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "countryId",
          "internal_countryId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TerritoryWithRelations"
      },
      "TerritoryPartial": {
        "title": "TerritoryPartial",
        "type": "object",
        "description": "(tsType: Partial<Territory>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "region": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "internal_countryId": {
            "type": "number"
          },
          "internal_states": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "external_countryIds": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "regionId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Territory>"
      },
      "Member": {
        "title": "Member",
        "type": "object",
        "description": "(tsType: Member, schemaOptions: { includeRelations: false })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "firstname": {
            "type": "string"
          },
          "lastname": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "displayname": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verify": {
            "type": "boolean"
          },
          "is_ban": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "email",
          "firstname"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Member"
      },
      "Supermarket": {
        "title": "Supermarket",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryValue": {
            "type": "object"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "opentime": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewSupermarketRequest": {
        "title": "NewSupermarketRequest",
        "type": "object",
        "description": "(tsType: Omit<SupermarketRequest, 'id'>, schemaOptions: { title: 'NewSupermarketRequest', exclude: [ 'id' ] })",
        "properties": {
          "coverImg": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryValue": {
            "type": "object"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "opentime": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<SupermarketRequest, 'id'>"
      },
      "SupermarketRequestWithRelations": {
        "title": "SupermarketRequestWithRelations",
        "type": "object",
        "description": "(tsType: SupermarketRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryValue": {
            "type": "object"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "opentime": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "supermarketTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupermarketTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "SupermarketRequestWithRelations"
      },
      "SupermarketRequestPartial": {
        "title": "SupermarketRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<SupermarketRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryValue": {
            "type": "object"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "opentime": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<SupermarketRequest>"
      },
      "SupermarketRequest": {
        "title": "SupermarketRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryValue": {
            "type": "object"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "opentime": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "Restaurant": {
        "title": "Restaurant",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "subImg": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "awardType": {
            "type": "number"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewRestaurant": {
        "title": "NewRestaurant",
        "type": "object",
        "description": "(tsType: Omit<RestaurantRequest, 'id'>, schemaOptions: { title: 'NewRestaurant', exclude: [ 'id' ] })",
        "properties": {
          "customerId": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "subImg": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "awardType": {
            "type": "number"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<RestaurantRequest, 'id'>"
      },
      "RestaurantRequestWithRelations": {
        "title": "RestaurantRequestWithRelations",
        "type": "object",
        "description": "(tsType: RestaurantRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "subImg": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "location": {
            "type": "object"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "awardType": {
            "type": "number"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "restaurantTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RestaurantTextWithRelations"
            }
          },
          "restaurantImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RestaurantImageWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RestaurantRequestWithRelations"
      },
      "Region": {
        "title": "Region",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "NewRegion": {
        "title": "NewRegion",
        "type": "object",
        "description": "(tsType: Omit<Region, 'id'>, schemaOptions: { title: 'NewRegion', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Region, 'id'>"
      },
      "RegionWithRelations": {
        "title": "RegionWithRelations",
        "type": "object",
        "description": "(tsType: RegionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegionWithRelations"
      },
      "RegionPartial": {
        "title": "RegionPartial",
        "type": "object",
        "description": "(tsType: Partial<Region>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Region>"
      },
      "RegRestaurant": {
        "title": "RegRestaurant",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCodePhone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "countryCodeFax": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "registerType": {
            "type": "number"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_countryCodePhone": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "registered_capital": {
            "type": "string"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "number"
          },
          "registered_month": {
            "type": "number"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "isRenew": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "address"
        ],
        "additionalProperties": false
      },
      "NewRegRestaurant": {
        "title": "NewRegRestaurant",
        "type": "object",
        "description": "(tsType: Omit<RegRestaurantRequest, 'id'>, schemaOptions: { title: 'NewRegRestaurant', exclude: [ 'id' ] })",
        "properties": {
          "customerId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCodePhone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "countryCodeFax": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "registerType": {
            "type": "number"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_countryCodePhone": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "registered_capital": {
            "type": "string"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "number"
          },
          "registered_month": {
            "type": "number"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "isRenew": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "services": {
            "type": "object"
          },
          "business": {
            "type": "object"
          },
          "doc": {
            "type": "object"
          }
        },
        "required": [
          "name",
          "address"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<RegRestaurantRequest, 'id'>"
      },
      "RegRestaurantServiceWithRelations": {
        "title": "RegRestaurantServiceWithRelations",
        "type": "object",
        "description": "(tsType: RegRestaurantServiceWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "regRestaurantId": {
            "type": "number"
          },
          "serviceType": {
            "type": "number"
          },
          "styleType": {
            "type": "number"
          },
          "certificate_of_hygienic": {
            "type": "string"
          },
          "thai_chef": {
            "type": "number"
          },
          "thai_chef_exp": {
            "type": "number"
          },
          "foreign_chef": {
            "type": "number"
          },
          "foreign_chef_exp": {
            "type": "number"
          },
          "front_officer": {
            "type": "number"
          },
          "other_person": {
            "type": "number"
          },
          "other": {
            "type": "string"
          },
          "num_of_seat": {
            "type": "number"
          },
          "spce": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "regRestaurantId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegRestaurantServiceWithRelations"
      },
      "RegRestaurantBusinessWithRelations": {
        "title": "RegRestaurantBusinessWithRelations",
        "type": "object",
        "description": "(tsType: RegRestaurantBusinessWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "regRestaurantId": {
            "type": "number"
          },
          "branch_in_country": {
            "type": "number"
          },
          "branch_oversea": {
            "type": "number"
          },
          "customer_thai": {
            "type": "number"
          },
          "customer_non_thai": {
            "type": "number"
          },
          "turnover_per_year": {
            "type": "number"
          },
          "ingredient_used": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "ingredient_used_other": {
            "type": "string"
          },
          "purchase_material": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "purchase_material_other": {
            "type": "string"
          },
          "marketing_ads": {
            "type": "object"
          },
          "marketing_ads_other": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "regRestaurantId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegRestaurantBusinessWithRelations"
      },
      "RegRestaurantDocWithRelations": {
        "title": "RegRestaurantDocWithRelations",
        "type": "object",
        "description": "(tsType: RegRestaurantDocWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "regRestaurantId": {
            "type": "number"
          },
          "images_signature": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "images_internal": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "images_external": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "prvious_certificate": {
            "type": "string"
          },
          "doc1": {
            "type": "string"
          },
          "doc2": {
            "type": "string"
          },
          "doc3": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "regRestaurantId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegRestaurantDocWithRelations"
      },
      "RegRestaurantRequestWithRelations": {
        "title": "RegRestaurantRequestWithRelations",
        "type": "object",
        "description": "(tsType: RegRestaurantRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCodePhone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "countryCodeFax": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "registerType": {
            "type": "number"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_countryCodePhone": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "registered_capital": {
            "type": "string"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "number"
          },
          "registered_month": {
            "type": "number"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "isRenew": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "services": {
            "type": "object"
          },
          "business": {
            "type": "object"
          },
          "doc": {
            "type": "object"
          },
          "regRestaurantService": {
            "$ref": "#/components/schemas/RegRestaurantServiceWithRelations"
          },
          "regRestaurantBusiness": {
            "$ref": "#/components/schemas/RegRestaurantBusinessWithRelations"
          },
          "regRestaurantDoc": {
            "$ref": "#/components/schemas/RegRestaurantDocWithRelations"
          },
          "country": {
            "$ref": "#/components/schemas/AddressCountriesWithRelations"
          },
          "state": {
            "$ref": "#/components/schemas/AddressStateWithRelations"
          },
          "district": {
            "$ref": "#/components/schemas/AddressDistrictWithRelations"
          },
          "subdistrict": {
            "$ref": "#/components/schemas/AddressSubDistrictWithRelations"
          }
        },
        "required": [
          "name",
          "address"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegRestaurantRequestWithRelations"
      },
      "RegRestaurantRequestPartial": {
        "title": "RegRestaurantRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<RegRestaurantRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCodePhone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "countryCodeFax": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "registerType": {
            "type": "number"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_countryCodePhone": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "registered_capital": {
            "type": "string"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "number"
          },
          "registered_month": {
            "type": "number"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "isRenew": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "services": {
            "type": "object"
          },
          "business": {
            "type": "object"
          },
          "doc": {
            "type": "object"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RegRestaurantRequest>"
      },
      "RegRestaurantRequest": {
        "title": "RegRestaurantRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCodePhone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "countryCodeFax": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "registerType": {
            "type": "number"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_countryCodePhone": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "registered_capital": {
            "type": "string"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "number"
          },
          "registered_month": {
            "type": "number"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "isRenew": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "services": {
            "type": "object"
          },
          "business": {
            "type": "object"
          },
          "doc": {
            "type": "object"
          }
        },
        "required": [
          "name",
          "address"
        ],
        "additionalProperties": false
      },
      "RegDraff": {
        "title": "RegDraff",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "form_type": {
            "type": "number"
          },
          "draff": {
            "type": "object"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "customerId"
        ],
        "additionalProperties": false
      },
      "NewRegDraff": {
        "title": "NewRegDraff",
        "type": "object",
        "description": "(tsType: Omit<RegDraff, 'id'>, schemaOptions: { title: 'NewRegDraff', exclude: [ 'id' ] })",
        "properties": {
          "customerId": {
            "type": "number"
          },
          "form_type": {
            "type": "number"
          },
          "draff": {
            "type": "object"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "customerId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<RegDraff, 'id'>"
      },
      "RegProductCompanyWithRelations": {
        "title": "RegProductCompanyWithRelations",
        "type": "object",
        "description": "(tsType: RegProductCompanyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "regProductId": {
            "type": "number"
          },
          "company_th": {
            "type": "string"
          },
          "company_en": {
            "type": "string"
          },
          "holder_in_country": {
            "type": "number"
          },
          "holder_oversea": {
            "type": "number"
          },
          "registered_capital": {
            "type": "number"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "string"
          },
          "registered_month": {
            "type": "string"
          },
          "registered_month_year": {
            "type": "string"
          },
          "el_no": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "regProductId",
          "company_th"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegProductCompanyWithRelations"
      },
      "RegProductItemWithRelations": {
        "title": "RegProductItemWithRelations",
        "type": "object",
        "description": "(tsType: RegProductItemWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "ref": {
            "type": "number"
          },
          "regProductId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "name_th": {
            "type": "string"
          },
          "fda_no": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "brand_th": {
            "type": "string"
          },
          "img_overview": {
            "type": "string"
          },
          "img_logo": {
            "type": "string"
          },
          "img_brochure": {
            "type": "string"
          },
          "img_ingredient": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "isRenew": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "regProductId",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegProductItemWithRelations"
      },
      "RegProductDocWithRelations": {
        "title": "RegProductDocWithRelations",
        "type": "object",
        "description": "(tsType: RegProductDocWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "regProductId": {
            "type": "number"
          },
          "docType": {
            "type": "number"
          },
          "docType_name": {
            "type": "string"
          },
          "docType_name_other": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "expiredDate": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "regProductId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegProductDocWithRelations"
      },
      "RegProductRequestWithRelations": {
        "title": "RegProductRequestWithRelations",
        "type": "object",
        "description": "(tsType: RegProductRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "periodId": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_prefix": {
            "type": "number"
          },
          "contact_fname_th": {
            "type": "string"
          },
          "contact_lname_th": {
            "type": "string"
          },
          "contact_fname_en": {
            "type": "string"
          },
          "contact_lname_en": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "contact_countryCode": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "registerType": {
            "type": "number"
          },
          "marketing_in_country": {
            "type": "string"
          },
          "marketing_oversea": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "company": {
            "type": "object"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "docs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "regProductCompany": {
            "$ref": "#/components/schemas/RegProductCompanyWithRelations"
          },
          "regProductItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegProductItemWithRelations"
            }
          },
          "regProductDocs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegProductDocWithRelations"
            }
          },
          "country": {
            "$ref": "#/components/schemas/AddressCountriesWithRelations"
          },
          "state": {
            "$ref": "#/components/schemas/AddressStateWithRelations"
          },
          "district": {
            "$ref": "#/components/schemas/AddressDistrictWithRelations"
          },
          "subdistrict": {
            "$ref": "#/components/schemas/AddressSubDistrictWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RegProductRequestWithRelations"
      },
      "RegProduct": {
        "title": "RegProduct",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "periodId": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_prefix": {
            "type": "number"
          },
          "contact_fname_th": {
            "type": "string"
          },
          "contact_lname_th": {
            "type": "string"
          },
          "contact_fname_en": {
            "type": "string"
          },
          "contact_lname_en": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "contact_countryCode": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "registerType": {
            "type": "number"
          },
          "marketing_in_country": {
            "type": "string"
          },
          "marketing_oversea": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewRegProductRequestv1": {
        "title": "NewRegProductRequestv1",
        "type": "object",
        "description": "(tsType: Omit<RegProductRequest, 'id'>, schemaOptions: { title: 'NewRegProductRequestv1', exclude: [ 'id' ] })",
        "properties": {
          "customerId": {
            "type": "number"
          },
          "periodId": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_prefix": {
            "type": "number"
          },
          "contact_fname_th": {
            "type": "string"
          },
          "contact_lname_th": {
            "type": "string"
          },
          "contact_fname_en": {
            "type": "string"
          },
          "contact_lname_en": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "contact_countryCode": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "registerType": {
            "type": "number"
          },
          "marketing_in_country": {
            "type": "string"
          },
          "marketing_oversea": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "company": {
            "type": "object"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "docs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<RegProductRequest, 'id'>"
      },
      "RegProductWithRelations": {
        "title": "RegProductWithRelations",
        "type": "object",
        "description": "(tsType: RegProductWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "periodId": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_prefix": {
            "type": "number"
          },
          "contact_fname_th": {
            "type": "string"
          },
          "contact_lname_th": {
            "type": "string"
          },
          "contact_fname_en": {
            "type": "string"
          },
          "contact_lname_en": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "contact_countryCode": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "registerType": {
            "type": "number"
          },
          "marketing_in_country": {
            "type": "string"
          },
          "marketing_oversea": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "regProductCompany": {
            "$ref": "#/components/schemas/RegProductCompanyWithRelations"
          },
          "regProductItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegProductItemWithRelations"
            }
          },
          "regProductDocs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegProductDocWithRelations"
            }
          },
          "country": {
            "$ref": "#/components/schemas/AddressCountriesWithRelations"
          },
          "state": {
            "$ref": "#/components/schemas/AddressStateWithRelations"
          },
          "district": {
            "$ref": "#/components/schemas/AddressDistrictWithRelations"
          },
          "subdistrict": {
            "$ref": "#/components/schemas/AddressSubDistrictWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RegProductWithRelations"
      },
      "RegProductRequestPartial": {
        "title": "RegProductRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<RegProductRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "periodId": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_prefix": {
            "type": "number"
          },
          "contact_fname_th": {
            "type": "string"
          },
          "contact_lname_th": {
            "type": "string"
          },
          "contact_fname_en": {
            "type": "string"
          },
          "contact_lname_en": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "contact_countryCode": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "registerType": {
            "type": "number"
          },
          "marketing_in_country": {
            "type": "string"
          },
          "marketing_oversea": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "company": {
            "type": "object"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "docs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RegProductRequest>"
      },
      "RegProductRequest": {
        "title": "RegProductRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "periodId": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_prefix": {
            "type": "number"
          },
          "contact_fname_th": {
            "type": "string"
          },
          "contact_lname_th": {
            "type": "string"
          },
          "contact_fname_en": {
            "type": "string"
          },
          "contact_lname_en": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "contact_countryCode": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "registerType": {
            "type": "number"
          },
          "marketing_in_country": {
            "type": "string"
          },
          "marketing_oversea": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "company": {
            "type": "object"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "docs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "RegProductPreiodWithRelations": {
        "title": "RegProductPreiodWithRelations",
        "type": "object",
        "description": "(tsType: RegProductPreiodWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "startdate": {
            "type": "string",
            "format": "date-time"
          },
          "enddate": {
            "type": "string",
            "format": "date-time"
          },
          "updateBy": {
            "type": "number"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "startdate",
          "enddate",
          "updateBy"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegProductPreiodWithRelations"
      },
      "Recepes": {
        "title": "Recepes",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "foodType": {
            "type": "number"
          },
          "level": {
            "type": "number"
          },
          "vdo": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "foodTypeId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewRecepesRequest": {
        "title": "NewRecepesRequest",
        "type": "object",
        "description": "(tsType: Omit<RecepesRequest, 'id'>, schemaOptions: { title: 'NewRecepesRequest', exclude: [ 'id' ] })",
        "properties": {
          "coverImg": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "foodType": {
            "type": "number"
          },
          "level": {
            "type": "number"
          },
          "vdo": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "foodTypeId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<RecepesRequest, 'id'>"
      },
      "RecepesRequestWithRelations": {
        "title": "RecepesRequestWithRelations",
        "type": "object",
        "description": "(tsType: RecepesRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "foodType": {
            "type": "number"
          },
          "level": {
            "type": "number"
          },
          "vdo": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "foodTypeId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "recepesTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecepesTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RecepesRequestWithRelations"
      },
      "RecepesRequestPartial": {
        "title": "RecepesRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<RecepesRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "foodType": {
            "type": "number"
          },
          "level": {
            "type": "number"
          },
          "vdo": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "foodTypeId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RecepesRequest>"
      },
      "RecepesRequest": {
        "title": "RecepesRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "foodType": {
            "type": "number"
          },
          "level": {
            "type": "number"
          },
          "vdo": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "foodTypeId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "Product": {
        "title": "Product",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewProduct": {
        "title": "NewProduct",
        "type": "object",
        "description": "(tsType: Omit<ProductRequest, 'id'>, schemaOptions: { title: 'NewProduct', exclude: [ 'id' ] })",
        "properties": {
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProductRequest, 'id'>"
      },
      "ProductTextWithRelations": {
        "title": "ProductTextWithRelations",
        "type": "object",
        "description": "(tsType: ProductTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "lgId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "productId",
          "lgId",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProductTextWithRelations"
      },
      "ProductImageWithRelations": {
        "title": "ProductImageWithRelations",
        "type": "object",
        "description": "(tsType: ProductImageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "orderItem": {
            "type": "number"
          },
          "imgUrl": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "productId": {
            "type": "number"
          }
        },
        "required": [
          "imgUrl"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProductImageWithRelations"
      },
      "CompanyTextWithRelations": {
        "title": "CompanyTextWithRelations",
        "type": "object",
        "description": "(tsType: CompanyTextWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "companyId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "lgId": {
            "type": "number"
          },
          "detail": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "companyId",
          "name",
          "lgId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CompanyTextWithRelations"
      },
      "CompanyWithRelations": {
        "title": "CompanyWithRelations",
        "type": "object",
        "description": "(tsType: CompanyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "ref": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "migrateMemberId": {
            "type": "number"
          },
          "holder_in_country": {
            "type": "number"
          },
          "holder_oversea": {
            "type": "number"
          },
          "domestic": {
            "type": "number"
          },
          "abroad": {
            "type": "number"
          },
          "manufacturing_standards": {
            "type": "string"
          },
          "registered_capital": {
            "type": "number"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "string"
          },
          "registered_month": {
            "type": "string"
          },
          "el_no": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "contactNo": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "state_other": {
            "type": "string"
          },
          "district_other": {
            "type": "string"
          },
          "subdiscrict_other": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "registered_date": {
            "type": "string",
            "format": "date-time"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "companyTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyTextWithRelations"
            }
          },
          "country": {
            "$ref": "#/components/schemas/AddressCountriesWithRelations"
          },
          "state": {
            "$ref": "#/components/schemas/AddressStateWithRelations"
          },
          "district": {
            "$ref": "#/components/schemas/AddressDistrictWithRelations"
          },
          "subdistrict": {
            "$ref": "#/components/schemas/AddressSubDistrictWithRelations"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CompanyWithRelations"
      },
      "ProductRequestWithRelations": {
        "title": "ProductRequestWithRelations",
        "type": "object",
        "description": "(tsType: ProductRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "productTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductTextWithRelations"
            }
          },
          "productImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImageWithRelations"
            }
          },
          "company": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProductRequestWithRelations"
      },
      "Company": {
        "title": "Company",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "ref": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "migrateMemberId": {
            "type": "number"
          },
          "holder_in_country": {
            "type": "number"
          },
          "holder_oversea": {
            "type": "number"
          },
          "domestic": {
            "type": "number"
          },
          "abroad": {
            "type": "number"
          },
          "manufacturing_standards": {
            "type": "string"
          },
          "registered_capital": {
            "type": "number"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "string"
          },
          "registered_month": {
            "type": "string"
          },
          "el_no": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "contactNo": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "state_other": {
            "type": "string"
          },
          "district_other": {
            "type": "string"
          },
          "subdiscrict_other": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "registered_date": {
            "type": "string",
            "format": "date-time"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "Popup": {
        "title": "Popup",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "img_desktop_url": {
            "type": "string"
          },
          "img_mobile_url": {
            "type": "string"
          },
          "startdate": {
            "type": "string",
            "format": "date-time"
          },
          "enddate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "required": [
          "title",
          "startdate",
          "enddate"
        ],
        "additionalProperties": false
      },
      "NewPopup": {
        "title": "NewPopup",
        "type": "object",
        "description": "(tsType: Omit<Popup, 'id'>, schemaOptions: { title: 'NewPopup', exclude: [ 'id' ] })",
        "properties": {
          "title": {
            "type": "string"
          },
          "img_desktop_url": {
            "type": "string"
          },
          "img_mobile_url": {
            "type": "string"
          },
          "startdate": {
            "type": "string",
            "format": "date-time"
          },
          "enddate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "required": [
          "title",
          "startdate",
          "enddate"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Popup, 'id'>"
      },
      "PopupWithRelations": {
        "title": "PopupWithRelations",
        "type": "object",
        "description": "(tsType: PopupWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "img_desktop_url": {
            "type": "string"
          },
          "img_mobile_url": {
            "type": "string"
          },
          "startdate": {
            "type": "string",
            "format": "date-time"
          },
          "enddate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "required": [
          "title",
          "startdate",
          "enddate"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PopupWithRelations"
      },
      "PopupPartial": {
        "title": "PopupPartial",
        "type": "object",
        "description": "(tsType: Partial<Popup>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "img_desktop_url": {
            "type": "string"
          },
          "img_mobile_url": {
            "type": "string"
          },
          "startdate": {
            "type": "string",
            "format": "date-time"
          },
          "enddate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Popup>"
      },
      "News": {
        "title": "News",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "pressdate": {
            "type": "string",
            "format": "date-time"
          },
          "contentType": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewNewsRequest": {
        "title": "NewNewsRequest",
        "type": "object",
        "description": "(tsType: Omit<NewsRequest, 'id'>, schemaOptions: { title: 'NewNewsRequest', exclude: [ 'id' ] })",
        "properties": {
          "pressdate": {
            "type": "string",
            "format": "date-time"
          },
          "contentType": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<NewsRequest, 'id'>"
      },
      "NewsRequestWithRelations": {
        "title": "NewsRequestWithRelations",
        "type": "object",
        "description": "(tsType: NewsRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pressdate": {
            "type": "string",
            "format": "date-time"
          },
          "contentType": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "newsTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewsTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "NewsRequestWithRelations"
      },
      "NewsRequestPartial": {
        "title": "NewsRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<NewsRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pressdate": {
            "type": "string",
            "format": "date-time"
          },
          "contentType": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<NewsRequest>"
      },
      "NewsRequest": {
        "title": "NewsRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "pressdate": {
            "type": "string",
            "format": "date-time"
          },
          "contentType": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "NewMemberRequest": {
        "title": "NewMemberRequest",
        "type": "object",
        "description": "(tsType: Omit<NewMemberRequest, 'id'>, schemaOptions: { title: 'NewMemberRequest', exclude: [ 'id' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "firstname": {
            "type": "string"
          },
          "lastname": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "displayname": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verify": {
            "type": "boolean"
          },
          "is_ban": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "password": {
            "type": "string"
          },
          "territory": {
            "type": "object"
          }
        },
        "required": [
          "email",
          "firstname",
          "password"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<NewMemberRequest, 'id'>"
      },
      "MemberCredentialWithRelations": {
        "title": "MemberCredentialWithRelations",
        "type": "object",
        "description": "(tsType: MemberCredentialWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "password": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "memberId",
          "password"
        ],
        "additionalProperties": false,
        "x-typescript-type": "MemberCredentialWithRelations"
      },
      "MemberLoginWithRelations": {
        "title": "MemberLoginWithRelations",
        "type": "object",
        "description": "(tsType: MemberLoginWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "udid": {
            "type": "string"
          },
          "pushToken": {
            "type": "string"
          },
          "loginToken": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "memberId",
          "udid",
          "pushToken",
          "loginToken"
        ],
        "additionalProperties": false,
        "x-typescript-type": "MemberLoginWithRelations"
      },
      "MemberWithRelations": {
        "title": "MemberWithRelations",
        "type": "object",
        "description": "(tsType: MemberWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "firstname": {
            "type": "string"
          },
          "lastname": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "displayname": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verify": {
            "type": "boolean"
          },
          "is_ban": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "memberCredential": {
            "$ref": "#/components/schemas/MemberCredentialWithRelations"
          },
          "memberLogins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberLoginWithRelations"
            }
          }
        },
        "required": [
          "email",
          "firstname"
        ],
        "additionalProperties": false,
        "x-typescript-type": "MemberWithRelations"
      },
      "TerritoryMemberWithRelations": {
        "title": "TerritoryMemberWithRelations",
        "type": "object",
        "description": "(tsType: TerritoryMemberWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "cc_emails": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "memberId": {
            "type": "number"
          },
          "territoryId": {
            "type": "number"
          },
          "member": {
            "$ref": "#/components/schemas/MemberWithRelations"
          },
          "territory": {
            "$ref": "#/components/schemas/TerritoryWithRelations"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TerritoryMemberWithRelations"
      },
      "TerritoryMemberPartial": {
        "title": "TerritoryMemberPartial",
        "type": "object",
        "description": "(tsType: Partial<TerritoryMember>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "cc_emails": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "memberId": {
            "type": "number"
          },
          "territoryId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TerritoryMember>"
      },
      "TerritoryMember": {
        "title": "TerritoryMember",
        "type": "object",
        "description": "(tsType: TerritoryMember, schemaOptions: { includeRelations: false })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "cc_emails": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "memberId": {
            "type": "number"
          },
          "territoryId": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TerritoryMember"
      },
      "MemberPartial": {
        "title": "MemberPartial",
        "type": "object",
        "description": "(tsType: Partial<Member>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "firstname": {
            "type": "string"
          },
          "lastname": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "displayname": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verify": {
            "type": "boolean"
          },
          "is_ban": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Member>"
      },
      "Language": {
        "title": "Language",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "orderItem": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "is_default": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "symbol",
          "title"
        ],
        "additionalProperties": false
      },
      "NewLanguage": {
        "title": "NewLanguage",
        "type": "object",
        "description": "(tsType: Omit<Language, 'id'>, schemaOptions: { title: 'NewLanguage', exclude: [ 'id' ] })",
        "properties": {
          "symbol": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "orderItem": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "is_default": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "symbol",
          "title"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Language, 'id'>"
      },
      "LanguageWithRelations": {
        "title": "LanguageWithRelations",
        "type": "object",
        "description": "(tsType: LanguageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "orderItem": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "is_default": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "symbol",
          "title"
        ],
        "additionalProperties": false,
        "x-typescript-type": "LanguageWithRelations"
      },
      "LanguagePartial": {
        "title": "LanguagePartial",
        "type": "object",
        "description": "(tsType: Partial<Language>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "orderItem": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "is_default": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Language>"
      },
      "Ingredients": {
        "title": "Ingredients",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "ingredientType": {
            "type": "number"
          },
          "ref": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "NewIngredientsRequest": {
        "title": "NewIngredientsRequest",
        "type": "object",
        "description": "(tsType: Omit<IngredientsRequest, 'id'>, schemaOptions: { title: 'NewIngredientsRequest', exclude: [ 'id' ] })",
        "properties": {
          "coverImg": {
            "type": "string"
          },
          "ingredientType": {
            "type": "number"
          },
          "ref": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<IngredientsRequest, 'id'>"
      },
      "IngredientsRequestWithRelations": {
        "title": "IngredientsRequestWithRelations",
        "type": "object",
        "description": "(tsType: IngredientsRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "ingredientType": {
            "type": "number"
          },
          "ref": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "ingredientsTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IngredientsTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "IngredientsRequestWithRelations"
      },
      "IngredientsRequestPartial": {
        "title": "IngredientsRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<IngredientsRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "ingredientType": {
            "type": "number"
          },
          "ref": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<IngredientsRequest>"
      },
      "IngredientsRequest": {
        "title": "IngredientsRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "ingredientType": {
            "type": "number"
          },
          "ref": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "FoodType": {
        "title": "FoodType",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewFoodType": {
        "title": "NewFoodType",
        "type": "object",
        "description": "(tsType: Omit<FoodTypeRequest, 'id'>, schemaOptions: { title: 'NewFoodType', exclude: [ 'id' ] })",
        "properties": {
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<FoodTypeRequest, 'id'>"
      },
      "FoodTypeRequestWithRelations": {
        "title": "FoodTypeRequestWithRelations",
        "type": "object",
        "description": "(tsType: FoodTypeRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "foodTypeTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodTypeTextWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "FoodTypeRequestWithRelations"
      },
      "FoodTypeRequestPartial": {
        "title": "FoodTypeRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<FoodTypeRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FoodTypeRequest>"
      },
      "FoodTypeRequest": {
        "title": "FoodTypeRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "datasearch": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderItem": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false
      },
      "NewCompanyRequest": {
        "title": "NewCompanyRequest",
        "type": "object",
        "description": "(tsType: Omit<CompanyRequest, 'id'>, schemaOptions: { title: 'NewCompanyRequest', exclude: [ 'id' ] })",
        "properties": {
          "ref": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "migrateMemberId": {
            "type": "number"
          },
          "holder_in_country": {
            "type": "number"
          },
          "holder_oversea": {
            "type": "number"
          },
          "domestic": {
            "type": "number"
          },
          "abroad": {
            "type": "number"
          },
          "manufacturing_standards": {
            "type": "string"
          },
          "registered_capital": {
            "type": "number"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "string"
          },
          "registered_month": {
            "type": "string"
          },
          "el_no": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "contactNo": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "state_other": {
            "type": "string"
          },
          "district_other": {
            "type": "string"
          },
          "subdiscrict_other": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "registered_date": {
            "type": "string",
            "format": "date-time"
          },
          "countryCode": {
            "type": "string"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "datasearch": {
            "type": "string"
          },
          "production_capacity": {
            "type": "string"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "texts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<CompanyRequest, 'id'>"
      },
      "NewProductInCompany": {
        "title": "NewProductInCompany",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Product, 'id'>, 'companyId'>, schemaOptions: { title: 'NewProductInCompany', exclude: [ 'id' ], optional: [ 'companyId' ] })",
        "properties": {
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Product, 'id'>, 'companyId'>"
      },
      "ProductPartial": {
        "title": "ProductPartial",
        "type": "object",
        "description": "(tsType: Partial<Product>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "coverImg": {
            "type": "string"
          },
          "productType": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "type": "string"
          },
          "districtId": {
            "type": "number"
          },
          "district": {
            "type": "string"
          },
          "subdistrictId": {
            "type": "number"
          },
          "subdistrict": {
            "type": "string"
          },
          "countryId": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isRecommend": {
            "type": "boolean"
          },
          "datasearch": {
            "type": "string"
          },
          "appliedDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Product>"
      },
      "RegRestaurantWithRelations": {
        "title": "RegRestaurantWithRelations",
        "type": "object",
        "description": "(tsType: RegRestaurantWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "zipcode": {
            "type": "string"
          },
          "countryCodePhone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "countryCodeFax": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "registerType": {
            "type": "number"
          },
          "contact_person": {
            "type": "string"
          },
          "contact_position": {
            "type": "string"
          },
          "contact_countryCodePhone": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "contact_email": {
            "type": "string"
          },
          "registered_capital": {
            "type": "string"
          },
          "registered_no": {
            "type": "string"
          },
          "registered_year": {
            "type": "number"
          },
          "registered_month": {
            "type": "number"
          },
          "accept_condition": {
            "type": "boolean"
          },
          "isRenew": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "countryId": {
            "type": "number"
          },
          "stateId": {
            "type": "number"
          },
          "districtId": {
            "type": "number"
          },
          "subdistrictId": {
            "type": "number"
          },
          "regRestaurantService": {
            "$ref": "#/components/schemas/RegRestaurantServiceWithRelations"
          },
          "regRestaurantBusiness": {
            "$ref": "#/components/schemas/RegRestaurantBusinessWithRelations"
          },
          "regRestaurantDoc": {
            "$ref": "#/components/schemas/RegRestaurantDocWithRelations"
          },
          "country": {
            "$ref": "#/components/schemas/AddressCountriesWithRelations"
          },
          "state": {
            "$ref": "#/components/schemas/AddressStateWithRelations"
          },
          "district": {
            "$ref": "#/components/schemas/AddressDistrictWithRelations"
          },
          "subdistrict": {
            "$ref": "#/components/schemas/AddressSubDistrictWithRelations"
          }
        },
        "required": [
          "name",
          "address"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RegRestaurantWithRelations"
      },
      "TerritoryScoreWithRelations": {
        "title": "TerritoryScoreWithRelations",
        "type": "object",
        "description": "(tsType: TerritoryScoreWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "trId": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "emblemType": {
            "type": "number"
          },
          "regRestaurantId": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "openTime": {
            "type": "string"
          },
          "closeTime": {
            "type": "string"
          },
          "territoryId": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "inspectors": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "score": {
            "type": "object"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "trId",
          "memberId",
          "emblemType",
          "regRestaurantId",
          "territoryId",
          "countryId",
          "inspectors"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TerritoryScoreWithRelations"
      },
      "TerritoryRestaurantWithRelations": {
        "title": "TerritoryRestaurantWithRelations",
        "type": "object",
        "description": "(tsType: TerritoryRestaurantWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "territoryId": {
            "type": "number"
          },
          "isSend": {
            "type": "boolean"
          },
          "isApprove": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "registerType": {
            "type": "number"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          },
          "updatedtime": {
            "type": "string",
            "format": "date-time"
          },
          "regRestaurantId": {
            "type": "number"
          },
          "regRestaurant": {
            "$ref": "#/components/schemas/RegRestaurantWithRelations"
          },
          "territoryScore": {
            "$ref": "#/components/schemas/TerritoryScoreWithRelations"
          }
        },
        "required": [
          "territoryId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TerritoryRestaurantWithRelations"
      },
      "TerritoryScore": {
        "title": "TerritoryScore",
        "type": "object",
        "description": "(tsType: Omit<TerritoryScore, 'id'>, schemaOptions: { title: 'TerritoryScore', exclude: [ 'id' ] })",
        "properties": {
          "trId": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "emblemType": {
            "type": "number"
          },
          "regRestaurantId": {
            "type": "number"
          },
          "tel": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "openTime": {
            "type": "string"
          },
          "closeTime": {
            "type": "string"
          },
          "territoryId": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "inspectors": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "score": {
            "type": "object"
          },
          "createdtime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "trId",
          "memberId",
          "emblemType",
          "regRestaurantId",
          "territoryId",
          "countryId",
          "inspectors"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TerritoryScore, 'id'>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "Company.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Company.ScopeFilter"
      },
      "Company.IncludeFilter.Items": {
        "title": "Company.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "companyTexts",
              "country",
              "state",
              "district",
              "subdistrict",
              "products"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Company.ScopeFilter"
          }
        }
      },
      "Company.Filter": {
        "type": "object",
        "title": "Company.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "ref": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "migrateMemberId": {
                    "type": "boolean"
                  },
                  "holder_in_country": {
                    "type": "boolean"
                  },
                  "holder_oversea": {
                    "type": "boolean"
                  },
                  "domestic": {
                    "type": "boolean"
                  },
                  "abroad": {
                    "type": "boolean"
                  },
                  "manufacturing_standards": {
                    "type": "boolean"
                  },
                  "registered_capital": {
                    "type": "boolean"
                  },
                  "registered_no": {
                    "type": "boolean"
                  },
                  "registered_year": {
                    "type": "boolean"
                  },
                  "registered_month": {
                    "type": "boolean"
                  },
                  "el_no": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "contactNo": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "state_other": {
                    "type": "boolean"
                  },
                  "district_other": {
                    "type": "boolean"
                  },
                  "subdiscrict_other": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "registered_date": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "contact_person": {
                    "type": "boolean"
                  },
                  "contact_position": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "contact_email": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "production_capacity": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "ref",
                    "customerId",
                    "migrateMemberId",
                    "holder_in_country",
                    "holder_oversea",
                    "domestic",
                    "abroad",
                    "manufacturing_standards",
                    "registered_capital",
                    "registered_no",
                    "registered_year",
                    "registered_month",
                    "el_no",
                    "isActive",
                    "contactNo",
                    "address",
                    "state_other",
                    "district_other",
                    "subdiscrict_other",
                    "zipcode",
                    "registered_date",
                    "countryCode",
                    "tel",
                    "fax",
                    "email",
                    "website",
                    "contact_person",
                    "contact_position",
                    "contact_phone",
                    "contact_email",
                    "datasearch",
                    "production_capacity",
                    "createdtime",
                    "updatedtime",
                    "countryId",
                    "stateId",
                    "districtId",
                    "subdistrictId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Company.Fields"
          },
          "include": {
            "title": "Company.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Company.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Company>"
      },
      "Company.Filter1": {
        "type": "object",
        "title": "Company.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Company.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "ref": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "migrateMemberId": {
                    "type": "boolean"
                  },
                  "holder_in_country": {
                    "type": "boolean"
                  },
                  "holder_oversea": {
                    "type": "boolean"
                  },
                  "domestic": {
                    "type": "boolean"
                  },
                  "abroad": {
                    "type": "boolean"
                  },
                  "manufacturing_standards": {
                    "type": "boolean"
                  },
                  "registered_capital": {
                    "type": "boolean"
                  },
                  "registered_no": {
                    "type": "boolean"
                  },
                  "registered_year": {
                    "type": "boolean"
                  },
                  "registered_month": {
                    "type": "boolean"
                  },
                  "el_no": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "contactNo": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "state_other": {
                    "type": "boolean"
                  },
                  "district_other": {
                    "type": "boolean"
                  },
                  "subdiscrict_other": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "registered_date": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "contact_person": {
                    "type": "boolean"
                  },
                  "contact_position": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "contact_email": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "production_capacity": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "ref",
                    "customerId",
                    "migrateMemberId",
                    "holder_in_country",
                    "holder_oversea",
                    "domestic",
                    "abroad",
                    "manufacturing_standards",
                    "registered_capital",
                    "registered_no",
                    "registered_year",
                    "registered_month",
                    "el_no",
                    "isActive",
                    "contactNo",
                    "address",
                    "state_other",
                    "district_other",
                    "subdiscrict_other",
                    "zipcode",
                    "registered_date",
                    "countryCode",
                    "tel",
                    "fax",
                    "email",
                    "website",
                    "contact_person",
                    "contact_position",
                    "contact_phone",
                    "contact_email",
                    "datasearch",
                    "production_capacity",
                    "createdtime",
                    "updatedtime",
                    "countryId",
                    "stateId",
                    "districtId",
                    "subdistrictId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Company.Fields"
          },
          "include": {
            "title": "Company.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Company.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Company>"
      },
      "AddressCountries.Filter": {
        "type": "object",
        "title": "AddressCountries.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "AddressCountries.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "runId": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "ISONumberic": {
                    "type": "boolean"
                  },
                  "countryLongCode": {
                    "type": "boolean"
                  },
                  "nameTh": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "countryISD": {
                    "type": "boolean"
                  },
                  "currencyCode": {
                    "type": "boolean"
                  },
                  "capital": {
                    "type": "boolean"
                  },
                  "continent": {
                    "type": "boolean"
                  },
                  "continentName": {
                    "type": "boolean"
                  },
                  "population": {
                    "type": "boolean"
                  },
                  "north": {
                    "type": "boolean"
                  },
                  "east": {
                    "type": "boolean"
                  },
                  "south": {
                    "type": "boolean"
                  },
                  "west": {
                    "type": "boolean"
                  },
                  "areaInSqKm": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "status",
                    "runId",
                    "countryId",
                    "countryCode",
                    "ISONumberic",
                    "countryLongCode",
                    "nameTh",
                    "nameEn",
                    "countryISD",
                    "currencyCode",
                    "capital",
                    "continent",
                    "continentName",
                    "population",
                    "north",
                    "east",
                    "south",
                    "west",
                    "areaInSqKm"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "AddressCountries.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AddressCountries>"
      },
      "AddressDistrict.Filter": {
        "type": "object",
        "title": "AddressDistrict.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "AddressDistrict.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "nameTh": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "provinceCode": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "countryId",
                    "countryCode",
                    "stateId",
                    "districtId",
                    "nameEn",
                    "nameTh",
                    "code",
                    "provinceCode"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "AddressDistrict.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AddressDistrict>"
      },
      "FoodType.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "FoodType.ScopeFilter"
      },
      "FoodType.IncludeFilter.Items": {
        "title": "FoodType.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "foodTypeTexts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FoodType.ScopeFilter"
          }
        }
      },
      "FoodType.Filter": {
        "type": "object",
        "title": "FoodType.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "orderItem": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "datasearch",
                    "isActive",
                    "orderItem",
                    "createdtime",
                    "updatedtime"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "FoodType.Fields"
          },
          "include": {
            "title": "FoodType.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FoodType.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FoodType>"
      },
      "FoodType.Filter1": {
        "type": "object",
        "title": "FoodType.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "FoodType.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "orderItem": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "datasearch",
                    "isActive",
                    "orderItem",
                    "createdtime",
                    "updatedtime"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "FoodType.Fields"
          },
          "include": {
            "title": "FoodType.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FoodType.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FoodType>"
      },
      "Ingredients.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Ingredients.ScopeFilter"
      },
      "Ingredients.IncludeFilter.Items": {
        "title": "Ingredients.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "ingredientsTexts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Ingredients.ScopeFilter"
          }
        }
      },
      "Ingredients.Filter": {
        "type": "object",
        "title": "Ingredients.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "ingredientType": {
                    "type": "boolean"
                  },
                  "ref": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "tags": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "ingredientType",
                    "ref",
                    "isActive",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "tags"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Ingredients.Fields"
          },
          "include": {
            "title": "Ingredients.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Ingredients.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Ingredients>"
      },
      "Ingredients.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Ingredients.ScopeFilter"
      },
      "Ingredients.IncludeFilter.Items1": {
        "title": "Ingredients.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "ingredientsTexts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Ingredients.ScopeFilter1"
          }
        }
      },
      "Ingredients.Filter1": {
        "type": "object",
        "title": "Ingredients.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Ingredients.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "ingredientType": {
                    "type": "boolean"
                  },
                  "ref": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "tags": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "ingredientType",
                    "ref",
                    "isActive",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "tags"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Ingredients.Fields"
          },
          "include": {
            "title": "Ingredients.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Ingredients.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Ingredients>"
      },
      "Language.Filter": {
        "type": "object",
        "title": "Language.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "symbol": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "orderItem": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "is_default": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "symbol",
                    "title",
                    "orderItem",
                    "isActive",
                    "is_default",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Language.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Language>"
      },
      "Language.Filter1": {
        "type": "object",
        "title": "Language.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Language.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "symbol": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "orderItem": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "is_default": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "symbol",
                    "title",
                    "orderItem",
                    "isActive",
                    "is_default",
                    "createdtime",
                    "updatedtime"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Language.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Language>"
      },
      "Member.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Member.ScopeFilter"
      },
      "Member.IncludeFilter.Items": {
        "title": "Member.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "memberCredential",
              "memberLogins"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Member.ScopeFilter"
          }
        }
      },
      "Member.Filter": {
        "type": "object",
        "title": "Member.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "mobile": {
                    "type": "boolean"
                  },
                  "firstname": {
                    "type": "boolean"
                  },
                  "lastname": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "displayname": {
                    "type": "boolean"
                  },
                  "roles": {
                    "type": "boolean"
                  },
                  "verify": {
                    "type": "boolean"
                  },
                  "is_ban": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "email",
                    "mobile",
                    "firstname",
                    "lastname",
                    "gender",
                    "datasearch",
                    "displayname",
                    "roles",
                    "verify",
                    "is_ban",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Member.Fields"
          },
          "include": {
            "title": "Member.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Member.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Member>"
      },
      "Member.Filter1": {
        "type": "object",
        "title": "Member.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Member.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "mobile": {
                    "type": "boolean"
                  },
                  "firstname": {
                    "type": "boolean"
                  },
                  "lastname": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "displayname": {
                    "type": "boolean"
                  },
                  "roles": {
                    "type": "boolean"
                  },
                  "verify": {
                    "type": "boolean"
                  },
                  "is_ban": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "email",
                    "mobile",
                    "firstname",
                    "lastname",
                    "gender",
                    "datasearch",
                    "displayname",
                    "roles",
                    "verify",
                    "is_ban",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Member.Fields"
          },
          "include": {
            "title": "Member.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Member.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Member>"
      },
      "News.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "News.ScopeFilter"
      },
      "News.IncludeFilter.Items": {
        "title": "News.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "newsTexts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/News.ScopeFilter"
          }
        }
      },
      "News.Filter": {
        "type": "object",
        "title": "News.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "pressdate": {
                    "type": "boolean"
                  },
                  "contentType": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isRecommend": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "pressdate",
                    "contentType",
                    "coverImg",
                    "isActive",
                    "datasearch",
                    "isRecommend",
                    "createdtime",
                    "updatedtime"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "News.Fields"
          },
          "include": {
            "title": "News.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/News.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<News>"
      },
      "News.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "News.ScopeFilter"
      },
      "News.IncludeFilter.Items1": {
        "title": "News.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "newsTexts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/News.ScopeFilter1"
          }
        }
      },
      "News.Filter1": {
        "type": "object",
        "title": "News.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "News.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "pressdate": {
                    "type": "boolean"
                  },
                  "contentType": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isRecommend": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "pressdate",
                    "contentType",
                    "coverImg",
                    "isActive",
                    "datasearch",
                    "isRecommend",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "News.Fields"
          },
          "include": {
            "title": "News.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/News.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<News>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "Popup.Filter": {
        "type": "object",
        "title": "Popup.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "img_desktop_url": {
                    "type": "boolean"
                  },
                  "img_mobile_url": {
                    "type": "boolean"
                  },
                  "startdate": {
                    "type": "boolean"
                  },
                  "enddate": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "title",
                    "img_desktop_url",
                    "img_mobile_url",
                    "startdate",
                    "enddate",
                    "createdtime",
                    "updatedtime",
                    "isActive"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Popup.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Popup>"
      },
      "Popup.Filter1": {
        "type": "object",
        "title": "Popup.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Popup.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "img_desktop_url": {
                    "type": "boolean"
                  },
                  "img_mobile_url": {
                    "type": "boolean"
                  },
                  "startdate": {
                    "type": "boolean"
                  },
                  "enddate": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "title",
                    "img_desktop_url",
                    "img_mobile_url",
                    "startdate",
                    "enddate",
                    "createdtime",
                    "updatedtime",
                    "isActive"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Popup.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Popup>"
      },
      "Product.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Product.ScopeFilter"
      },
      "Product.IncludeFilter.Items": {
        "title": "Product.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "productTexts",
              "productImages",
              "company"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Product.ScopeFilter"
          }
        }
      },
      "Product.Filter": {
        "type": "object",
        "title": "Product.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "productType": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "district": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  },
                  "subdistrict": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "country": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "isRecommend": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "appliedDate": {
                    "type": "boolean"
                  },
                  "expiredDate": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "companyId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "productType",
                    "tel",
                    "email",
                    "website",
                    "address",
                    "stateId",
                    "state",
                    "districtId",
                    "district",
                    "subdistrictId",
                    "subdistrict",
                    "countryId",
                    "country",
                    "zipcode",
                    "isActive",
                    "isRecommend",
                    "datasearch",
                    "appliedDate",
                    "expiredDate",
                    "createdtime",
                    "updatedtime",
                    "companyId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Product.Fields"
          },
          "include": {
            "title": "Product.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Product.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Product>"
      },
      "Product.Filter1": {
        "type": "object",
        "title": "Product.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Product.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "productType": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "district": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  },
                  "subdistrict": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "country": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "isRecommend": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "appliedDate": {
                    "type": "boolean"
                  },
                  "expiredDate": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "companyId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "productType",
                    "tel",
                    "email",
                    "website",
                    "address",
                    "stateId",
                    "state",
                    "districtId",
                    "district",
                    "subdistrictId",
                    "subdistrict",
                    "countryId",
                    "country",
                    "zipcode",
                    "isActive",
                    "isRecommend",
                    "datasearch",
                    "appliedDate",
                    "expiredDate",
                    "createdtime",
                    "updatedtime",
                    "companyId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Product.Fields"
          },
          "include": {
            "title": "Product.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Product.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Product>"
      },
      "Recepes.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Recepes.ScopeFilter"
      },
      "Recepes.IncludeFilter.Items": {
        "title": "Recepes.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "recepesTexts",
              "foodType"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Recepes.ScopeFilter"
          }
        }
      },
      "Recepes.Filter": {
        "type": "object",
        "title": "Recepes.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "youtube": {
                    "type": "boolean"
                  },
                  "foodType": {
                    "type": "boolean"
                  },
                  "level": {
                    "type": "boolean"
                  },
                  "vdo": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "tags": {
                    "type": "boolean"
                  },
                  "foodTypeId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "youtube",
                    "foodType",
                    "level",
                    "vdo",
                    "isActive",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "tags",
                    "foodTypeId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Recepes.Fields"
          },
          "include": {
            "title": "Recepes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Recepes.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Recepes>"
      },
      "Recepes.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Recepes.ScopeFilter"
      },
      "Recepes.IncludeFilter.Items1": {
        "title": "Recepes.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "recepesTexts",
              "foodType"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Recepes.ScopeFilter1"
          }
        }
      },
      "Recepes.Filter1": {
        "type": "object",
        "title": "Recepes.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Recepes.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "youtube": {
                    "type": "boolean"
                  },
                  "foodType": {
                    "type": "boolean"
                  },
                  "level": {
                    "type": "boolean"
                  },
                  "vdo": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "tags": {
                    "type": "boolean"
                  },
                  "foodTypeId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "youtube",
                    "foodType",
                    "level",
                    "vdo",
                    "isActive",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "tags",
                    "foodTypeId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Recepes.Fields"
          },
          "include": {
            "title": "Recepes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Recepes.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Recepes>"
      },
      "RegProduct.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "RegProduct.ScopeFilter"
      },
      "RegProduct.IncludeFilter.Items": {
        "title": "RegProduct.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "regProductCompany",
              "regProductItems",
              "regProductDocs",
              "country",
              "state",
              "district",
              "subdistrict"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/RegProduct.ScopeFilter"
          }
        }
      },
      "RegProduct.Filter": {
        "type": "object",
        "title": "RegProduct.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "periodId": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "contact_position": {
                    "type": "boolean"
                  },
                  "contact_prefix": {
                    "type": "boolean"
                  },
                  "contact_fname_th": {
                    "type": "boolean"
                  },
                  "contact_lname_th": {
                    "type": "boolean"
                  },
                  "contact_fname_en": {
                    "type": "boolean"
                  },
                  "contact_lname_en": {
                    "type": "boolean"
                  },
                  "contact_email": {
                    "type": "boolean"
                  },
                  "contact_countryCode": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "accept_condition": {
                    "type": "boolean"
                  },
                  "registerType": {
                    "type": "boolean"
                  },
                  "marketing_in_country": {
                    "type": "boolean"
                  },
                  "marketing_oversea": {
                    "type": "boolean"
                  },
                  "production_capacity": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "customerId",
                    "periodId",
                    "address",
                    "zipcode",
                    "countryCode",
                    "phone",
                    "fax",
                    "email",
                    "website",
                    "contact_position",
                    "contact_prefix",
                    "contact_fname_th",
                    "contact_lname_th",
                    "contact_fname_en",
                    "contact_lname_en",
                    "contact_email",
                    "contact_countryCode",
                    "contact_phone",
                    "accept_condition",
                    "registerType",
                    "marketing_in_country",
                    "marketing_oversea",
                    "production_capacity",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "countryId",
                    "stateId",
                    "districtId",
                    "subdistrictId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RegProduct.Fields"
          },
          "include": {
            "title": "RegProduct.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RegProduct.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RegProduct>"
      },
      "RegProduct.Filter1": {
        "type": "object",
        "title": "RegProduct.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "RegProduct.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "periodId": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "contact_position": {
                    "type": "boolean"
                  },
                  "contact_prefix": {
                    "type": "boolean"
                  },
                  "contact_fname_th": {
                    "type": "boolean"
                  },
                  "contact_lname_th": {
                    "type": "boolean"
                  },
                  "contact_fname_en": {
                    "type": "boolean"
                  },
                  "contact_lname_en": {
                    "type": "boolean"
                  },
                  "contact_email": {
                    "type": "boolean"
                  },
                  "contact_countryCode": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "accept_condition": {
                    "type": "boolean"
                  },
                  "registerType": {
                    "type": "boolean"
                  },
                  "marketing_in_country": {
                    "type": "boolean"
                  },
                  "marketing_oversea": {
                    "type": "boolean"
                  },
                  "production_capacity": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "customerId",
                    "periodId",
                    "address",
                    "zipcode",
                    "countryCode",
                    "phone",
                    "fax",
                    "email",
                    "website",
                    "contact_position",
                    "contact_prefix",
                    "contact_fname_th",
                    "contact_lname_th",
                    "contact_fname_en",
                    "contact_lname_en",
                    "contact_email",
                    "contact_countryCode",
                    "contact_phone",
                    "accept_condition",
                    "registerType",
                    "marketing_in_country",
                    "marketing_oversea",
                    "production_capacity",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "countryId",
                    "stateId",
                    "districtId",
                    "subdistrictId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RegProduct.Fields"
          },
          "include": {
            "title": "RegProduct.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RegProduct.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RegProduct>"
      },
      "RegRestaurant.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "RegRestaurant.ScopeFilter"
      },
      "RegRestaurant.IncludeFilter.Items": {
        "title": "RegRestaurant.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "regRestaurantService",
              "regRestaurantBusiness",
              "regRestaurantDoc",
              "country",
              "state",
              "district",
              "subdistrict"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/RegRestaurant.ScopeFilter"
          }
        }
      },
      "RegRestaurant.Filter": {
        "type": "object",
        "title": "RegRestaurant.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "countryCodePhone": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "countryCodeFax": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "registerType": {
                    "type": "boolean"
                  },
                  "contact_person": {
                    "type": "boolean"
                  },
                  "contact_position": {
                    "type": "boolean"
                  },
                  "contact_countryCodePhone": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "contact_email": {
                    "type": "boolean"
                  },
                  "registered_capital": {
                    "type": "boolean"
                  },
                  "registered_no": {
                    "type": "boolean"
                  },
                  "registered_year": {
                    "type": "boolean"
                  },
                  "registered_month": {
                    "type": "boolean"
                  },
                  "accept_condition": {
                    "type": "boolean"
                  },
                  "isRenew": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "customerId",
                    "name",
                    "address",
                    "zipcode",
                    "countryCodePhone",
                    "phone",
                    "countryCodeFax",
                    "fax",
                    "email",
                    "website",
                    "registerType",
                    "contact_person",
                    "contact_position",
                    "contact_countryCodePhone",
                    "contact_phone",
                    "contact_email",
                    "registered_capital",
                    "registered_no",
                    "registered_year",
                    "registered_month",
                    "accept_condition",
                    "isRenew",
                    "status",
                    "createdtime",
                    "updatedtime",
                    "countryId",
                    "stateId",
                    "districtId",
                    "subdistrictId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RegRestaurant.Fields"
          },
          "include": {
            "title": "RegRestaurant.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RegRestaurant.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RegRestaurant>"
      },
      "Region.Filter": {
        "type": "object",
        "title": "Region.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "orderItem": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "isActive",
                    "orderItem",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Region.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Region>"
      },
      "Region.Filter1": {
        "type": "object",
        "title": "Region.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Region.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "orderItem": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "isActive",
                    "orderItem",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Region.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Region>"
      },
      "Restaurant.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Restaurant.ScopeFilter"
      },
      "Restaurant.IncludeFilter.Items": {
        "title": "Restaurant.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "restaurantTexts",
              "restaurantImages"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Restaurant.ScopeFilter"
          }
        }
      },
      "Restaurant.Filter": {
        "type": "object",
        "title": "Restaurant.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "subImg": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "district": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  },
                  "subdistrict": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "country": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "lat": {
                    "type": "boolean"
                  },
                  "lng": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "awardType": {
                    "type": "boolean"
                  },
                  "appliedDate": {
                    "type": "boolean"
                  },
                  "expiredDate": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isRecommend": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "customerId",
                    "coverImg",
                    "subImg",
                    "countryCode",
                    "tel",
                    "fax",
                    "email",
                    "website",
                    "location",
                    "address",
                    "stateId",
                    "state",
                    "districtId",
                    "district",
                    "subdistrictId",
                    "subdistrict",
                    "countryId",
                    "country",
                    "zipcode",
                    "lat",
                    "lng",
                    "isActive",
                    "awardType",
                    "appliedDate",
                    "expiredDate",
                    "datasearch",
                    "isRecommend",
                    "createdtime",
                    "updatedtime"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Restaurant.Fields"
          },
          "include": {
            "title": "Restaurant.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Restaurant.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Restaurant>"
      },
      "Restaurant.Filter1": {
        "type": "object",
        "title": "Restaurant.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Restaurant.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "subImg": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "district": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  },
                  "subdistrict": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "country": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "lat": {
                    "type": "boolean"
                  },
                  "lng": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "awardType": {
                    "type": "boolean"
                  },
                  "appliedDate": {
                    "type": "boolean"
                  },
                  "expiredDate": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isRecommend": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "customerId",
                    "coverImg",
                    "subImg",
                    "countryCode",
                    "tel",
                    "fax",
                    "email",
                    "website",
                    "location",
                    "address",
                    "stateId",
                    "state",
                    "districtId",
                    "district",
                    "subdistrictId",
                    "subdistrict",
                    "countryId",
                    "country",
                    "zipcode",
                    "lat",
                    "lng",
                    "isActive",
                    "awardType",
                    "appliedDate",
                    "expiredDate",
                    "datasearch",
                    "isRecommend",
                    "createdtime",
                    "updatedtime"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Restaurant.Fields"
          },
          "include": {
            "title": "Restaurant.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Restaurant.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Restaurant>"
      },
      "AddressState.Filter": {
        "type": "object",
        "title": "AddressState.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "AddressState.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "nameTh": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "countryId",
                    "countryCode",
                    "stateId",
                    "nameEn",
                    "nameTh",
                    "code",
                    "status"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "AddressState.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AddressState>"
      },
      "AddressSubDistrict.Filter": {
        "type": "object",
        "title": "AddressSubDistrict.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "AddressSubDistrict.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "countryCode": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "amphureCode": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "nameTh": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "lat": {
                    "type": "boolean"
                  },
                  "lng": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "countryId",
                    "countryCode",
                    "stateId",
                    "districtId",
                    "amphureCode",
                    "code",
                    "nameTh",
                    "nameEn",
                    "zipcode",
                    "lat",
                    "lng"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "AddressSubDistrict.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AddressSubDistrict>"
      },
      "Supermarket.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Supermarket.ScopeFilter"
      },
      "Supermarket.IncludeFilter.Items": {
        "title": "Supermarket.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "supermarketTexts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Supermarket.ScopeFilter"
          }
        }
      },
      "Supermarket.Filter": {
        "type": "object",
        "title": "Supermarket.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "district": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  },
                  "subdistrict": {
                    "type": "boolean"
                  },
                  "countryValue": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "country": {
                    "type": "boolean"
                  },
                  "opentime": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "lat": {
                    "type": "boolean"
                  },
                  "lng": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "website",
                    "tel",
                    "email",
                    "address",
                    "stateId",
                    "state",
                    "districtId",
                    "district",
                    "subdistrictId",
                    "subdistrict",
                    "countryValue",
                    "countryId",
                    "country",
                    "opentime",
                    "zipcode",
                    "location",
                    "lat",
                    "lng",
                    "datasearch",
                    "isActive",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Supermarket.Fields"
          },
          "include": {
            "title": "Supermarket.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Supermarket.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Supermarket>"
      },
      "Supermarket.Filter1": {
        "type": "object",
        "title": "Supermarket.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Supermarket.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "coverImg": {
                    "type": "boolean"
                  },
                  "website": {
                    "type": "boolean"
                  },
                  "tel": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "districtId": {
                    "type": "boolean"
                  },
                  "district": {
                    "type": "boolean"
                  },
                  "subdistrictId": {
                    "type": "boolean"
                  },
                  "subdistrict": {
                    "type": "boolean"
                  },
                  "countryValue": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "country": {
                    "type": "boolean"
                  },
                  "opentime": {
                    "type": "boolean"
                  },
                  "zipcode": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "lat": {
                    "type": "boolean"
                  },
                  "lng": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "coverImg",
                    "website",
                    "tel",
                    "email",
                    "address",
                    "stateId",
                    "state",
                    "districtId",
                    "district",
                    "subdistrictId",
                    "subdistrict",
                    "countryValue",
                    "countryId",
                    "country",
                    "opentime",
                    "zipcode",
                    "location",
                    "lat",
                    "lng",
                    "datasearch",
                    "isActive",
                    "createdtime",
                    "updatedtime"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Supermarket.Fields"
          },
          "include": {
            "title": "Supermarket.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Supermarket.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Supermarket>"
      },
      "Territory.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Territory.ScopeFilter"
      },
      "Territory.IncludeFilter.Items": {
        "title": "Territory.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "region"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Territory.ScopeFilter"
          }
        }
      },
      "Territory.Filter": {
        "type": "object",
        "title": "Territory.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "region": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "internal_countryId": {
                    "type": "boolean"
                  },
                  "internal_states": {
                    "type": "boolean"
                  },
                  "external_countryIds": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "regionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "region",
                    "name",
                    "countryId",
                    "internal_countryId",
                    "internal_states",
                    "external_countryIds",
                    "isActive",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "regionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Territory.Fields"
          },
          "include": {
            "title": "Territory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Territory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Territory>"
      },
      "Territory.Filter1": {
        "type": "object",
        "title": "Territory.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Territory.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "region": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "countryId": {
                    "type": "boolean"
                  },
                  "internal_countryId": {
                    "type": "boolean"
                  },
                  "internal_states": {
                    "type": "boolean"
                  },
                  "external_countryIds": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "datasearch": {
                    "type": "boolean"
                  },
                  "createdtime": {
                    "type": "boolean"
                  },
                  "updatedtime": {
                    "type": "boolean"
                  },
                  "regionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "region",
                    "name",
                    "countryId",
                    "internal_countryId",
                    "internal_states",
                    "external_countryIds",
                    "isActive",
                    "datasearch",
                    "createdtime",
                    "updatedtime",
                    "regionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Territory.Fields"
          },
          "include": {
            "title": "Territory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Territory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Territory>"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ],
  "servers": [
    {
      "url": "http://api.thaiselect.com/api"
    }
  ]
}