{
  "openapi": "3.0.0",
  "info": {
    "title": "ubfcrm",
    "version": "0.0.1",
    "description": "ubf crm",
    "contact": {}
  },
  "paths": {
    "/activities/customers/{id}": {
      "get": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "ActivitiesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "ActivitiesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "activityType": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "duration": {
                        "type": "number"
                      },
                      "type": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "outCome": {
                        "type": "number"
                      },
                      "noOfAttendees": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ActivityController.findByCustomerId"
      }
    },
    "/activities/providers/{id}": {
      "get": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "findByProviderId",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "ActivitiesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "ActivitiesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "activityType": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "duration": {
                        "type": "number"
                      },
                      "type": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "outCome": {
                        "type": "number"
                      },
                      "noOfAttendees": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ActivityController.findByProviderId"
      }
    },
    "/activities/{id}/comments/{commentId}": {
      "delete": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "deleteCommentById",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Post DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "commentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ActivityController.deleteCommentById"
      }
    },
    "/activities/{id}/comments": {
      "post": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "saveComment",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "comment"
                ],
                "properties": {
                  "comment": {
                    "type": "string",
                    "description": ""
                  },
                  "mentioned": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "description": "Comment request body",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ActivityController.saveComment"
      },
      "get": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "findComments",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "CommentsResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "CommentsResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "comment": {
                        "type": "string"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ActivityController.findComments"
      }
    },
    "/activities/{id}": {
      "patch": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "updateById",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "activityType": {
                    "type": "number",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "date": {
                    "type": "string",
                    "description": ""
                  },
                  "time": {
                    "type": "string",
                    "description": ""
                  },
                  "duration": {
                    "type": "number",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "assignedTo": {
                    "type": "number",
                    "description": ""
                  },
                  "outCome": {
                    "type": "number",
                    "description": ""
                  },
                  "noOfAttendees": {
                    "type": "number",
                    "description": ""
                  },
                  "attendees": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "followupTask": {
                    "type": "number",
                    "description": ""
                  },
                  "followupDate": {
                    "type": "string",
                    "description": ""
                  },
                  "followupTime": {
                    "type": "string",
                    "description": ""
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save activity",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ActivityController.updateById"
      },
      "get": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "findById",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "ActivityResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ActivityController.findById"
      }
    },
    "/activities": {
      "post": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "save",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "activityType": {
                    "type": "number",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "date": {
                    "type": "string",
                    "description": ""
                  },
                  "time": {
                    "type": "string",
                    "description": ""
                  },
                  "duration": {
                    "type": "number",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "assignedTo": {
                    "type": "number",
                    "description": ""
                  },
                  "outCome": {
                    "type": "number",
                    "description": ""
                  },
                  "noOfAttendees": {
                    "type": "number",
                    "description": ""
                  },
                  "attendees": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "description": "Attendees"
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "followupTask": {
                    "type": "number",
                    "description": ""
                  },
                  "followupDate": {
                    "type": "string",
                    "description": ""
                  },
                  "followupTime": {
                    "type": "string",
                    "description": ""
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save activity",
          "required": true
        },
        "operationId": "ActivityController.save"
      },
      "get": {
        "x-controller-name": "ActivityController",
        "x-operation-name": "find",
        "tags": [
          "ActivityController"
        ],
        "responses": {
          "200": {
            "description": "ActivitiesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "ActivitiesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "activityType": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "duration": {
                        "type": "number"
                      },
                      "type": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "outCome": {
                        "type": "number"
                      },
                      "noOfAttendees": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ActivityController.find"
      }
    },
    "/activitylogs": {
      "get": {
        "x-controller-name": "ActivitylogController",
        "x-operation-name": "find",
        "tags": [
          "ActivitylogController"
        ],
        "responses": {
          "200": {
            "description": "NotesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "NotesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ActivitylogController.find"
      }
    },
    "/addresses/{id}": {
      "patch": {
        "x-controller-name": "AddressController",
        "x-operation-name": "updateById",
        "tags": [
          "AddressController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Address PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fullAddress"
                ],
                "properties": {
                  "id": {
                    "type": "number",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "shipperconsigneeId": {
                    "type": "number",
                    "description": ""
                  },
                  "fullAddress": {
                    "type": "string",
                    "description": ""
                  },
                  "city": {
                    "type": "string",
                    "description": ""
                  },
                  "state": {
                    "type": "string",
                    "description": ""
                  },
                  "country": {
                    "type": "string",
                    "description": ""
                  },
                  "label": {
                    "type": "string",
                    "description": ""
                  },
                  "instruction": {
                    "type": "string",
                    "description": ""
                  },
                  "siteMap": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "siteMapSrc": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save Address",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "AddressController.updateById"
      },
      "get": {
        "x-controller-name": "AddressController",
        "x-operation-name": "findById",
        "tags": [
          "AddressController"
        ],
        "responses": {
          "200": {
            "description": "Address model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Address"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AddressController.findById"
      }
    },
    "/addresses": {
      "post": {
        "x-controller-name": "AddressController",
        "x-operation-name": "create",
        "tags": [
          "AddressController"
        ],
        "responses": {
          "200": {
            "description": "Address model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Address"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fullAddress"
                ],
                "properties": {
                  "id": {
                    "type": "number",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "shipperconsigneeId": {
                    "type": "number",
                    "description": ""
                  },
                  "fullAddress": {
                    "type": "string",
                    "description": ""
                  },
                  "city": {
                    "type": "string",
                    "description": ""
                  },
                  "state": {
                    "type": "string",
                    "description": ""
                  },
                  "country": {
                    "type": "string",
                    "description": ""
                  },
                  "label": {
                    "type": "string",
                    "description": ""
                  },
                  "instruction": {
                    "type": "string",
                    "description": ""
                  },
                  "siteMap": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "siteMapSrc": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save Address",
          "required": true
        },
        "operationId": "AddressController.create"
      },
      "get": {
        "x-controller-name": "AddressController",
        "x-operation-name": "find",
        "tags": [
          "AddressController"
        ],
        "responses": {
          "200": {
            "description": "Array of Address model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Address"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "AddressController.find"
      }
    },
    "/businesscategories/active": {
      "get": {
        "x-controller-name": "BusinesscategoryController",
        "x-operation-name": "findActive",
        "tags": [
          "BusinesscategoryController"
        ],
        "responses": {
          "200": {
            "description": "BusinesscategoriesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "BusinesscategoriesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BusinesscategoryController.findActive"
      }
    },
    "/businesscategories/{id}": {
      "patch": {
        "x-controller-name": "BusinesscategoryController",
        "x-operation-name": "updateById",
        "tags": [
          "BusinesscategoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Businesscategory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save category",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "BusinesscategoryController.updateById"
      },
      "get": {
        "x-controller-name": "BusinesscategoryController",
        "x-operation-name": "findById",
        "tags": [
          "BusinesscategoryController"
        ],
        "responses": {
          "200": {
            "description": "BusinesscategoryResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinesscategoryResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BusinesscategoryController.findById"
      },
      "delete": {
        "x-controller-name": "BusinesscategoryController",
        "x-operation-name": "deleteById",
        "tags": [
          "BusinesscategoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Businesscategory DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BusinesscategoryController.deleteById"
      }
    },
    "/businesscategories": {
      "post": {
        "x-controller-name": "BusinesscategoryController",
        "x-operation-name": "create",
        "tags": [
          "BusinesscategoryController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save category",
          "required": true
        },
        "operationId": "BusinesscategoryController.create"
      },
      "get": {
        "x-controller-name": "BusinesscategoryController",
        "x-operation-name": "findAll",
        "tags": [
          "BusinesscategoryController"
        ],
        "responses": {
          "200": {
            "description": "BusinesscategoriesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "BusinesscategoriesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BusinesscategoryController.findAll"
      }
    },
    "/communications/attachments": {
      "post": {
        "x-controller-name": "CommunicationController",
        "x-operation-name": "findAttachments",
        "tags": [
          "CommunicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "bookingId": {
                    "type": "number",
                    "description": ""
                  },
                  "bookingUniqueId": {
                    "type": "string",
                    "description": ""
                  },
                  "search": {
                    "type": "string",
                    "description": ""
                  },
                  "folder": {
                    "type": "string",
                    "description": ""
                  },
                  "subject": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "CommunicationController.findAttachments"
      }
    },
    "/communications/find": {
      "post": {
        "x-controller-name": "CommunicationController",
        "x-operation-name": "find",
        "tags": [
          "CommunicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "bookingId": {
                    "type": "number",
                    "description": ""
                  },
                  "bookingUniqueId": {
                    "type": "string",
                    "description": ""
                  },
                  "search": {
                    "type": "string",
                    "description": ""
                  },
                  "folder": {
                    "type": "string",
                    "description": ""
                  },
                  "subject": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "CommunicationController.find"
      }
    },
    "/communications/find-details": {
      "post": {
        "x-controller-name": "CommunicationController",
        "x-operation-name": "findDetails",
        "tags": [
          "CommunicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "id": {
                    "type": "string",
                    "description": ""
                  },
                  "subject": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "CommunicationController.findDetails"
      }
    },
    "/communications/forward": {
      "post": {
        "x-controller-name": "CommunicationController",
        "x-operation-name": "forward",
        "tags": [
          "CommunicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "body": {
                    "type": "string",
                    "description": ""
                  },
                  "id": {
                    "type": "string",
                    "description": ""
                  },
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "CommunicationController.forward"
      }
    },
    "/communications/move/archive": {
      "post": {
        "x-controller-name": "CommunicationController",
        "x-operation-name": "moveToArchive",
        "tags": [
          "CommunicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "id": {
                    "type": "string",
                    "description": ""
                  },
                  "subject": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "CommunicationController.moveToArchive"
      }
    },
    "/communications/replyall": {
      "post": {
        "x-controller-name": "CommunicationController",
        "x-operation-name": "replyAll",
        "tags": [
          "CommunicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "body": {
                    "type": "string",
                    "description": ""
                  },
                  "id": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "CommunicationController.replyAll"
      }
    },
    "/communications/send": {
      "post": {
        "x-controller-name": "CommunicationController",
        "x-operation-name": "send",
        "tags": [
          "CommunicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "bookingId": {
                    "type": "number",
                    "description": ""
                  },
                  "bookingUniqueId": {
                    "type": "string",
                    "description": ""
                  },
                  "subject": {
                    "type": "string",
                    "description": ""
                  },
                  "body": {
                    "type": "string",
                    "description": ""
                  },
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "CommunicationController.send"
      }
    },
    "/consignees/{id}": {
      "patch": {
        "x-controller-name": "ConsigneeController",
        "x-operation-name": "updateById",
        "tags": [
          "ConsigneeController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "contacts"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "businesscategoryId": {
                    "type": "string",
                    "description": ""
                  },
                  "suppliersCode": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ConsigneeController.updateById"
      }
    },
    "/consignees": {
      "post": {
        "x-controller-name": "ConsigneeController",
        "x-operation-name": "save",
        "tags": [
          "ConsigneeController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "contacts"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "businesscategoryId": {
                    "type": "string",
                    "description": ""
                  },
                  "suppliersCode": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true
        },
        "operationId": "ConsigneeController.save"
      }
    },
    "/contacts/export/excel": {
      "get": {
        "x-controller-name": "ContactController",
        "x-operation-name": "exportExcel",
        "tags": [
          "ContactController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ContactController.exportExcel"
      }
    },
    "/contacts/{id}/email-subscription": {
      "post": {
        "x-controller-name": "ContactController",
        "x-operation-name": "subscribeEmail",
        "tags": [
          "ContactController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ContactController.subscribeEmail"
      }
    },
    "/contacts": {
      "post": {
        "x-controller-name": "ContactController",
        "x-operation-name": "save",
        "tags": [
          "ContactController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "phoneNumber"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "phoneNumber": {
                    "type": "string"
                  },
                  "designation": {
                    "type": "string"
                  },
                  "contactType": {
                    "type": "number"
                  },
                  "customerId": {
                    "type": "number"
                  },
                  "providerId": {
                    "type": "number"
                  },
                  "branchId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Create a contact linked to a customer/provider.",
          "required": true
        },
        "operationId": "ContactController.save"
      },
      "get": {
        "x-controller-name": "ContactController",
        "x-operation-name": "find",
        "tags": [
          "ContactController"
        ],
        "responses": {
          "200": {
            "description": "Array of Contact model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Contact"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ContactController.find"
      }
    },
    "/credittermapplications/code/{code}": {
      "get": {
        "x-controller-name": "CredittermapplicationController",
        "x-operation-name": "findByCode",
        "tags": [
          "CredittermapplicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CredittermapplicationController.findByCode"
      }
    },
    "/credittermapplications/{id}/approve": {
      "patch": {
        "x-controller-name": "CredittermapplicationController",
        "x-operation-name": "approve",
        "tags": [
          "CredittermapplicationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Application patch"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CredittermapplicationController.approve"
      }
    },
    "/credittermapplications/{id}/customer": {
      "patch": {
        "x-controller-name": "CredittermapplicationController",
        "x-operation-name": "updateByCustomer",
        "tags": [
          "CredittermapplicationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Application patch"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "applicationData": {
                    "type": "object",
                    "description": ""
                  },
                  "customerSignature": {
                    "type": "string",
                    "description": ""
                  },
                  "staffSignature": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "CredittermapplicationController.updateByCustomer"
      }
    },
    "/credittermapplications/{id}/resend": {
      "patch": {
        "x-controller-name": "CredittermapplicationController",
        "x-operation-name": "resend",
        "tags": [
          "CredittermapplicationController"
        ],
        "responses": {
          "204": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CredittermapplicationController.resend"
      }
    },
    "/credittermapplications": {
      "post": {
        "x-controller-name": "CredittermapplicationController",
        "x-operation-name": "save",
        "tags": [
          "CredittermapplicationController"
        ],
        "responses": {
          "204": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "applicationData": {
                    "type": "object",
                    "description": ""
                  },
                  "customerSignature": {
                    "type": "string",
                    "description": ""
                  },
                  "staffSignature": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "CredittermapplicationController.save"
      },
      "get": {
        "x-controller-name": "CredittermapplicationController",
        "x-operation-name": "find",
        "tags": [
          "CredittermapplicationController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CredittermapplicationController.find"
      }
    },
    "/creditterms/{id}/change-status": {
      "patch": {
        "x-controller-name": "CredittermController",
        "x-operation-name": "updateStatusById",
        "tags": [
          "CredittermController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Creditterms PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CredittermController.updateStatusById"
      }
    },
    "/creditterms/{id}": {
      "patch": {
        "x-controller-name": "CredittermController",
        "x-operation-name": "updateById",
        "tags": [
          "CredittermController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Creditterms PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "limit",
                  "period",
                  "currency"
                ],
                "properties": {
                  "id": {
                    "type": "number",
                    "description": ""
                  },
                  "limit": {
                    "type": "number",
                    "description": ""
                  },
                  "period": {
                    "type": "number",
                    "description": ""
                  },
                  "currency": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save Creditterm",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "CredittermController.updateById"
      }
    },
    "/customernotificationsetting/{id}": {
      "get": {
        "x-controller-name": "CustomernotificationsettingController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "CustomernotificationsettingController"
        ],
        "responses": {
          "200": {
            "description": "CustomernotificationsettingResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomernotificationsettingResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CustomernotificationsettingController.findByCustomerId"
      }
    },
    "/customernotificationsetting": {
      "post": {
        "x-controller-name": "CustomernotificationsettingController",
        "x-operation-name": "save",
        "tags": [
          "CustomernotificationsettingController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "setting"
                ],
                "properties": {
                  "setting": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object"
                    }
                  },
                  "poc": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object"
                    }
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Customer notification setting request body",
          "required": true
        },
        "operationId": "CustomernotificationsettingController.save"
      }
    },
    "/customers/export/excel": {
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "exportExcel",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "CustomersResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "CustomersResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "companyName": {
                        "type": "string"
                      },
                      "website": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "nature": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CustomerController.exportExcel"
      }
    },
    "/customers/login": {
      "post": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "login",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          },
          "description": "Common request body"
        },
        "operationId": "CustomerController.login"
      }
    },
    "/customers/{id}/change-status": {
      "patch": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "updateStatusById",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Customer PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "description": " Possible values are 0 = Deactive, 1 = Active,2 = Delete"
                  }
                }
              }
            }
          },
          "description": "Change status request body",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "CustomerController.updateStatusById"
      }
    },
    "/customers/{id}/creditterm": {
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "findCredittermByCustomerId",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CustomerController.findCredittermByCustomerId"
      }
    },
    "/customers/{id}/send-login-credentials": {
      "post": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "sendLoginCredentials",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          },
          "description": "Common request body",
          "x-parameter-index": 1
        },
        "operationId": "CustomerController.sendLoginCredentials"
      }
    },
    "/customers/{id}": {
      "patch": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "updateById",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "companyName",
                  "type",
                  "nature"
                ],
                "properties": {
                  "companyName": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "nature": {
                    "type": "number",
                    "description": ""
                  },
                  "salesexecutiveId": {
                    "type": "number",
                    "description": ""
                  },
                  "salessupportId": {
                    "type": "number",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "creditTerm": {
                    "type": "object",
                    "required": [
                      "limit",
                      "period",
                      "currency"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "limit": {
                        "type": "number",
                        "description": ""
                      },
                      "period": {
                        "type": "number",
                        "description": ""
                      },
                      "currency": {
                        "type": "number",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "fileName",
                        "fileType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "fileName": {
                          "type": "string",
                          "description": ""
                        },
                        "fileType": {
                          "type": "number",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "industry": {
                    "type": "string",
                    "description": ""
                  },
                  "tradeLanes": {
                    "type": "string",
                    "description": ""
                  },
                  "customTerms": {
                    "type": "string",
                    "description": ""
                  },
                  "deliveryInstruction": {
                    "type": "string",
                    "description": ""
                  },
                  "importClientCode": {
                    "type": "string",
                    "description": ""
                  },
                  "exportClientCode": {
                    "type": "string",
                    "description": ""
                  },
                  "leadId": {
                    "type": "number",
                    "description": ""
                  },
                  "migrate": {
                    "type": "number",
                    "description": ""
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  },
                  "stage": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "CustomerController.updateById"
      },
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "findById",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "CustomerResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CustomerController.findById"
      }
    },
    "/customers": {
      "post": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "save",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "companyName",
                  "type",
                  "nature"
                ],
                "properties": {
                  "companyName": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "nature": {
                    "type": "number",
                    "description": ""
                  },
                  "salesexecutiveId": {
                    "type": "number",
                    "description": ""
                  },
                  "salessupportId": {
                    "type": "number",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "creditTerm": {
                    "type": "object",
                    "required": [
                      "limit",
                      "period",
                      "currency"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "limit": {
                        "type": "number",
                        "description": ""
                      },
                      "period": {
                        "type": "number",
                        "description": ""
                      },
                      "currency": {
                        "type": "number",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "fileName",
                        "fileType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "fileName": {
                          "type": "string",
                          "description": ""
                        },
                        "fileType": {
                          "type": "number",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "industry": {
                    "type": "string",
                    "description": ""
                  },
                  "tradeLanes": {
                    "type": "string",
                    "description": ""
                  },
                  "customTerms": {
                    "type": "string",
                    "description": ""
                  },
                  "deliveryInstruction": {
                    "type": "string",
                    "description": ""
                  },
                  "importClientCode": {
                    "type": "string",
                    "description": ""
                  },
                  "exportClientCode": {
                    "type": "string",
                    "description": ""
                  },
                  "leadId": {
                    "type": "number",
                    "description": ""
                  },
                  "migrate": {
                    "type": "number",
                    "description": ""
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  },
                  "stage": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true
        },
        "operationId": "CustomerController.save"
      },
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "find",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "CustomersResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "CustomersResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "companyName": {
                        "type": "string"
                      },
                      "website": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "nature": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CustomerController.find"
      }
    },
    "/emailmanagers/setforwarder": {
      "post": {
        "x-controller-name": "EmailmanagerController",
        "x-operation-name": "setForwarder",
        "tags": [
          "EmailmanagerController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Emailmanager forwarder success"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "EmailmanagerController.setForwarder"
      }
    },
    "/emailmanagers/{id}": {
      "patch": {
        "x-controller-name": "EmailmanagerController",
        "x-operation-name": "updateById",
        "tags": [
          "EmailmanagerController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Emailmanager PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailmanagerPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EmailmanagerController.updateById"
      },
      "get": {
        "x-controller-name": "EmailmanagerController",
        "x-operation-name": "findById",
        "tags": [
          "EmailmanagerController"
        ],
        "responses": {
          "200": {
            "description": "Emailmanager model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emailmanager"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EmailmanagerController.findById"
      },
      "delete": {
        "x-controller-name": "EmailmanagerController",
        "x-operation-name": "deleteById",
        "tags": [
          "EmailmanagerController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Emailmanager PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EmailmanagerController.deleteById"
      }
    },
    "/emailmanagers": {
      "post": {
        "x-controller-name": "EmailmanagerController",
        "x-operation-name": "create",
        "tags": [
          "EmailmanagerController"
        ],
        "responses": {
          "200": {
            "description": "Emailmanager model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emailmanager"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEmailmanager"
              }
            }
          }
        },
        "operationId": "EmailmanagerController.create"
      },
      "get": {
        "x-controller-name": "EmailmanagerController",
        "x-operation-name": "find",
        "tags": [
          "EmailmanagerController"
        ],
        "responses": {
          "200": {
            "description": "Array of Emailmanager model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Emailmanager"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "EmailmanagerController.find"
      }
    },
    "/excel/read/{sheetNo}/{userId}": {
      "get": {
        "x-controller-name": "MigrateController",
        "x-operation-name": "read",
        "tags": [
          "MigrateController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "sheetNo",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "userId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MigrateController.read"
      }
    },
    "/files/{purpose}": {
      "post": {
        "x-controller-name": "FileUploadController",
        "x-operation-name": "fileUpload",
        "tags": [
          "FileUploadController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Files and fields"
          }
        },
        "parameters": [
          {
            "name": "purpose",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "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,
          "x-parameter-index": 1
        },
        "operationId": "FileUploadController.fileUpload"
      }
    },
    "/googleplace/details/{placeId}": {
      "get": {
        "x-controller-name": "GoogleplaceController",
        "x-operation-name": "getPlaceDetails",
        "tags": [
          "GoogleplaceController"
        ],
        "responses": {
          "200": {
            "description": "place search",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "placeId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GoogleplaceController.getPlaceDetails"
      }
    },
    "/googleplace/{search}": {
      "get": {
        "x-controller-name": "GoogleplaceController",
        "x-operation-name": "placeSearch",
        "tags": [
          "GoogleplaceController"
        ],
        "responses": {
          "200": {
            "description": "place search",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GoogleplaceController.placeSearch"
      }
    },
    "/leads/export/excel": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "exportExcel",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "LeadController.exportExcel"
      }
    },
    "/leads/{id}/email-subscription": {
      "post": {
        "x-controller-name": "LeadController",
        "x-operation-name": "subscribeEmail",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.subscribeEmail"
      }
    },
    "/leads/{id}/forms-history/export": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "formHistoryExport",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.formHistoryExport"
      }
    },
    "/leads/{id}/forms-history": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "formHistory",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.formHistory"
      }
    },
    "/leads/{id}": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "findById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Lead model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.findById"
      }
    },
    "/leads": {
      "post": {
        "x-controller-name": "LeadController",
        "x-operation-name": "create",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLead"
              }
            }
          }
        },
        "operationId": "LeadController.create"
      },
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "find",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Array of Lead model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Lead"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "LeadController.find"
      }
    },
    "/margins/customers/{id}": {
      "get": {
        "x-controller-name": "MarginController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "MarginController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MarginController.findByCustomerId"
      }
    },
    "/margins": {
      "post": {
        "x-controller-name": "MarginController",
        "x-operation-name": "create",
        "tags": [
          "MarginController"
        ],
        "responses": {
          "200": {
            "description": "Margin model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Margin"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMargin"
              }
            }
          }
        },
        "operationId": "MarginController.create"
      }
    },
    "/migrate/addressbook-fromjson": {
      "get": {
        "x-controller-name": "MigrateController",
        "x-operation-name": "migrateAddressbookFromJson",
        "tags": [
          "MigrateController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "MigrateController.migrateAddressbookFromJson"
      }
    },
    "/migrate/depot-fromjson": {
      "get": {
        "x-controller-name": "MigrateController",
        "x-operation-name": "migrateDepotFromJson",
        "tags": [
          "MigrateController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "MigrateController.migrateDepotFromJson"
      }
    },
    "/notes/customers/{id}": {
      "get": {
        "x-controller-name": "NoteController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "NotesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "NotesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NoteController.findByCustomerId"
      }
    },
    "/notes/leads/{id}": {
      "get": {
        "x-controller-name": "NoteController",
        "x-operation-name": "findByLeadId",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "NotesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "NotesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NoteController.findByLeadId"
      }
    },
    "/notes/providers/{id}": {
      "get": {
        "x-controller-name": "NoteController",
        "x-operation-name": "findByProviderId",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "NotesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "NotesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NoteController.findByProviderId"
      }
    },
    "/notes/{id}": {
      "patch": {
        "x-controller-name": "NoteController",
        "x-operation-name": "updateById",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "description"
                ],
                "properties": {
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "leadId": {
                    "type": "number",
                    "description": ""
                  },
                  "followupTask": {
                    "type": "number",
                    "description": ""
                  },
                  "date": {
                    "type": "string",
                    "description": ""
                  },
                  "time": {
                    "type": "string",
                    "description": ""
                  },
                  "assignedTo": {
                    "type": "number",
                    "description": ""
                  },
                  "documents": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "fileName",
                        "fileType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "fileName": {
                          "type": "string",
                          "description": ""
                        },
                        "fileType": {
                          "type": "number",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "description": "Request body for save note",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "NoteController.updateById"
      },
      "get": {
        "x-controller-name": "NoteController",
        "x-operation-name": "findById",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "NoteResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NoteController.findById"
      }
    },
    "/notes": {
      "post": {
        "x-controller-name": "NoteController",
        "x-operation-name": "save",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "description"
                ],
                "properties": {
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "leadId": {
                    "type": "number",
                    "description": ""
                  },
                  "followupTask": {
                    "type": "number",
                    "description": ""
                  },
                  "date": {
                    "type": "string",
                    "description": ""
                  },
                  "time": {
                    "type": "string",
                    "description": ""
                  },
                  "assignedTo": {
                    "type": "number",
                    "description": ""
                  },
                  "documents": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "fileName",
                        "fileType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "fileName": {
                          "type": "string",
                          "description": ""
                        },
                        "fileType": {
                          "type": "number",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "description": "Request body for save note",
          "required": true
        },
        "operationId": "NoteController.save"
      }
    },
    "/notifications/read": {
      "patch": {
        "x-controller-name": "NotificationController",
        "x-operation-name": "read",
        "tags": [
          "NotificationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Read success"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "ids"
                ],
                "properties": {
                  "ids": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "description": "Read notification request body",
          "required": true
        },
        "operationId": "NotificationController.read"
      }
    },
    "/notifications": {
      "get": {
        "x-controller-name": "NotificationController",
        "x-operation-name": "find",
        "tags": [
          "NotificationController"
        ],
        "responses": {
          "200": {
            "description": "NotesResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "NotesResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "description": {
                        "type": "string"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "NotificationController.find"
      }
    },
    "/notificationsettings": {
      "post": {
        "x-controller-name": "NotificationsettingController",
        "x-operation-name": "save",
        "tags": [
          "NotificationsettingController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "meeting": {
                    "type": "number",
                    "description": ""
                  },
                  "call": {
                    "type": "number",
                    "description": ""
                  },
                  "task": {
                    "type": "number",
                    "description": ""
                  },
                  "followUp": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "user notification setting request body",
          "required": true
        },
        "operationId": "NotificationsettingController.save"
      },
      "get": {
        "x-controller-name": "NotificationsettingController",
        "x-operation-name": "find",
        "tags": [
          "NotificationsettingController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "NotificationsettingController.find"
      }
    },
    "/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"
      }
    },
    "/providers/export/excel": {
      "get": {
        "x-controller-name": "ProviderController",
        "x-operation-name": "exportExcel",
        "tags": [
          "ProviderController"
        ],
        "responses": {
          "200": {
            "description": "CustomersResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "CustomersResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "companyName": {
                        "type": "string"
                      },
                      "website": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "nature": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProviderController.exportExcel"
      }
    },
    "/providers/{id}": {
      "patch": {
        "x-controller-name": "ProviderController",
        "x-operation-name": "updateById",
        "tags": [
          "ProviderController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "companyName",
                  "website",
                  "type",
                  "network"
                ],
                "properties": {
                  "companyName": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "network": {
                    "type": "string",
                    "description": ""
                  },
                  "agencyAgreement": {
                    "type": "number",
                    "description": ""
                  },
                  "expiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "serviceId": {
                    "type": "string",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "creditTerm": {
                    "type": "object",
                    "required": [
                      "limit",
                      "period",
                      "currency"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "limit": {
                        "type": "number",
                        "description": ""
                      },
                      "period": {
                        "type": "number",
                        "description": ""
                      },
                      "currency": {
                        "type": "number",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "fileName",
                        "fileType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "fileName": {
                          "type": "string",
                          "description": ""
                        },
                        "fileType": {
                          "type": "number",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ProviderController.updateById"
      },
      "get": {
        "x-controller-name": "ProviderController",
        "x-operation-name": "findById",
        "tags": [
          "ProviderController"
        ],
        "responses": {
          "200": {
            "description": "ProviderResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProviderController.findById"
      }
    },
    "/providers": {
      "post": {
        "x-controller-name": "ProviderController",
        "x-operation-name": "save",
        "tags": [
          "ProviderController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "companyName",
                  "website",
                  "type",
                  "network"
                ],
                "properties": {
                  "companyName": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "network": {
                    "type": "string",
                    "description": ""
                  },
                  "agencyAgreement": {
                    "type": "number",
                    "description": ""
                  },
                  "expiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "serviceId": {
                    "type": "string",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "creditTerm": {
                    "type": "object",
                    "required": [
                      "limit",
                      "period",
                      "currency"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "limit": {
                        "type": "number",
                        "description": ""
                      },
                      "period": {
                        "type": "number",
                        "description": ""
                      },
                      "currency": {
                        "type": "number",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "fileName",
                        "fileType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "fileName": {
                          "type": "string",
                          "description": ""
                        },
                        "fileType": {
                          "type": "number",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true
        },
        "operationId": "ProviderController.save"
      },
      "get": {
        "x-controller-name": "ProviderController",
        "x-operation-name": "find",
        "tags": [
          "ProviderController"
        ],
        "responses": {
          "200": {
            "description": "ProvidersResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "ProvidersResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "companyName": {
                        "type": "string"
                      },
                      "website": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "network": {
                        "type": "number"
                      },
                      "expiryDate": {
                        "type": "string"
                      },
                      "serviceId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProviderController.find"
      }
    },
    "/racaprofiles/code/{code}": {
      "get": {
        "x-controller-name": "RacaprofileController",
        "x-operation-name": "findByCode",
        "tags": [
          "RacaprofileController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RacaprofileController.findByCode"
      }
    },
    "/racaprofiles/{id}/approve": {
      "patch": {
        "x-controller-name": "RacaprofileController",
        "x-operation-name": "approve",
        "tags": [
          "RacaprofileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Racaprofile patch"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RacaprofileController.approve"
      }
    },
    "/racaprofiles/{id}/customer": {
      "patch": {
        "x-controller-name": "RacaprofileController",
        "x-operation-name": "updateByCustomer",
        "tags": [
          "RacaprofileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Racaprofile patch"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "profileData": {
                    "type": "object",
                    "description": ""
                  },
                  "requestedExpiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "expiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "customerSignature": {
                    "type": "string",
                    "description": ""
                  },
                  "staffSignature": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "RacaprofileController.updateByCustomer"
      }
    },
    "/racaprofiles/{id}/resend": {
      "patch": {
        "x-controller-name": "RacaprofileController",
        "x-operation-name": "resend",
        "tags": [
          "RacaprofileController"
        ],
        "responses": {
          "204": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RacaprofileController.resend"
      }
    },
    "/racaprofiles/{id}": {
      "patch": {
        "x-controller-name": "RacaprofileController",
        "x-operation-name": "updateById",
        "tags": [
          "RacaprofileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Racaprofile patch"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "profileData": {
                    "type": "object",
                    "description": ""
                  },
                  "requestedExpiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "expiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "customerSignature": {
                    "type": "string",
                    "description": ""
                  },
                  "staffSignature": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "RacaprofileController.updateById"
      }
    },
    "/racaprofiles": {
      "post": {
        "x-controller-name": "RacaprofileController",
        "x-operation-name": "save",
        "tags": [
          "RacaprofileController"
        ],
        "responses": {
          "204": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "profileData": {
                    "type": "object",
                    "description": ""
                  },
                  "requestedExpiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "expiryDate": {
                    "type": "string",
                    "description": ""
                  },
                  "customerSignature": {
                    "type": "string",
                    "description": ""
                  },
                  "staffSignature": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "RacaprofileController.save"
      }
    },
    "/rates": {
      "post": {
        "x-controller-name": "BascikController",
        "x-operation-name": "findRates",
        "tags": [
          "BascikController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          },
          "description": "Common request body"
        },
        "operationId": "BascikController.findRates"
      }
    },
    "/shipperconsignees/customers/{id}": {
      "get": {
        "x-controller-name": "ShipperconsigneeController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "ShipperconsigneeController"
        ],
        "responses": {
          "200": {
            "description": "ShipperResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShipperResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ShipperconsigneeController.findByCustomerId"
      }
    },
    "/shipperconsignees/{id}": {
      "patch": {
        "x-controller-name": "ShipperconsigneeController",
        "x-operation-name": "updateById",
        "tags": [
          "ShipperconsigneeController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "contacts"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "businesscategoryId": {
                    "type": "string",
                    "description": ""
                  },
                  "suppliersCode": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ShipperconsigneeController.updateById"
      },
      "get": {
        "x-controller-name": "ShipperconsigneeController",
        "x-operation-name": "findById",
        "tags": [
          "ShipperconsigneeController"
        ],
        "responses": {
          "200": {
            "description": "ShipperResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShipperResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ShipperconsigneeController.findById"
      }
    },
    "/shipperconsignees": {
      "post": {
        "x-controller-name": "ShipperconsigneeController",
        "x-operation-name": "save",
        "tags": [
          "ShipperconsigneeController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "contacts"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "businesscategoryId": {
                    "type": "string",
                    "description": ""
                  },
                  "suppliersCode": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true
        },
        "operationId": "ShipperconsigneeController.save"
      }
    },
    "/shippers/customers/{id}": {
      "get": {
        "x-controller-name": "ShipperController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "ShipperController"
        ],
        "responses": {
          "200": {
            "description": "ShipperResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShipperResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ShipperController.findByCustomerId"
      }
    },
    "/shippers/{id}": {
      "patch": {
        "x-controller-name": "ShipperController",
        "x-operation-name": "updateById",
        "tags": [
          "ShipperController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "contacts"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "businesscategoryId": {
                    "type": "string",
                    "description": ""
                  },
                  "suppliersCode": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "ShipperController.updateById"
      },
      "get": {
        "x-controller-name": "ShipperController",
        "x-operation-name": "findById",
        "tags": [
          "ShipperController"
        ],
        "responses": {
          "200": {
            "description": "ShipperResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShipperResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ShipperController.findById"
      }
    },
    "/shippers": {
      "post": {
        "x-controller-name": "ShipperController",
        "x-operation-name": "save",
        "tags": [
          "ShipperController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "contacts"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": ""
                  },
                  "website": {
                    "type": "string",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "object",
                    "required": [
                      "fullAddress"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": ""
                      },
                      "customerId": {
                        "type": "number",
                        "description": ""
                      },
                      "providerId": {
                        "type": "number",
                        "description": ""
                      },
                      "shipperconsigneeId": {
                        "type": "number",
                        "description": ""
                      },
                      "fullAddress": {
                        "type": "string",
                        "description": ""
                      },
                      "city": {
                        "type": "string",
                        "description": ""
                      },
                      "state": {
                        "type": "string",
                        "description": ""
                      },
                      "country": {
                        "type": "string",
                        "description": ""
                      },
                      "label": {
                        "type": "string",
                        "description": ""
                      },
                      "instruction": {
                        "type": "string",
                        "description": ""
                      },
                      "siteMap": {
                        "type": "string",
                        "description": ""
                      },
                      "type": {
                        "type": "number",
                        "description": ""
                      },
                      "siteMapSrc": {
                        "type": "string",
                        "description": ""
                      }
                    }
                  },
                  "contacts": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "email",
                        "phoneNumber",
                        "contactType"
                      ],
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": ""
                        },
                        "name": {
                          "type": "string",
                          "description": ""
                        },
                        "email": {
                          "type": "string",
                          "description": ""
                        },
                        "phoneNumber": {
                          "type": "string",
                          "description": ""
                        },
                        "contactType": {
                          "type": "number",
                          "description": ""
                        },
                        "designation": {
                          "type": "string",
                          "description": ""
                        },
                        "deletable": {
                          "type": "number",
                          "description": ""
                        }
                      }
                    }
                  },
                  "businesscategoryId": {
                    "type": "string",
                    "description": ""
                  },
                  "suppliersCode": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save customer",
          "required": true
        },
        "operationId": "ShipperController.save"
      }
    },
    "/tags/{id}": {
      "patch": {
        "x-controller-name": "TagController",
        "x-operation-name": "updateById",
        "tags": [
          "TagController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "TagController.updateById"
      },
      "delete": {
        "x-controller-name": "TagController",
        "x-operation-name": "deleteById",
        "tags": [
          "TagController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Tag DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TagController.deleteById"
      }
    },
    "/tags": {
      "post": {
        "x-controller-name": "TagController",
        "x-operation-name": "save",
        "tags": [
          "TagController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "",
          "required": true
        },
        "operationId": "TagController.save"
      },
      "get": {
        "x-controller-name": "TagController",
        "x-operation-name": "find",
        "tags": [
          "TagController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "operationId": "TagController.find"
      }
    },
    "/taskactivities/{id}": {
      "patch": {
        "x-controller-name": "TaskactivityController",
        "x-operation-name": "updateById",
        "tags": [
          "TaskactivityController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Taskactivity PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskactivityPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TaskactivityController.updateById"
      },
      "get": {
        "x-controller-name": "TaskactivityController",
        "x-operation-name": "findById",
        "tags": [
          "TaskactivityController"
        ],
        "responses": {
          "200": {
            "description": "Taskactivity model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Taskactivity"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TaskactivityController.findById"
      }
    },
    "/taskactivities": {
      "post": {
        "x-controller-name": "TaskactivityController",
        "x-operation-name": "create",
        "tags": [
          "TaskactivityController"
        ],
        "responses": {
          "200": {
            "description": "Taskactivity model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Taskactivity"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTaskactivity"
              }
            }
          }
        },
        "operationId": "TaskactivityController.create"
      },
      "get": {
        "x-controller-name": "TaskactivityController",
        "x-operation-name": "find",
        "tags": [
          "TaskactivityController"
        ],
        "responses": {
          "200": {
            "description": "Array of Taskactivity model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Taskactivity"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TaskactivityController.find"
      }
    },
    "/tasks/bookings/{id}": {
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "findByBookingId",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "TasksResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "TasksResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "title": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "priority": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TaskController.findByBookingId"
      }
    },
    "/tasks/customers/{id}": {
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "findByCustomerId",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "TasksResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "TasksResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "title": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "priority": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TaskController.findByCustomerId"
      }
    },
    "/tasks/providers/{id}": {
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "findByProviderId",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "TasksResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "TasksResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "title": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "priority": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TaskController.findByProviderId"
      }
    },
    "/tasks/queue": {
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "findQueue",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "TasksResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "TasksResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "title": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "priority": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "TaskController.findQueue"
      }
    },
    "/tasks/{id}/comments/{commentId}": {
      "delete": {
        "x-controller-name": "TaskController",
        "x-operation-name": "deleteCommentById",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Post DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "commentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TaskController.deleteCommentById"
      }
    },
    "/tasks/{id}/comments": {
      "post": {
        "x-controller-name": "TaskController",
        "x-operation-name": "saveComment",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "comment"
                ],
                "properties": {
                  "comment": {
                    "type": "string",
                    "description": ""
                  },
                  "mentioned": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "description": "Comment request body",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "TaskController.saveComment"
      },
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "findComments",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "CommentsResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "CommentsResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "comment": {
                        "type": "string"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "TaskController.findComments"
      }
    },
    "/tasks/{id}/mark-as-complete": {
      "patch": {
        "x-controller-name": "TaskController",
        "x-operation-name": "markAsComplete",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TaskController.markAsComplete"
      }
    },
    "/tasks/{id}": {
      "patch": {
        "x-controller-name": "TaskController",
        "x-operation-name": "updateById",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "title": {
                    "type": "string",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "date": {
                    "type": "string",
                    "description": ""
                  },
                  "time": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "priority": {
                    "type": "number",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "queue": {
                    "type": "string",
                    "description": ""
                  },
                  "assignedTo": {
                    "type": "number",
                    "description": ""
                  },
                  "assignedName": {
                    "type": "string",
                    "description": ""
                  },
                  "assignedEmail": {
                    "type": "string",
                    "description": ""
                  },
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "string",
                    "description": ""
                  },
                  "bookingId": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save task",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "TaskController.updateById"
      },
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "findById",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "TaskResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TaskController.findById"
      }
    },
    "/tasks": {
      "post": {
        "x-controller-name": "TaskController",
        "x-operation-name": "save",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "title": {
                    "type": "string",
                    "description": ""
                  },
                  "description": {
                    "type": "string",
                    "description": ""
                  },
                  "date": {
                    "type": "string",
                    "description": ""
                  },
                  "time": {
                    "type": "string",
                    "description": ""
                  },
                  "type": {
                    "type": "number",
                    "description": ""
                  },
                  "priority": {
                    "type": "number",
                    "description": ""
                  },
                  "customerId": {
                    "type": "number",
                    "description": ""
                  },
                  "providerId": {
                    "type": "number",
                    "description": ""
                  },
                  "queue": {
                    "type": "string",
                    "description": ""
                  },
                  "assignedTo": {
                    "type": "number",
                    "description": ""
                  },
                  "assignedName": {
                    "type": "string",
                    "description": ""
                  },
                  "assignedEmail": {
                    "type": "string",
                    "description": ""
                  },
                  "msAccessToken": {
                    "type": "string",
                    "description": ""
                  },
                  "branchId": {
                    "type": "number",
                    "description": ""
                  },
                  "address": {
                    "type": "string",
                    "description": ""
                  },
                  "bookingId": {
                    "type": "number",
                    "description": ""
                  }
                }
              }
            }
          },
          "description": "Request body for save task",
          "required": true
        },
        "operationId": "TaskController.save"
      },
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "find",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "TasksResponse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "TasksResponse",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "title": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "date": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "type": {
                        "type": "number"
                      },
                      "priority": {
                        "type": "number"
                      },
                      "assignedTo": {
                        "type": "number"
                      },
                      "customerId": {
                        "type": "number"
                      },
                      "providerId": {
                        "type": "number"
                      },
                      "status": {
                        "type": "number"
                      },
                      "created": {
                        "type": "number"
                      },
                      "updated": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TaskController.find"
      }
    },
    "/tms/customers": {
      "get": {
        "x-controller-name": "TmsController",
        "x-operation-name": "find",
        "tags": [
          "TmsController"
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchStr",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TmsController.find"
      }
    }
  },
  "servers": [
    {
      "url": "https://be-crm.ubfreight.com"
    }
  ],
  "components": {
    "schemas": {
      "Address": {
        "title": "Address",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "label": {
            "type": "string"
          },
          "fullAddress": {
            "type": "string"
          },
          "pincode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "instruction": {
            "type": "string"
          },
          "siteMap": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "type": {
            "type": "number"
          },
          "lat": {
            "type": "string"
          },
          "lng": {
            "type": "string"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "providerId": {
            "type": "number"
          },
          "shipperconsigneeId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "Contact": {
        "title": "Contact",
        "type": "object",
        "description": "(tsType: Contact, schemaOptions: { includeRelations: false })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "designation": {
            "type": "string"
          },
          "contactType": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "subscribed": {
            "type": "number"
          },
          "lastContacted": {
            "type": "number"
          },
          "branchId": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "providerId": {
            "type": "number"
          },
          "shipperconsigneeId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Contact"
      },
      "Emailmanager": {
        "title": "Emailmanager",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "branchId": {
            "type": "number"
          },
          "module": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewEmailmanager": {
        "title": "NewEmailmanager",
        "type": "object",
        "description": "(tsType: Omit<Emailmanager, 'id' | 'status' | 'created' | 'updated'>, schemaOptions: { title: 'NewEmailmanager', exclude: [ 'id', 'status', 'created', 'updated' ] })",
        "properties": {
          "branchId": {
            "type": "number"
          },
          "module": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Emailmanager, 'id' | 'status' | 'created' | 'updated'>"
      },
      "EmailmanagerPartial": {
        "title": "EmailmanagerPartial",
        "type": "object",
        "description": "(tsType: Partial<Emailmanager>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "branchId": {
            "type": "number"
          },
          "module": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Emailmanager>"
      },
      "NewLead": {
        "title": "NewLead",
        "type": "object",
        "description": "(tsType: Omit<Lead, 'id' | 'status' | 'created' | 'updated'>, schemaOptions: { title: 'NewLead', exclude: [ 'id', 'status', 'created', 'updated' ] })",
        "properties": {
          "branchId": {
            "type": "number"
          },
          "formNo": {
            "type": "number"
          },
          "freightType": {
            "type": "number"
          },
          "companyName": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "contactPerson": {
            "type": "string"
          },
          "tin": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "pincode": {
            "type": "number"
          },
          "userType": {
            "type": "number"
          },
          "subscribed": {
            "type": "number"
          },
          "oldUserId": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "additionalInfo": {
            "type": "string"
          },
          "lat": {
            "type": "string"
          },
          "lng": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Lead, 'id' | 'status' | 'created' | 'updated'>"
      },
      "Lead": {
        "title": "Lead",
        "type": "object",
        "description": "(tsType: Lead, schemaOptions: { includeRelations: false })",
        "properties": {
          "id": {
            "type": "number"
          },
          "branchId": {
            "type": "number"
          },
          "formNo": {
            "type": "number"
          },
          "freightType": {
            "type": "number"
          },
          "companyName": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "contactPerson": {
            "type": "string"
          },
          "tin": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "pincode": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "userType": {
            "type": "number"
          },
          "subscribed": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          },
          "oldUserId": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "additionalInfo": {
            "type": "string"
          },
          "lat": {
            "type": "string"
          },
          "lng": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Lead"
      },
      "Margin": {
        "title": "Margin",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "marginType": {
            "type": "number"
          },
          "percentage": {
            "type": "number"
          },
          "fixedPrice": {
            "type": "number"
          },
          "providers": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewMargin": {
        "title": "NewMargin",
        "type": "object",
        "description": "(tsType: Omit<Margin, 'id' | 'status' | 'created' | 'updated'>, schemaOptions: { title: 'NewMargin', exclude: [ 'id', 'status', 'created', 'updated' ] })",
        "properties": {
          "marginType": {
            "type": "number"
          },
          "percentage": {
            "type": "number"
          },
          "fixedPrice": {
            "type": "number"
          },
          "providers": {
            "type": "string"
          },
          "customerId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Margin, 'id' | 'status' | 'created' | 'updated'>"
      },
      "Taskactivity": {
        "title": "Taskactivity",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "spendTime": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "bookingId": {
            "type": "number"
          },
          "taskId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewTaskactivity": {
        "title": "NewTaskactivity",
        "type": "object",
        "description": "(tsType: Omit<Taskactivity, 'id' | 'status' | 'created' | 'updated' | 'createdBy' | 'updatedBy'>, schemaOptions: { title: 'NewTaskactivity', exclude: [ 'id', 'status', 'created', 'updated', 'createdBy', 'updatedBy' ] })",
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "spendTime": {
            "type": "number"
          },
          "bookingId": {
            "type": "number"
          },
          "taskId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Taskactivity, 'id' | 'status' | 'created' | 'updated' | 'createdBy' | 'updatedBy'>"
      },
      "TaskactivityPartial": {
        "title": "TaskactivityPartial",
        "type": "object",
        "description": "(tsType: Partial<Taskactivity>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "spendTime": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "bookingId": {
            "type": "number"
          },
          "taskId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Taskactivity>"
      },
      "ActivityResponse": {
        "type": "object",
        "title": "ActivityResponse",
        "properties": {
          "id": {
            "type": "number"
          },
          "activityType": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "duration": {
            "type": "number"
          },
          "type": {
            "type": "number"
          },
          "assignedTo": {
            "type": "number"
          },
          "outCome": {
            "type": "number"
          },
          "noOfAttendees": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "providerId": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        }
      },
      "BusinesscategoryResponse": {
        "type": "object",
        "title": "BusinesscategoryResponse",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        }
      },
      "CustomernotificationsettingResponse": {
        "type": "object",
        "title": "CustomernotificationsettingResponse",
        "properties": {}
      },
      "CustomerResponse": {
        "type": "object",
        "title": "CustomerResponse",
        "properties": {
          "id": {
            "type": "number"
          },
          "companyName": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "type": {
            "type": "number"
          },
          "nature": {
            "type": "number"
          },
          "salesexecutiveId": {
            "type": "number"
          },
          "salessupportId": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        }
      },
      "NoteResponse": {
        "type": "object",
        "title": "NoteResponse",
        "properties": {
          "id": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "customerId": {
            "type": "number"
          },
          "providerId": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        }
      },
      "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
          }
        }
      },
      "ProviderResponse": {
        "type": "object",
        "title": "ProviderResponse",
        "properties": {
          "id": {
            "type": "number"
          },
          "companyName": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "type": {
            "type": "number"
          },
          "network": {
            "type": "number"
          },
          "expiryDate": {
            "type": "string"
          },
          "serviceId": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        }
      },
      "ShipperResponse": {
        "type": "object",
        "title": "ShipperResponse",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        }
      },
      "TaskResponse": {
        "type": "object",
        "title": "TaskResponse",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "type": {
            "type": "number"
          },
          "priority": {
            "type": "number"
          },
          "assignedTo": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "providerId": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "number"
          },
          "updated": {
            "type": "number"
          }
        }
      }
    }
  }
}