{
  "openapi": "3.0.1",
  "info": {
    "title": "DeliveryDude.WebApi",
    "description": "This Api will be responsible for overall data distribution and authorization.",
    "contact": {
      "name": "EPOS Technologies",
      "url": "https://www.epostechnologies.co.uk",
      "email": "support@epostechnologies.co.uk"
    },
    "version": "v1"
  },
  "paths": {
    "/api/v{version}/account/authenticate": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "ipAddress",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "userAgent",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "deviceName",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/refresh-token": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TokenRefreshResonseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenRefreshResonseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenRefreshResonseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/impersonate/{companyId}": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ipAddress",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "userAgent",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "deviceName",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/logout": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/login-activity": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshTokenListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshTokenListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshTokenListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/register": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterAdminRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterAdminRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterAdminRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterAdminRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/register-partner": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPartnerRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPartnerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPartnerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPartnerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/register-user": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterUserRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/user/{id}": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/users": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDTOListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/resend-verification-email": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/confirm-email": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "code",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/forgot-password": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "tempDeveloperEmail",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/reset-password": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "code",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/{id}/mark-active": {
      "put": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/{id}/mark-inactive": {
      "put": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/update-profile": {
      "put": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/changepicutre": {
      "patch": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/update-user-admin": {
      "put": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserUpdateAdminRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserUpdateAdminRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserUpdateAdminRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserUpdateAdminRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/change-password": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "ipAddress",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/account/verify-reset-password-code": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "code",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/actions": {
      "get": {
        "tags": [
          "Action"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ActionDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Action"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Action"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/actions/{id}": {
      "get": {
        "tags": [
          "Action"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ActionDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Action"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/analytics/completed-deliveries": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CompletedDeliveriesDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompletedDeliveriesDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompletedDeliveriesDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/analytics/get-orders": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CompletedDeliveriesDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompletedDeliveriesDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompletedDeliveriesDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/analytics/ontime-deliveries": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OnTimeDeliveriesDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnTimeDeliveriesDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnTimeDeliveriesDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/analytics/average-pickuptodelivery": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AvgPickupToDeliveryTimeDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvgPickupToDeliveryTimeDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvgPickupToDeliveryTimeDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/analytics/average-placementtodelivery": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AvgPickupToDeliveryTimeDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvgPickupToDeliveryTimeDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvgPickupToDeliveryTimeDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/analytics/partner": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerAnalyticsDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerAnalyticsDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerAnalyticsDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/appGeneralSettings": {
      "get": {
        "tags": [
          "AppGeneralSetting"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppGeneralSettingDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppGeneralSettingDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppGeneralSettingDTOListResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "AppGeneralSetting"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AppGeneralSettingDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppGeneralSettingDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AppGeneralSettingDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AppGeneralSettingDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/appGeneralSettings/appUpdate": {
      "get": {
        "tags": [
          "AppGeneralSetting"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppGeneralSettingDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppGeneralSettingDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppGeneralSettingDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/appGeneralSettings/{id}": {
      "delete": {
        "tags": [
          "AppGeneralSetting"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/applicationplans": {
      "get": {
        "tags": [
          "ApplicationPlan"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "ApplicationPlan"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ApplicationPlan"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/applicationplans/filter": {
      "post": {
        "tags": [
          "ApplicationPlan"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationPlanFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOIEnumerablePagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOIEnumerablePagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOIEnumerablePagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/applicationplans/{id}": {
      "get": {
        "tags": [
          "ApplicationPlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationPlanDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "ApplicationPlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/applicationplans/changepicutre": {
      "patch": {
        "tags": [
          "ApplicationPlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/cardtypes": {
      "get": {
        "tags": [
          "CardType"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CardTypeDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardTypeDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardTypeDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "CardType"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "CardType"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CardTypeDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/cardtypes/{id}": {
      "get": {
        "tags": [
          "CardType"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CardTypeDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardTypeDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardTypeDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "CardType"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/authenticate": {
      "post": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierAuthenticationResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierAuthenticationResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierAuthenticationResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers": {
      "post": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterCarrierRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterCarrierRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterCarrierRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterCarrierRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierAuthenticateDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierAuthenticateDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierAuthenticateDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/admin": {
      "put": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateAdminRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateAdminRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateAdminRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierUpdateAdminRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/admin-change-password": {
      "put": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "origin",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "ipAddress",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierChangePasswordDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierChangePasswordDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierChangePasswordDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierChangePasswordDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/preferences": {
      "patch": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPreferencesDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPreferencesDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPreferencesDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPreferencesDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPreferencesDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPreferencesDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPreferencesDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/navigationoptions": {
      "patch": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierNavigationOptionsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierNavigationOptionsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierNavigationOptionsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierNavigationOptionsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/dispatchcontact": {
      "patch": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierDispatchContactDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierDispatchContactDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierDispatchContactDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierDispatchContactDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/pushnotification": {
      "patch": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPushNotificationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPushNotificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPushNotificationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPushNotificationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/location": {
      "post": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CarrierLocationRequest"
                },
                "nullable": true
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CarrierLocationRequest"
                },
                "nullable": true
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CarrierLocationRequest"
                },
                "nullable": true
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CarrierLocationRequest"
                },
                "nullable": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/{id}/available": {
      "patch": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/{id}/offline": {
      "patch": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/filter": {
      "post": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierDTOIEnumerablePagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierDTOIEnumerablePagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierDTOIEnumerablePagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/{id}": {
      "get": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/earnings": {
      "post": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPaymentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPaymentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPaymentResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/{id}/preferences": {
      "get": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPreferencesDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPreferencesDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPreferencesDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/{id}/navigationoptions": {
      "get": {
        "tags": [
          "Carrier"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierNavigationOptionsDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/carriers/shifts": {
      "get": {
        "tags": [
          "CarrierShift"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v{version}/companies/{code}/details": {
      "get": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/filter": {
      "post": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CompanySummaryDTOIEnumerablePagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanySummaryDTOIEnumerablePagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanySummaryDTOIEnumerablePagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/{id}/status/{status}": {
      "put": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "status",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/{id}/changepartner/{partnerCompanyId}": {
      "put": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "partnerCompanyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/{id}/trialdays/{days}": {
      "put": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "days",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/{id}/comission/{rate}": {
      "put": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "rate",
            "in": "path",
            "required": true,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/{id}": {
      "get": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/changepicutre": {
      "patch": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/search-entity": {
      "get": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "entityType",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EntityDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntityDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntityDTOListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies": {
      "put": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyUpdateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32ListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32ListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32ListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/changeplan/{planId}": {
      "post": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/subscription": {
      "get": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CompanySubscriptionDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanySubscriptionDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanySubscriptionDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/companies/payment-method": {
      "get": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Company"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/connect/home": {
      "get": {
        "tags": [
          "Connect"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/connect/index": {
      "get": {
        "tags": [
          "Connect"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/connect/login": {
      "get": {
        "tags": [
          "Connect"
        ],
        "parameters": [
          {
            "name": "connect",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v{version}/countries": {
      "get": {
        "tags": [
          "Country"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Country"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CountryDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CountryDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CountryDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CountryDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/countries/{id}": {
      "get": {
        "tags": [
          "Country"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/currencies": {
      "get": {
        "tags": [
          "Currency"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyDTOListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Currency"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Currency"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/currencies/{id}": {
      "get": {
        "tags": [
          "Currency"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Currency"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Customers/filter": {
      "post": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOPagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOPagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOPagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Customers/{id}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Customers/search-entity": {
      "get": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "entityType",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EntityDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntityDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntityDTOListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Customers": {
      "put": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Customers/payment-method/{customerId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Customers/payment-method": {
      "post": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiservPaymentTokenDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Customers/payment-method/{id}": {
      "delete": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/feedbacks/filter": {
      "post": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackReponseDTOPagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackReponseDTOPagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackReponseDTOPagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/feedbacks/{id}": {
      "get": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/feedbacks": {
      "put": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/feedbacks/{id}/upload": {
      "post": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "img": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/feedbacks/{id}/markasread": {
      "patch": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/feedbacks/markallasread": {
      "patch": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/feedbacks/clearall": {
      "delete": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/integrationrequests": {
      "get": {
        "tags": [
          "IntegrationRequest"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRequestDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRequestDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRequestDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "IntegrationRequest"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IntegrationRequest"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRequestDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/integrationrequests/{id}": {
      "get": {
        "tags": [
          "IntegrationRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRequestDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRequestDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRequestDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "IntegrationRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/languages": {
      "get": {
        "tags": [
          "Language"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Language"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Language"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LanguageDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/languages/{id}": {
      "get": {
        "tags": [
          "Language"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Language"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/languages/changepicutre/{id}": {
      "patch": {
        "tags": [
          "Language"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/marketing-preferences/filter": {
      "post": {
        "tags": [
          "MarketingPreference"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MarketingPreferenceDTOPagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketingPreferenceDTOPagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketingPreferenceDTOPagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/marketing-preferences/{id}": {
      "delete": {
        "tags": [
          "MarketingPreference"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/marketing-preferences/unsubscribe": {
      "post": {
        "tags": [
          "MarketingPreference"
        ],
        "parameters": [
          {
            "name": "ipAddress",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "deviceName",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/marketing-preferences/subscribe": {
      "post": {
        "tags": [
          "MarketingPreference"
        ],
        "parameters": [
          {
            "name": "ipAddress",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "deviceName",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingPreferenceDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/info": {
      "get": {
        "tags": [
          "Meta"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/setup": {
      "get": {
        "tags": [
          "Meta"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v{version}/notifications/filter": {
      "post": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationDTOListNotificationsPagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationDTOListNotificationsPagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationDTOListNotificationsPagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/notifications/{id}": {
      "get": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/notifications/recent/count": {
      "post": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskRecentCountRequestDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskRecentCountRequestDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskRecentCountRequestDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskRecentCountRequestDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RecentNotificationCountDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecentNotificationCountDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecentNotificationCountDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/notifications/{id}/markasread": {
      "patch": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/notifications/markallasread": {
      "patch": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/notifications/clearall": {
      "delete": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/notifications/test": {
      "post": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/filter": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOIEnumerablePagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOIEnumerablePagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOIEnumerablePagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/filterByCompany": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOIEnumerablePagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOIEnumerablePagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOIEnumerablePagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/{id}": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/{id}/pay": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/partner/commission/details": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDTOListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/partner/paidout/claim": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/partner/paidout": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/partner/paidout/paid": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaidRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/orders/partner/paidout/void": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderVoidRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderVoidRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderVoidRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderVoidRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/paymentmethods": {
      "get": {
        "tags": [
          "PaymentMethod"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "PaymentMethod"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PaymentMethod"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentMethodDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/paymentmethods/{id}": {
      "get": {
        "tags": [
          "PaymentMethod"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PaymentMethod"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/order/{orderNumber}": {
      "get": {
        "tags": [
          "Pdf"
        ],
        "parameters": [
          {
            "name": "orderNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/task/{refCode}": {
      "get": {
        "tags": [
          "Pdf"
        ],
        "parameters": [
          {
            "name": "refCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v{version}/products/filter": {
      "post": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProductDTOPagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductDTOPagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductDTOPagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/products/{id}": {
      "get": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/products": {
      "put": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/monthly-sales": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MonthlySaleListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonthlySaleListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonthlySaleListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/hourly-sales": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/HourlySaleReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HourlySaleReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HourlySaleReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HourlySaleReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HourlySaleListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HourlySaleListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HourlySaleListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/top-products": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TopProductReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TopProductReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TopProductReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TopProductReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TopProductListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopProductListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopProductListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/top-customers": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TopCustomerListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopCustomerListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopCustomerListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/top-customers-sales": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TopCustomerReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TopCustomerSalesListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopCustomerSalesListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopCustomerSalesListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/top-carriers": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TopCarrierReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TopCarrierReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TopCarrierReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TopCarrierReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TopCarrierListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopCarrierListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopCarrierListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/salebydates": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByDateReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByDateReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByDateReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByDateReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SaleByDateListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaleByDateListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaleByDateListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/salebystores": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByStoreReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByStoreReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByStoreReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaleByStoreReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SaleByStoreListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaleByStoreListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaleByStoreListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/productSale": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductSaleReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductSaleReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductSaleReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductSaleReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProductSaleListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductSaleListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductSaleListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/customers-satisfaction": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerSatisfactionReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerSatisfactionReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerSatisfactionReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerSatisfactionReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSatisfactionListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSatisfactionListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSatisfactionListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/carriers-performance": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPerformanceReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPerformanceReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPerformanceReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPerformanceReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPerformanceListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPerformanceListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPerformanceListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/carriers-payment": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierPaymentReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPaymentListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPaymentListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierPaymentListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/customer-ratings": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRatingReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRatingReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRatingReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRatingReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerRatingResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerRatingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerRatingResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/task-summaries": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskSummaryReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskSummaryReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskSummaryReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskSummaryReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TaskSummaryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskSummaryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskSummaryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/report/subscription-summaries": {
      "post": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSummaryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSummaryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSummaryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSummaryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSummaryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSummaryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSummaryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Roles/filter": {
      "post": {
        "tags": [
          "Role"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RoleDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Roles/{id}": {
      "get": {
        "tags": [
          "Role"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RoleRepsonseDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleRepsonseDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleRepsonseDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Role"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/Roles": {
      "put": {
        "tags": [
          "Role"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Role"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/subscriptions/filter": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOPagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOPagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOPagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/subscriptions": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOIEnumerableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOIEnumerableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOIEnumerableResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/subscriptions/{id}": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/filter": {
      "post": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOIEnumerablePagedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOIEnumerablePagedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOIEnumerablePagedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/{id}": {
      "get": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/clientorder/{id}": {
      "get": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/carriers/summary": {
      "get": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierTaskAssignDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierTaskAssignDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierTaskAssignDTOListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/map": {
      "post": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/MapFilterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MapFilterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MapFilterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MapFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MapSummaryDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MapSummaryDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MapSummaryDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/assign": {
      "patch": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/tips": {
      "patch": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskTipsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskTipsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskTipsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignTaskTipsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/assign-multiple": {
      "patch": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignMultipleTaskRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignMultipleTaskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignMultipleTaskRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignMultipleTaskRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/changestatus": {
      "patch": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskChangeStateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskChangeStateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskChangeStateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskChangeStateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks": {
      "post": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/upload": {
      "post": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/failed-pod": {
      "put": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFeedbackDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFeedbackDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFeedbackDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierFeedbackDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/upload-pod": {
      "put": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "TaskId",
            "in": "header",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Latitude",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "Longitude",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/upload-signature": {
      "put": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "TaskId",
            "in": "header",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Latitude",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "Longitude",
            "in": "header",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/tasks/optimize-route": {
      "post": {
        "tags": [
          "Task"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RouteOptimizationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RouteOptimizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RouteOptimizationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RouteOptimizationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RouteResultDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouteResultDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouteResultDTOResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/taskforms": {
      "get": {
        "tags": [
          "TaskForm"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TaskFormDTOListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskFormDTOListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskFormDTOListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "TaskForm"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "TaskForm"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaskFormDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/v{version}/taskforms/{id}": {
      "get": {
        "tags": [
          "TaskForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TaskFormDTOResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskFormDTOResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskFormDTOResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "TaskForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int32Response"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AuthenticationRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActionTypeDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "command": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ActionDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "actionTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActionTypeDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleRepsonseDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActionDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DistanceUnit": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AutoDispatchType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "RoutingType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "BusinessType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "LanguageDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "header": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "isRtl": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CurrencyDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "displayFormat": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "decimalToken": {
            "type": "string",
            "nullable": true
          },
          "thousandsToken": {
            "type": "string",
            "nullable": true
          },
          "decimalPlaces": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CountryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "phoneCode": {
            "type": "string",
            "nullable": true
          },
          "defaultShortDateFormat": {
            "type": "string",
            "nullable": true
          },
          "defaultLongDateFormat": {
            "type": "string",
            "nullable": true
          },
          "defaultShortTimeFormat": {
            "type": "string",
            "nullable": true
          },
          "defaultLongTimeFormat": {
            "type": "string",
            "nullable": true
          },
          "defaultCurrencyId": {
            "type": "integer",
            "format": "int32"
          },
          "defaultLanguageId": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ApplicationPlanDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isTrial": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "isRecommended": {
            "type": "boolean"
          },
          "isPublic": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "html": {
            "type": "string",
            "nullable": true
          },
          "upfrontFees": {
            "type": "number",
            "format": "double"
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "additionalTaskFees": {
            "type": "number",
            "format": "double"
          },
          "canSendSms": {
            "type": "boolean"
          },
          "canCustomizeTemplates": {
            "type": "boolean"
          },
          "canRemovePoweredByLogo": {
            "type": "boolean"
          },
          "canChangeDeliveryTrackingColor": {
            "type": "boolean"
          },
          "canAddUsers": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "taxRate": {
            "type": "number",
            "format": "double"
          },
          "taxIncluded": {
            "type": "boolean"
          },
          "currencyId": {
            "type": "integer",
            "format": "int32"
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "countryDTO": {
            "$ref": "#/components/schemas/CountryDTO"
          },
          "currencyDTO": {
            "$ref": "#/components/schemas/CurrencyDTO"
          },
          "companyDTO": {
            "$ref": "#/components/schemas/CompanyDTO"
          }
        },
        "additionalProperties": false
      },
      "CompanyType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "TrackingNotificationTriggerType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "IntegrationType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "CompanyDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "apiKey": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "contactNumber": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "postCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "enableEmailNotifications": {
            "type": "boolean"
          },
          "enableSMSNotifications": {
            "type": "boolean"
          },
          "enableDeliveryReceiptEmailNotification": {
            "type": "boolean"
          },
          "distanceUnit": {
            "$ref": "#/components/schemas/DistanceUnit"
          },
          "perDelivery": {
            "type": "boolean"
          },
          "perDeliveryAmount": {
            "type": "number",
            "format": "double"
          },
          "perDistance": {
            "type": "boolean"
          },
          "perDistanceAmount": {
            "type": "number",
            "format": "double"
          },
          "perDeliveryFee": {
            "type": "boolean"
          },
          "perDeliveryFeeAmount": {
            "type": "number",
            "format": "double"
          },
          "taskResponseTimeMins": {
            "type": "integer",
            "format": "int32"
          },
          "dispatchWindowTimeHours": {
            "type": "integer",
            "format": "int32"
          },
          "maximumTimeLimitMins": {
            "type": "integer",
            "format": "int32"
          },
          "autoDispatching": {
            "type": "boolean"
          },
          "dispatchToOnlineCarriers": {
            "type": "boolean"
          },
          "autoDispatchLogic": {
            "$ref": "#/components/schemas/AutoDispatchType"
          },
          "maxAssignedNumber": {
            "type": "integer",
            "format": "int32"
          },
          "areaRadiusMile": {
            "type": "integer",
            "format": "int32"
          },
          "optimizedRouting": {
            "type": "boolean"
          },
          "optimizedRoutingType": {
            "$ref": "#/components/schemas/RoutingType"
          },
          "fixedPickupContactNumber": {
            "type": "string",
            "nullable": true
          },
          "fixedPickupAddress": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "businessType": {
            "$ref": "#/components/schemas/BusinessType"
          },
          "language": {
            "$ref": "#/components/schemas/LanguageDTO"
          },
          "currency": {
            "$ref": "#/components/schemas/CurrencyDTO"
          },
          "country": {
            "$ref": "#/components/schemas/CountryDTO"
          },
          "isActive": {
            "type": "boolean"
          },
          "useDefaultTimeZone": {
            "type": "boolean"
          },
          "defaultTimeZone": {
            "type": "string",
            "nullable": true
          },
          "applicationPlan": {
            "$ref": "#/components/schemas/ApplicationPlanDTO"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "companyType": {
            "$ref": "#/components/schemas/CompanyType"
          },
          "primaryTrackingColor": {
            "type": "string",
            "nullable": true
          },
          "secondaryTrackingColor": {
            "type": "string",
            "nullable": true
          },
          "orderTrackingSms": {
            "type": "string",
            "nullable": true
          },
          "orderDeliveryConfirmationSms": {
            "type": "string",
            "nullable": true
          },
          "orderTrackingEmail": {
            "type": "string",
            "nullable": true
          },
          "orderDeliveryConfirmationEmail": {
            "type": "string",
            "nullable": true
          },
          "proofOfDelivery": {
            "type": "boolean"
          },
          "autoAcceptTask": {
            "type": "boolean"
          },
          "isCustomizeOrderTrackingSms": {
            "type": "boolean"
          },
          "isCustomizeOrderDeliveryConfirmationSms": {
            "type": "boolean"
          },
          "isCustomizeOrderTrackingEmail": {
            "type": "boolean"
          },
          "isCustomizeOrderDeliveryConfirmationEmail": {
            "type": "boolean"
          },
          "triggerNotification": {
            "$ref": "#/components/schemas/TrackingNotificationTriggerType"
          },
          "commissionRate": {
            "type": "number",
            "format": "double"
          },
          "defaultTrialDays": {
            "type": "integer",
            "format": "int32"
          },
          "fiservApiKey": {
            "type": "string",
            "nullable": true
          },
          "fiservApiSecret": {
            "type": "string",
            "nullable": true
          },
          "fiservStoreId": {
            "type": "string",
            "nullable": true
          },
          "stripePublicKey": {
            "type": "string",
            "nullable": true
          },
          "stripeSecretKey": {
            "type": "string",
            "nullable": true
          },
          "integrationType": {
            "$ref": "#/components/schemas/IntegrationType"
          }
        },
        "additionalProperties": false
      },
      "AuthenticationResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "$ref": "#/components/schemas/RoleRepsonseDTO"
          },
          "userType": {
            "type": "string",
            "nullable": true
          },
          "isVerified": {
            "type": "boolean"
          },
          "jwt": {
            "type": "string",
            "nullable": true
          },
          "jwtExpiresIn": {
            "type": "string",
            "format": "date-time"
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "refreshTokenExpiresIn": {
            "type": "string",
            "format": "date-time"
          },
          "companyDTO": {
            "$ref": "#/components/schemas/CompanyDTO"
          },
          "isNew": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AuthenticationResponseResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/AuthenticationResponse"
          }
        },
        "additionalProperties": false
      },
      "RefreshTokenRequest": {
        "type": "object",
        "properties": {
          "refreshToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenRefreshResonse": {
        "type": "object",
        "properties": {
          "jwt": {
            "type": "string",
            "nullable": true
          },
          "jwtExpiresIn": {
            "type": "string",
            "format": "date-time"
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "refreshTokenExpiresIn": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TokenRefreshResonseResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/TokenRefreshResonse"
          }
        },
        "additionalProperties": false
      },
      "BooleanResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RefreshToken": {
        "type": "object",
        "properties": {
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "ipAddress": {
            "type": "string",
            "nullable": true
          },
          "userAgent": {
            "type": "string",
            "nullable": true
          },
          "deviceName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefreshTokenListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefreshToken"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterAdminRequest": {
        "required": [
          "city",
          "companyName",
          "confirmPassword",
          "countryId",
          "email",
          "firstName",
          "lastName",
          "password",
          "phoneNumber"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "password": {
            "minLength": 6,
            "type": "string"
          },
          "confirmPassword": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "StringResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterPartnerRequest": {
        "required": [
          "addressLine1",
          "city",
          "companyName",
          "confirmPassword",
          "countryId",
          "email",
          "firstName",
          "lastName",
          "password",
          "phoneNumber",
          "postCode"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "password": {
            "minLength": 6,
            "type": "string"
          },
          "confirmPassword": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "postCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RegisterUserRequest": {
        "required": [
          "email",
          "firstName",
          "lastName",
          "password",
          "phoneNumber",
          "roleId"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "password": {
            "minLength": 6,
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "roleId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AccountDTO": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "integer",
            "format": "int32"
          },
          "roleName": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AccountDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/AccountDTO"
          }
        },
        "additionalProperties": false
      },
      "AccountDTOListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ForgotPasswordRequest": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordRequest": {
        "required": [
          "confirmPassword",
          "password"
        ],
        "type": "object",
        "properties": {
          "password": {
            "minLength": 6,
            "type": "string"
          },
          "confirmPassword": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProfileRequest": {
        "required": [
          "firstName",
          "lastName",
          "phoneNumber"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UserUpdateAdminRequest": {
        "required": [
          "email",
          "firstName",
          "id",
          "lastName",
          "phoneNumber",
          "roleId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "roleId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ChangePasswordDTO": {
        "type": "object",
        "properties": {
          "currentPassword": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "confirmPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActionDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActionDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Int32Response": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ActionDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/ActionDTO"
          }
        },
        "additionalProperties": false
      },
      "AnalyticsFilterRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CompanyOverviewDTO": {
        "type": "object",
        "properties": {
          "onTimeDeliveries": {
            "type": "number",
            "format": "double"
          },
          "completedDeliveries": {
            "type": "integer",
            "format": "int32"
          },
          "avgPlacementToDeliveryTime": {
            "type": "number",
            "format": "double"
          },
          "avgPickupToDeliveryTime": {
            "type": "number",
            "format": "double"
          },
          "totalPaidOrders": {
            "type": "integer",
            "format": "int32"
          },
          "totalDueOrders": {
            "type": "integer",
            "format": "int32"
          },
          "totalVoidedOrders": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CompletedDeliveriesBreakdownByTimeDTO": {
        "type": "object",
        "properties": {
          "completedDeliveries": {
            "type": "integer",
            "format": "int32"
          },
          "hour": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompletedDeliveriesBreakdownByCarrierDTO": {
        "type": "object",
        "properties": {
          "completedDeliveries": {
            "type": "integer",
            "format": "int32"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompletedDeliveriesDTO": {
        "type": "object",
        "properties": {
          "overview": {
            "$ref": "#/components/schemas/CompanyOverviewDTO"
          },
          "breakdownByTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompletedDeliveriesBreakdownByTimeDTO"
            },
            "nullable": true
          },
          "breakdownByCarrier": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompletedDeliveriesBreakdownByCarrierDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompletedDeliveriesDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CompletedDeliveriesDTO"
          }
        },
        "additionalProperties": false
      },
      "OnTimeDeliveriesBreakdownByTimeDTO": {
        "type": "object",
        "properties": {
          "onTimeDeliveries": {
            "type": "number",
            "format": "double"
          },
          "hour": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OnTimeDeliveriesBreakdownByCarrierDTO": {
        "type": "object",
        "properties": {
          "onTimeDeliveries": {
            "type": "number",
            "format": "double"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OnTimeDeliveriesDTO": {
        "type": "object",
        "properties": {
          "overview": {
            "$ref": "#/components/schemas/CompanyOverviewDTO"
          },
          "breakdownByTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OnTimeDeliveriesBreakdownByTimeDTO"
            },
            "nullable": true
          },
          "breakdownByCarrier": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OnTimeDeliveriesBreakdownByCarrierDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OnTimeDeliveriesDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/OnTimeDeliveriesDTO"
          }
        },
        "additionalProperties": false
      },
      "AvgPickupToDeliveryTimeBreakdownByTimeDTO": {
        "type": "object",
        "properties": {
          "avgPickupToDeliveryTime": {
            "type": "number",
            "format": "double"
          },
          "hour": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AvgPickupToDeliveryTimeBreakdownByCarrierDTO": {
        "type": "object",
        "properties": {
          "avgPickupToDeliveryTime": {
            "type": "number",
            "format": "double"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AvgPickupToDeliveryTimeDTO": {
        "type": "object",
        "properties": {
          "overview": {
            "$ref": "#/components/schemas/CompanyOverviewDTO"
          },
          "breakdownByTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AvgPickupToDeliveryTimeBreakdownByTimeDTO"
            },
            "nullable": true
          },
          "breakdownByCarrier": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AvgPickupToDeliveryTimeBreakdownByCarrierDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AvgPickupToDeliveryTimeDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/AvgPickupToDeliveryTimeDTO"
          }
        },
        "additionalProperties": false
      },
      "PartnerAnalyticsDTO": {
        "type": "object",
        "properties": {
          "activeAccounts": {
            "type": "integer",
            "format": "int32"
          },
          "paidAccounts": {
            "type": "integer",
            "format": "int32"
          },
          "commission": {
            "type": "number",
            "format": "double"
          },
          "totalPendingCommission": {
            "type": "number",
            "format": "double"
          },
          "totalCommissionPaid": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PartnerAnalyticsDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/PartnerAnalyticsDTO"
          }
        },
        "additionalProperties": false
      },
      "AppGeneralSettingDTO": {
        "type": "object",
        "properties": {
          "iosVersion": {
            "type": "string",
            "nullable": true
          },
          "androidVersion": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppGeneralSettingDTOListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppGeneralSettingDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppGeneralSettingDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/AppGeneralSettingDTO"
          }
        },
        "additionalProperties": false
      },
      "ApplicationPlanDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApplicationPlanDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApplicationPlanFilterRequest": {
        "type": "object",
        "properties": {
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApplicationPlanDTOIEnumerablePagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApplicationPlanDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApplicationPlanDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/ApplicationPlanDTO"
          }
        },
        "additionalProperties": false
      },
      "CardTypeDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "systemGenerated": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardTypeDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CardTypeDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CardTypeDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CardTypeDTO"
          }
        },
        "additionalProperties": false
      },
      "VehicleType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "CarrierPreferencesDTO": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "newOrderAlert": {
            "type": "boolean"
          },
          "statusConfirmation": {
            "type": "boolean"
          },
          "proffOfDelivery": {
            "type": "boolean"
          },
          "autoOrderAccept": {
            "type": "boolean"
          },
          "addCashTips": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NavigationType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "MapType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "CarrierNavigationOptionsDTO": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "navigationType": {
            "$ref": "#/components/schemas/NavigationType"
          },
          "mapType": {
            "$ref": "#/components/schemas/MapType"
          }
        },
        "additionalProperties": false
      },
      "CarrierDispatchContactDTO": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "dispatcherContact": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierAuthenticateDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "perosnalId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "preferredLanguage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "vehicleType": {
            "$ref": "#/components/schemas/VehicleType"
          },
          "plate": {
            "type": "string",
            "nullable": true
          },
          "area": {
            "type": "string",
            "nullable": true
          },
          "preferences": {
            "$ref": "#/components/schemas/CarrierPreferencesDTO"
          },
          "navigationOptions": {
            "$ref": "#/components/schemas/CarrierNavigationOptionsDTO"
          },
          "dispatcherContact": {
            "$ref": "#/components/schemas/CarrierDispatchContactDTO"
          },
          "companyDTO": {
            "$ref": "#/components/schemas/CompanyDTO"
          }
        },
        "additionalProperties": false
      },
      "CarrierAuthenticationResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "carrierDTO": {
            "$ref": "#/components/schemas/CarrierAuthenticateDTO"
          },
          "isOnShift": {
            "type": "boolean"
          },
          "jwt": {
            "type": "string",
            "nullable": true
          },
          "jwtExpiresIn": {
            "type": "string",
            "format": "date-time"
          },
          "companyDTO": {
            "$ref": "#/components/schemas/CompanyDTO"
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "refreshTokenExpiresIn": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CarrierAuthenticationResponseResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CarrierAuthenticationResponse"
          }
        },
        "additionalProperties": false
      },
      "RegisterCarrierRequest": {
        "required": [
          "email",
          "firstName",
          "lastName",
          "phoneNumber",
          "temporaryPassword"
        ],
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "temporaryPassword": {
            "minLength": 6,
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CarrierUpdateRequest": {
        "required": [
          "email",
          "firstName",
          "lastName",
          "phoneNumber"
        ],
        "type": "object",
        "properties": {
          "personalId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "vehicleType": {
            "$ref": "#/components/schemas/VehicleType"
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "plate": {
            "type": "string",
            "nullable": true
          },
          "preferredLanguage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "area": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierAuthenticateDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CarrierAuthenticateDTO"
          }
        },
        "additionalProperties": false
      },
      "CarrierUpdateAdminRequest": {
        "required": [
          "email",
          "firstName",
          "id",
          "lastName",
          "phoneNumber"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CarrierChangePasswordDTO": {
        "type": "object",
        "properties": {
          "adminUserId": {
            "type": "string",
            "nullable": true
          },
          "adminPassword": {
            "type": "string",
            "nullable": true
          },
          "carrierId": {
            "type": "integer",
            "format": "int32"
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierPreferencesDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CarrierPreferencesDTO"
          }
        },
        "additionalProperties": false
      },
      "CarrierNavigationOptionsDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CarrierNavigationOptionsDTO"
          }
        },
        "additionalProperties": false
      },
      "StoreType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "CarrierPushNotificationRequest": {
        "required": [
          "id",
          "storeType",
          "token"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "uuid": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string"
          },
          "storeType": {
            "$ref": "#/components/schemas/StoreType"
          }
        },
        "additionalProperties": false
      },
      "CarrierLocationRequest": {
        "required": [
          "id",
          "latitude",
          "longitude"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "latitude": {
            "type": "string"
          },
          "longitude": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CarrierFilterRequest": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "vehicleType": {
            "$ref": "#/components/schemas/VehicleType"
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "plate": {
            "type": "string",
            "nullable": true
          },
          "currentLatitude": {
            "type": "string",
            "nullable": true
          },
          "currentLongitude": {
            "type": "string",
            "nullable": true
          },
          "preferredLanguage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "area": {
            "type": "string",
            "nullable": true
          },
          "isOnShift": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "newOrderAlert": {
            "type": "boolean"
          },
          "statusConfirmation": {
            "type": "boolean"
          },
          "proffOfDelivery": {
            "type": "boolean"
          },
          "autoOrderAccept": {
            "type": "boolean"
          },
          "dispatcherContact": {
            "type": "string",
            "nullable": true
          },
          "addCashTips": {
            "type": "boolean"
          },
          "mapType": {
            "$ref": "#/components/schemas/MapType"
          },
          "navigationType": {
            "$ref": "#/components/schemas/NavigationType"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierDTOIEnumerablePagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CarrierDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CarrierDTO"
          }
        },
        "additionalProperties": false
      },
      "CarrierPaymentReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CarrierPayment": {
        "type": "object",
        "properties": {
          "carrierId": {
            "type": "integer",
            "format": "int32"
          },
          "carrierName": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "failedTasks": {
            "type": "integer",
            "format": "int32"
          },
          "basePayment": {
            "type": "number",
            "format": "double"
          },
          "onlineTips": {
            "type": "number",
            "format": "double"
          },
          "cashTips": {
            "type": "number",
            "format": "double"
          },
          "hoursWorked": {
            "type": "string",
            "nullable": true
          },
          "totalEarning": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "averageDeliveryTime": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CarrierPaymentResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CarrierPayment"
          }
        },
        "additionalProperties": false
      },
      "CompanyDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CompanyDTO"
          }
        },
        "additionalProperties": false
      },
      "CompanyFilterRequest": {
        "type": "object",
        "properties": {
          "partnerCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "companyType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyType"
            },
            "nullable": true
          },
          "fromDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompanySummaryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "adminUserId": {
            "type": "string",
            "nullable": true
          },
          "adminFirstName": {
            "type": "string",
            "nullable": true
          },
          "adminLastName": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "adminEmail": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "postCode": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "registeredOn": {
            "type": "string",
            "format": "date-time"
          },
          "applicationPlan": {
            "type": "string",
            "nullable": true
          },
          "applicationPlanImageUrl": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "partnerCompanyName": {
            "type": "string",
            "nullable": true
          },
          "commissionRate": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "type": "boolean"
          },
          "companyType": {
            "$ref": "#/components/schemas/CompanyType"
          }
        },
        "additionalProperties": false
      },
      "CompanySummaryDTOIEnumerablePagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanySummaryDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityDTOListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntityDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompanyUpdateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "contactNumber": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "postCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "enableEmailNotifications": {
            "type": "boolean"
          },
          "enableSMSNotifications": {
            "type": "boolean"
          },
          "enableDeliveryReceiptEmailNotification": {
            "type": "boolean"
          },
          "distanceUnit": {
            "$ref": "#/components/schemas/DistanceUnit"
          },
          "perDelivery": {
            "type": "boolean"
          },
          "perDeliveryAmount": {
            "type": "number",
            "format": "double"
          },
          "perDistance": {
            "type": "boolean"
          },
          "perDistanceAmount": {
            "type": "number",
            "format": "double"
          },
          "perDeliveryFee": {
            "type": "boolean"
          },
          "perDeliveryFeeAmount": {
            "type": "number",
            "format": "double"
          },
          "taskResponseTimeMins": {
            "type": "integer",
            "format": "int32"
          },
          "dispatchWindowTimeHours": {
            "type": "integer",
            "format": "int32"
          },
          "maximumTimeLimitMins": {
            "type": "integer",
            "format": "int32"
          },
          "autoDispatching": {
            "type": "boolean"
          },
          "dispatchToOnlineCarriers": {
            "type": "boolean"
          },
          "autoDispatchLogic": {
            "$ref": "#/components/schemas/AutoDispatchType"
          },
          "optimizedRoutingType": {
            "$ref": "#/components/schemas/RoutingType"
          },
          "maxAssignedNumber": {
            "type": "integer",
            "format": "int32"
          },
          "areaRadiusMile": {
            "type": "integer",
            "format": "int32"
          },
          "currencyId": {
            "type": "integer",
            "format": "int32"
          },
          "languageId": {
            "type": "integer",
            "format": "int32"
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "useDefaultTimeZone": {
            "type": "boolean"
          },
          "defaultTimeZone": {
            "type": "string",
            "nullable": true
          },
          "businessType": {
            "$ref": "#/components/schemas/BusinessType"
          },
          "fixedPickupAddress": {
            "type": "string",
            "nullable": true
          },
          "fixedPickupContactNumber": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "primaryTrackingColor": {
            "type": "string",
            "nullable": true
          },
          "secondaryTrackingColor": {
            "type": "string",
            "nullable": true
          },
          "orderTrackingSms": {
            "type": "string",
            "nullable": true
          },
          "orderDeliveryConfirmationSms": {
            "type": "string",
            "nullable": true
          },
          "orderTrackingEmail": {
            "type": "string",
            "nullable": true
          },
          "orderDeliveryConfirmationEmail": {
            "type": "string",
            "nullable": true
          },
          "isCustomizeOrderTrackingSms": {
            "type": "boolean"
          },
          "isCustomizeOrderDeliveryConfirmationSms": {
            "type": "boolean"
          },
          "isCustomizeOrderTrackingEmail": {
            "type": "boolean"
          },
          "isCustomizeOrderDeliveryConfirmationEmail": {
            "type": "boolean"
          },
          "optimizedRouting": {
            "type": "boolean"
          },
          "triggerNotification": {
            "$ref": "#/components/schemas/TrackingNotificationTriggerType"
          },
          "proofOfDelivery": {
            "type": "boolean"
          },
          "autoAcceptTask": {
            "type": "boolean"
          },
          "defaultTrialDays": {
            "type": "integer",
            "format": "int32"
          },
          "fiservApiKey": {
            "type": "string",
            "nullable": true
          },
          "fiservApiSecret": {
            "type": "string",
            "nullable": true
          },
          "fiservStoreId": {
            "type": "string",
            "nullable": true
          },
          "stripePublicKey": {
            "type": "string",
            "nullable": true
          },
          "stripeSecretKey": {
            "type": "string",
            "nullable": true
          },
          "integrationType": {
            "$ref": "#/components/schemas/IntegrationType"
          }
        },
        "additionalProperties": false
      },
      "Int32ListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FiservPaymentTokenDTO": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "last4": {
            "type": "string",
            "nullable": true
          },
          "month": {
            "type": "string",
            "nullable": true
          },
          "year": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompanySubscriptionDTO": {
        "type": "object",
        "properties": {
          "paymentTokenDTO": {
            "$ref": "#/components/schemas/FiservPaymentTokenDTO"
          },
          "nextDueDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "currencyDTO": {
            "$ref": "#/components/schemas/CurrencyDTO"
          },
          "applicationPlanDTO": {
            "$ref": "#/components/schemas/ApplicationPlanDTO"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompanySubscriptionDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CompanySubscriptionDTO"
          }
        },
        "additionalProperties": false
      },
      "FiservPaymentTokenDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/FiservPaymentTokenDTO"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodRequest": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "cardNumber": {
            "type": "string",
            "nullable": true
          },
          "month": {
            "type": "string",
            "nullable": true
          },
          "year": {
            "type": "string",
            "nullable": true
          },
          "cvc": {
            "type": "string",
            "nullable": true
          },
          "nameOnCard": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountryDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CountryDTO"
          }
        },
        "additionalProperties": false
      },
      "CurrencyDTOListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CurrencyDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CurrencyDTO"
          }
        },
        "additionalProperties": false
      },
      "CustomerFilterRequest": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CustomerDTOPagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CustomerDTO"
          }
        },
        "additionalProperties": false
      },
      "CustomerDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CustomerDTO"
          }
        },
        "additionalProperties": false
      },
      "FeedbackStatus": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "FeedbackType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "FeedbackCategory": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "FeedbackFilterRequest": {
        "type": "object",
        "properties": {
          "states": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeedbackStatus"
            },
            "nullable": true
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeedbackType"
            },
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeedbackCategory"
            },
            "nullable": true
          },
          "fromDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FeedbackReponseDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "userImageUrl": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/FeedbackType"
          },
          "category": {
            "$ref": "#/components/schemas/FeedbackCategory"
          },
          "status": {
            "$ref": "#/components/schemas/FeedbackStatus"
          }
        },
        "additionalProperties": false
      },
      "FeedbackReponseDTOPagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/FeedbackReponseDTO"
          }
        },
        "additionalProperties": false
      },
      "FeedbackDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/FeedbackType"
          },
          "category": {
            "$ref": "#/components/schemas/FeedbackCategory"
          },
          "status": {
            "$ref": "#/components/schemas/FeedbackStatus"
          }
        },
        "additionalProperties": false
      },
      "FeedbackDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/FeedbackDTO"
          }
        },
        "additionalProperties": false
      },
      "IntegrationRequestDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntegrationRequestDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegrationRequestDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntegrationRequestDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/IntegrationRequestDTO"
          }
        },
        "additionalProperties": false
      },
      "LanguageDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LanguageDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/LanguageDTO"
          }
        },
        "additionalProperties": false
      },
      "MarketingPreferenceType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "MarketingPreferenceStatus": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "MarketingPreferenceFilterRequest": {
        "type": "object",
        "properties": {
          "preferenceTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarketingPreferenceType"
            },
            "nullable": true
          },
          "status": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarketingPreferenceStatus"
            },
            "nullable": true
          },
          "fromDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MarketingPreferenceDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "preferenceType": {
            "$ref": "#/components/schemas/MarketingPreferenceType"
          },
          "status": {
            "$ref": "#/components/schemas/MarketingPreferenceStatus"
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "ip": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "deviceName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MarketingPreferenceDTOPagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/MarketingPreferenceDTO"
          }
        },
        "additionalProperties": false
      },
      "NotificationLogStatus": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "NotificationFilterRequest": {
        "type": "object",
        "properties": {
          "states": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationLogStatus"
            },
            "nullable": true
          },
          "fromDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "NotificationAuthorDTO": {
        "type": "object",
        "properties": {
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NotificationDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "notificationType": {
            "$ref": "#/components/schemas/NotificationType"
          },
          "status": {
            "$ref": "#/components/schemas/NotificationLogStatus"
          },
          "sourceId": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "author": {
            "$ref": "#/components/schemas/NotificationAuthorDTO"
          }
        },
        "additionalProperties": false
      },
      "NotificationDTOListNotificationsPagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "activeNotificationsCount": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/NotificationDTO"
          }
        },
        "additionalProperties": false
      },
      "TaskRecentCountRequestDTO": {
        "type": "object",
        "properties": {
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "isApp": {
            "type": "boolean"
          },
          "carrierId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RecentNotificationCountDTO": {
        "type": "object",
        "properties": {
          "task": {
            "type": "integer",
            "format": "int32"
          },
          "carrier": {
            "type": "integer",
            "format": "int32"
          },
          "general": {
            "type": "integer",
            "format": "int32"
          },
          "lastSyncTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RecentNotificationCountDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/RecentNotificationCountDTO"
          }
        },
        "additionalProperties": false
      },
      "CompanySearchType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "OrderState": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "OrderType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "OrderFilterRequest": {
        "type": "object",
        "properties": {
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "searchCustomerOrders": {
            "type": "boolean"
          },
          "searchType": {
            "$ref": "#/components/schemas/CompanySearchType"
          },
          "states": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderState"
            },
            "nullable": true
          },
          "fromDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "orderTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderType"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderCategory": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "PaymentSource": {
        "enum": [
          1,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "OrderDetailDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "format": "int32"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "grossAmount": {
            "type": "number",
            "format": "double"
          },
          "taxRate": {
            "type": "number",
            "format": "double"
          },
          "taxAmount": {
            "type": "number",
            "format": "double"
          },
          "taxIncluded": {
            "type": "boolean"
          },
          "netAmount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "OrderDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "orderDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "orderNumber": {
            "type": "string",
            "nullable": true
          },
          "totalAmount": {
            "type": "number",
            "format": "double"
          },
          "totalTax": {
            "type": "number",
            "format": "double"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "partnerCompanyName": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "netAmount": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "$ref": "#/components/schemas/OrderState"
          },
          "invoiceType": {
            "$ref": "#/components/schemas/OrderType"
          },
          "orderCategory": {
            "$ref": "#/components/schemas/OrderCategory"
          },
          "paymentRef": {
            "type": "string",
            "nullable": true
          },
          "paymentDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "paymentSource": {
            "$ref": "#/components/schemas/PaymentSource"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "bin": {
            "type": "string",
            "nullable": true
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "last": {
            "type": "string",
            "nullable": true
          },
          "expiryDate": {
            "type": "string",
            "nullable": true
          },
          "ipgTransactionId": {
            "type": "string",
            "nullable": true
          },
          "orderDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderDetailDTO"
            },
            "nullable": true
          },
          "attachmentURL": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "$ref": "#/components/schemas/CurrencyDTO"
          },
          "isVoidUpdate": {
            "type": "boolean"
          },
          "link": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderDTOIEnumerablePagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/OrderDTO"
          }
        },
        "additionalProperties": false
      },
      "OrderDTOListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderPaidRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "paymentDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "paidBy": {
            "type": "string",
            "nullable": true
          },
          "paymentRef": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderVoidRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "comments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "showCardOptions": {
            "type": "boolean"
          },
          "systemGenerated": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentMethodDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/PaymentMethodDTO"
          }
        },
        "additionalProperties": false
      },
      "ProductFilterRequest": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "barcode": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProductDTOPagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/ProductDTO"
          }
        },
        "additionalProperties": false
      },
      "MonthlySale": {
        "type": "object",
        "properties": {
          "month": {
            "type": "integer",
            "format": "int32"
          },
          "year": {
            "type": "integer",
            "format": "int32"
          },
          "qty": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "MonthlySaleListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MonthlySale"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HourlySaleReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "HourlySale": {
        "type": "object",
        "properties": {
          "hour": {
            "type": "string",
            "nullable": true
          },
          "qty": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "HourlySaleListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HourlySale"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TopProductReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TopProduct": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "qty": {
            "type": "number",
            "format": "double"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TopProductListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopProduct"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TopCustomerReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TopCustomer": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TopCustomerListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopCustomer"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TopCustomerSales": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "numberOfSales": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TopCustomerSalesListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopCustomerSales"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TopCarrierReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TopCarrier": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TopCarrierListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopCarrier"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaleByDateReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SaleByDate": {
        "type": "object",
        "properties": {
          "businessDate": {
            "type": "string",
            "format": "date-time"
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SaleByDateListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaleByDate"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaleByStoreReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SaleByStore": {
        "type": "object",
        "properties": {
          "storeId": {
            "type": "integer",
            "format": "int32"
          },
          "storeName": {
            "type": "string",
            "nullable": true
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          },
          "avg": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SaleByStoreListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaleByStore"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductSaleReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/OrderState"
          }
        },
        "additionalProperties": false
      },
      "ProductSale": {
        "type": "object",
        "properties": {
          "orderNumber": {
            "type": "string",
            "nullable": true
          },
          "productName": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "orderDate": {
            "type": "string",
            "format": "date-time"
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "total": {
            "type": "number",
            "format": "double"
          },
          "link": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductSaleListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductSale"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerSatisfactionReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CustomerSatisfaction": {
        "type": "object",
        "properties": {
          "storeId": {
            "type": "integer",
            "format": "int32"
          },
          "storeName": {
            "type": "string",
            "nullable": true
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "inTimeDelivery": {
            "type": "integer",
            "format": "int32"
          },
          "customerRating": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CustomerSatisfactionListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerSatisfaction"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierPerformanceReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CarrierPerformance": {
        "type": "object",
        "properties": {
          "carrierId": {
            "type": "integer",
            "format": "int32"
          },
          "carrierName": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32"
          },
          "inTimeDelivery": {
            "type": "integer",
            "format": "int32"
          },
          "customerRating": {
            "type": "integer",
            "format": "int32"
          },
          "avg": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CarrierPerformanceListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CarrierPerformance"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierPaymentListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CarrierPayment"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerRatingReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CustomerRating": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "oneStarCount": {
            "type": "integer",
            "format": "int32"
          },
          "twoStarCount": {
            "type": "integer",
            "format": "int32"
          },
          "threeStarCount": {
            "type": "integer",
            "format": "int32"
          },
          "fourStarCount": {
            "type": "integer",
            "format": "int32"
          },
          "fiveStarCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CustomerRatingResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/CustomerRating"
          }
        },
        "additionalProperties": false
      },
      "TaskSummaryReportRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TaskSummary": {
        "type": "object",
        "properties": {
          "newTaskCount": {
            "type": "integer",
            "format": "int32"
          },
          "newTaskValue": {
            "type": "number",
            "format": "double"
          },
          "inProgressTaskCount": {
            "type": "integer",
            "format": "int32"
          },
          "inProgressTaskValue": {
            "type": "number",
            "format": "double"
          },
          "completedTaskCount": {
            "type": "integer",
            "format": "int32"
          },
          "completedTaskValue": {
            "type": "number",
            "format": "double"
          },
          "cancelledTaskCount": {
            "type": "integer",
            "format": "int32"
          },
          "cancelledTaskValue": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TaskSummaryResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/TaskSummary"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionSummaryRequest": {
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "format": "date-time"
          },
          "toDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionSummary": {
        "type": "object",
        "properties": {
          "activeSubscriptionCount": {
            "type": "integer",
            "format": "int32"
          },
          "activeSubscriptionValue": {
            "type": "number",
            "format": "double"
          },
          "inActiveSubscriptionCount": {
            "type": "integer",
            "format": "int32"
          },
          "inActiveSubscriptionValue": {
            "type": "number",
            "format": "double"
          },
          "completedSubscriptionCount": {
            "type": "integer",
            "format": "int32"
          },
          "completedSubscriptionValue": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionSummaryResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/SubscriptionSummary"
          }
        },
        "additionalProperties": false
      },
      "RoleFilterRequest": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActionDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/RoleDTO"
          }
        },
        "additionalProperties": false
      },
      "RoleRepsonseDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/RoleRepsonseDTO"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionFilterRequest": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Store": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StoreTask"
            },
            "nullable": true
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "lastModifiedBy": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskState": {
        "enum": [
          10,
          20,
          30,
          40,
          50,
          60,
          70,
          80,
          90,
          100,
          150,
          200,
          300
        ],
        "type": "integer",
        "format": "int32"
      },
      "TaskAutoAssignementState": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "TaskCostDetail": {
        "type": "object",
        "properties": {
          "cost": {
            "type": "number",
            "format": "double"
          },
          "shiftId": {
            "type": "integer",
            "format": "int32"
          },
          "taskId": {
            "type": "integer",
            "format": "int32"
          },
          "task": {
            "$ref": "#/components/schemas/StoreTask"
          }
        },
        "additionalProperties": false
      },
      "TaskTimeDetail": {
        "type": "object",
        "properties": {
          "placementTime": {
            "type": "string",
            "format": "date-time"
          },
          "expectedPickupTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expectedDeliveryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expectedDeliveryTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "assignedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acceptedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pickedUpTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "arrivedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deliveryTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "failedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "taskId": {
            "type": "integer",
            "format": "int32"
          },
          "task": {
            "$ref": "#/components/schemas/StoreTask"
          },
          "expectedDeliveryDateTimeReporting": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "deliveryDateTimeReporting": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TaskItemAddon": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskItemAddon"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskLog": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "taskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskFeedback": {
        "type": "object",
        "properties": {
          "customerFeedback": {
            "type": "string",
            "nullable": true
          },
          "customerRatings": {
            "type": "integer",
            "format": "int32"
          },
          "carrierFeedback": {
            "type": "string",
            "nullable": true
          },
          "pod": {
            "type": "string",
            "nullable": true
          },
          "carrierFeedbackLatitude": {
            "type": "string",
            "nullable": true
          },
          "carrierFeedbackLongitude": {
            "type": "string",
            "nullable": true
          },
          "taskId": {
            "type": "integer",
            "format": "int32"
          },
          "task": {
            "$ref": "#/components/schemas/StoreTask"
          }
        },
        "additionalProperties": false
      },
      "TaskSource": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "StoreTask": {
        "type": "object",
        "properties": {
          "clientTaskId": {
            "type": "string",
            "nullable": true
          },
          "taskNumber": {
            "type": "string",
            "nullable": true
          },
          "deliveryInstruction": {
            "type": "string",
            "nullable": true
          },
          "distance": {
            "type": "integer",
            "format": "int32"
          },
          "drivingTimeBetweenPickupDelivery": {
            "type": "integer",
            "format": "int32"
          },
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "customer": {
            "$ref": "#/components/schemas/Customer"
          },
          "storeId": {
            "type": "integer",
            "format": "int32"
          },
          "store": {
            "$ref": "#/components/schemas/Store"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int32"
          },
          "cardTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "creditCardId": {
            "type": "string",
            "nullable": true
          },
          "grossAmount": {
            "type": "number",
            "format": "double"
          },
          "taxRate": {
            "type": "number",
            "format": "double"
          },
          "taxAmount": {
            "type": "number",
            "format": "double"
          },
          "deliveryFee": {
            "type": "number",
            "format": "double"
          },
          "discountAmount": {
            "type": "number",
            "format": "double"
          },
          "tip": {
            "type": "number",
            "format": "double"
          },
          "cashTip": {
            "type": "number",
            "format": "double"
          },
          "netAmount": {
            "type": "number",
            "format": "double"
          },
          "assignedCarrierId": {
            "type": "integer",
            "format": "int32"
          },
          "isClosed": {
            "type": "boolean"
          },
          "accepted": {
            "type": "boolean"
          },
          "taskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "autoAssignmentStatus": {
            "$ref": "#/components/schemas/TaskAutoAssignementState"
          },
          "taskCostDetail": {
            "$ref": "#/components/schemas/TaskCostDetail"
          },
          "taskTimeDetail": {
            "$ref": "#/components/schemas/TaskTimeDetail"
          },
          "taskItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskItem"
            },
            "nullable": true
          },
          "taskLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskLog"
            },
            "nullable": true
          },
          "feedback": {
            "$ref": "#/components/schemas/TaskFeedback"
          },
          "source": {
            "$ref": "#/components/schemas/TaskSource"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "lastModifiedBy": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Customer": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StoreTask"
            },
            "nullable": true
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "lastModifiedBy": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionFrequency": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "SubscriptionRecurranceType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "SubscriptionItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "productId": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "customer": {
            "$ref": "#/components/schemas/Customer"
          },
          "frequency": {
            "$ref": "#/components/schemas/SubscriptionFrequency"
          },
          "recurranceType": {
            "$ref": "#/components/schemas/SubscriptionRecurranceType"
          },
          "noOfTimes": {
            "type": "integer",
            "format": "int32"
          },
          "lastRunDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "noOfTimesExecuted": {
            "type": "integer",
            "format": "int32"
          },
          "nextRunDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "subscriptionItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionItem"
            },
            "nullable": true
          },
          "maintenanceNotification": {
            "type": "boolean"
          },
          "sendNotificationDays": {
            "type": "integer",
            "format": "int32"
          },
          "maintenanceNotificationMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionDTOPagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/SubscriptionDTO"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionDTOIEnumerableResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/SubscriptionDTO"
          }
        },
        "additionalProperties": false
      },
      "TaskFilterType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "TaskFilterRequest": {
        "type": "object",
        "properties": {
          "states": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskState"
            },
            "nullable": true
          },
          "filterType": {
            "$ref": "#/components/schemas/TaskFilterType"
          },
          "fromDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "carrierId": {
            "type": "integer",
            "format": "int32"
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          },
          "isAsc": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskTimeDetailDTO": {
        "type": "object",
        "properties": {
          "placementTime": {
            "type": "string",
            "format": "date-time"
          },
          "expectedPickupTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expectedDeliveryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expectedDeliveryTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "assignedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acceptedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pickedUpTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "arrivedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deliveryTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StoreDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskItemAddonDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskItemDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskItemAddonDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskFeedbackDTO": {
        "type": "object",
        "properties": {
          "customerFeedback": {
            "type": "string",
            "nullable": true
          },
          "customerRatings": {
            "type": "integer",
            "format": "int32"
          },
          "carrierFeedback": {
            "type": "string",
            "nullable": true
          },
          "pod": {
            "type": "string",
            "nullable": true
          },
          "carrierFeedbackLatitude": {
            "type": "string",
            "nullable": true
          },
          "carrierFeedbackLongitude": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskLogDetailDTO": {
        "type": "object",
        "properties": {
          "taskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TaskDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "refCode": {
            "type": "string",
            "nullable": true
          },
          "clientTaskId": {
            "type": "string",
            "nullable": true
          },
          "taskNumber": {
            "type": "string",
            "nullable": true
          },
          "deliveryInstruction": {
            "type": "string",
            "nullable": true
          },
          "distance": {
            "type": "integer",
            "format": "int32"
          },
          "drivingTimeBetweenPickupDelivery": {
            "type": "integer",
            "format": "int32"
          },
          "taskTimeDetail": {
            "$ref": "#/components/schemas/TaskTimeDetailDTO"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int32"
          },
          "cardTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "creditCardId": {
            "type": "string",
            "nullable": true
          },
          "grossAmount": {
            "type": "number",
            "format": "double"
          },
          "taxRate": {
            "type": "number",
            "format": "double"
          },
          "taxAmount": {
            "type": "number",
            "format": "double"
          },
          "deliveryFee": {
            "type": "number",
            "format": "double"
          },
          "discountAmount": {
            "type": "number",
            "format": "double"
          },
          "tip": {
            "type": "number",
            "format": "double"
          },
          "cashTip": {
            "type": "number",
            "format": "double"
          },
          "netAmount": {
            "type": "number",
            "format": "double"
          },
          "assignedCarrierId": {
            "type": "integer",
            "format": "int32"
          },
          "isClosed": {
            "type": "boolean"
          },
          "accepted": {
            "type": "boolean"
          },
          "taskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "autoAssignmentStatus": {
            "$ref": "#/components/schemas/TaskAutoAssignementState"
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerDTO"
          },
          "store": {
            "$ref": "#/components/schemas/StoreDTO"
          },
          "taskItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskItemDTO"
            },
            "nullable": true
          },
          "carrierDTO": {
            "$ref": "#/components/schemas/CarrierDTO"
          },
          "paymentMethodDTO": {
            "$ref": "#/components/schemas/PaymentMethodDTO"
          },
          "feedback": {
            "$ref": "#/components/schemas/TaskFeedbackDTO"
          },
          "taskLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskLogDetailDTO"
            },
            "nullable": true
          },
          "cardTypeDTO": {
            "$ref": "#/components/schemas/CardTypeDTO"
          }
        },
        "additionalProperties": false
      },
      "TaskDTOIEnumerablePagedResponse": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/TaskDTO"
          }
        },
        "additionalProperties": false
      },
      "CarrierTaskAssignDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "isAvailable": {
            "type": "boolean"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "tasks": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierTaskAssignDTOListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CarrierTaskAssignDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MapFilterRequest": {
        "type": "object",
        "properties": {
          "isCustomer": {
            "type": "boolean"
          },
          "isStore": {
            "type": "boolean"
          },
          "isCarrier": {
            "type": "boolean"
          },
          "isNotAssinged": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TaskSummaryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "taskNumber": {
            "type": "string",
            "nullable": true
          },
          "taskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "customerId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "StoreActorDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "taskSummary": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskSummaryDTO"
            },
            "nullable": true
          },
          "numberOfTasks": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CarrierActorDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "numOfAssignedTasks": {
            "type": "integer",
            "format": "int32"
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "destinationAddress": {
            "type": "string",
            "nullable": true
          },
          "currentTaskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "attendingTaskId": {
            "type": "integer",
            "format": "int32"
          },
          "attendingTaskNumber": {
            "type": "string",
            "nullable": true
          },
          "isOnShift": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CustomerActorDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "taskNumber": {
            "type": "string",
            "nullable": true
          },
          "taskId": {
            "type": "integer",
            "format": "int32"
          },
          "scheduled": {
            "type": "boolean"
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "taskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "restaurantAddress": {
            "type": "string",
            "nullable": true
          },
          "carrierName": {
            "type": "string",
            "nullable": true
          },
          "restaurantName": {
            "type": "string",
            "nullable": true
          },
          "taskPlacementDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "expectedDeliveryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expectedDeliveryTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MapSummaryDTO": {
        "type": "object",
        "properties": {
          "storeActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StoreActorDTO"
            },
            "nullable": true
          },
          "carrierActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CarrierActorDTO"
            },
            "nullable": true
          },
          "customerActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerActorDTO"
            },
            "nullable": true
          },
          "activeTasks": {
            "type": "string",
            "nullable": true
          },
          "lateTasks": {
            "type": "string",
            "nullable": true
          },
          "activeCarriers": {
            "type": "string",
            "nullable": true
          },
          "avgTaskDeliveryTime": {
            "type": "string",
            "nullable": true
          },
          "onTimeDelivery": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MapSummaryDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/MapSummaryDTO"
          }
        },
        "additionalProperties": false
      },
      "AssignTaskRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "clientTaskId": {
            "type": "string",
            "nullable": true
          },
          "carrierId": {
            "type": "integer",
            "format": "int32"
          },
          "externalCarrierId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssignTaskTipsRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "tips": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "AssignMultipleTaskRequest": {
        "type": "object",
        "properties": {
          "taskList": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "carrierId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TaskChangeStateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "clientTaskId": {
            "type": "string",
            "nullable": true
          },
          "carrierId": {
            "type": "integer",
            "format": "int32"
          },
          "externalCarrierId": {
            "type": "string",
            "nullable": true
          },
          "taskStatus": {
            "$ref": "#/components/schemas/TaskState"
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierFeedbackDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RouteOptimizationRequest": {
        "type": "object",
        "properties": {
          "taskList": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RouteDTO": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "purpose": {
            "type": "string",
            "nullable": true
          },
          "totalobjectCount": {
            "type": "integer",
            "format": "int32"
          },
          "distance": {
            "type": "integer",
            "format": "int32"
          },
          "seconds": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RouteRootDTO": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "totalDistance": {
            "type": "number",
            "format": "double"
          },
          "totalSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "totalobjectCounts": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RouteResultDTO": {
        "type": "object",
        "properties": {
          "routes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RouteDTO"
            },
            "nullable": true
          },
          "assignedCarrierList": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "root": {
            "$ref": "#/components/schemas/RouteRootDTO"
          }
        },
        "additionalProperties": false
      },
      "RouteResultDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/RouteResultDTO"
          }
        },
        "additionalProperties": false
      },
      "FormType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "TaskFormDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "formType": {
            "$ref": "#/components/schemas/FormType"
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "link": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TaskFormDTOListResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaskFormDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaskFormDTOResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/TaskFormDTO"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Input your Bearer token in this format - Bearer {your token here} to access this API",
        "name": "Authorization",
        "in": "header"
      },
      "ApiKey": {
        "type": "apiKey",
        "description": "Input your Api Key in this format - Basic {your token here} to access this API",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    },
    {
      "ApiKey": [ ]
    }
  ]
}