{
  "openapi": "3.0.1",
  "info": {
    "title": "Server Control API",
    "version": "v1"
  },
  "paths": {
    "/api/access/listcontent/{sub}": {
      "get": {
        "tags": [
          "Access"
        ],
        "summary": "Get list of groups and customers Authentik user has access to",
        "parameters": [
          {
            "name": "sub",
            "in": "path",
            "description": "Authentik sub",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "Name from Authentik (for caching)",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "username",
            "in": "query",
            "description": "Username from Authentik",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAccessResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAccessResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAccessResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/access/removedashboard": {
      "get": {
        "tags": [
          "Access"
        ],
        "summary": "Remove the current users dashboard access. Use carefully.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/access/getgroups": {
      "get": {
        "tags": [
          "Access"
        ],
        "summary": "Get all the access group options",
        "parameters": [
          {
            "name": "includePersonalAccounts",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccessGroupResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccessGroupResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccessGroupResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/access/getgroups/{sub}": {
      "get": {
        "tags": [
          "Access"
        ],
        "summary": "Get the groups a user has",
        "parameters": [
          {
            "name": "sub",
            "in": "path",
            "description": "Authentik sub",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserGroupsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserGroupsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserGroupsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/access/getusers/{access}": {
      "get": {
        "tags": [
          "Access"
        ],
        "summary": "Get users from an access group",
        "parameters": [
          {
            "name": "access",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsersResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsersResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsersResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/access/searchforusers": {
      "get": {
        "tags": [
          "Access"
        ],
        "summary": "Search for Authentik user",
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "description": "All of email or username",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/access/getauthentikusers": {
      "get": {
        "tags": [
          "Access"
        ],
        "summary": "Get all Authentik users",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/access/giveaccesstogroup/{access}": {
      "post": {
        "tags": [
          "Access"
        ],
        "summary": "Give a user access to control a group",
        "parameters": [
          {
            "name": "access",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAccessRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserAccessRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "Access"
        ],
        "summary": "Edit a user's access to a group",
        "parameters": [
          {
            "name": "access",
            "in": "path",
            "description": "Access group",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Access details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAccessRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserAccessRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/access/addgroup": {
      "post": {
        "tags": [
          "Access"
        ],
        "summary": "Add a business or church group to Control Stack",
        "requestBody": {
          "description": "Group details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddGroupAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddGroupAccessRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddGroupAccessRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/access/editgroup/{access}": {
      "put": {
        "tags": [
          "Access"
        ],
        "summary": "Edit a business or church group",
        "parameters": [
          {
            "name": "access",
            "in": "path",
            "description": "Access group",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Access group details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditGroupAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditGroupAccessRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditGroupAccessRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/access/removeaccess/{access}": {
      "delete": {
        "tags": [
          "Access"
        ],
        "summary": "Remove an ABC customer from an Authentik user",
        "parameters": [
          {
            "name": "access",
            "in": "path",
            "description": "Customer GUID or group to detach from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sub",
            "in": "query",
            "description": "Authentik user sub",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/login": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Machine to machine API login",
        "parameters": [
          {
            "name": "user",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "password",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/apps": {
      "get": {
        "tags": [
          "Apps"
        ],
        "summary": "Get all listed apps",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppResponse"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Apps"
        ],
        "summary": "Add a new app to the list",
        "requestBody": {
          "description": "App details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AppRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AppRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/android/apps/getpaged": {
      "get": {
        "tags": [
          "Apps"
        ],
        "summary": "Get all listed apps paged",
        "parameters": [
          {
            "name": "active",
            "in": "query",
            "description": "Only active apps",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "description": "Skip how many from the begining",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchTerm",
            "in": "query",
            "description": "Search apps list",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "How many apps to include",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppResponsePagedDataDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppResponsePagedDataDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppResponsePagedDataDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/android/apps/icon/{packageName}": {
      "get": {
        "tags": [
          "Apps"
        ],
        "summary": "Get the app icon for a package name",
        "parameters": [
          {
            "name": "packageName",
            "in": "path",
            "description": "App package name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/apps/{appId}": {
      "put": {
        "tags": [
          "Apps"
        ],
        "summary": "Edit an app's paramaters",
        "parameters": [
          {
            "name": "appId",
            "in": "path",
            "description": "App GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "App details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AppRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AppRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Apps"
        ],
        "summary": "Delete an app from the list",
        "parameters": [
          {
            "name": "appId",
            "in": "path",
            "description": "App ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "force",
            "in": "query",
            "description": "Hard delete",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/carrier": {
      "get": {
        "tags": [
          "Carrier"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CarrierOptionsDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CarrierOptionsDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CarrierOptionsDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/churchgroup/getbyaccess/{access}": {
      "get": {
        "tags": [
          "ChurchGroup"
        ],
        "summary": "Get a list of church groups a customer can use",
        "parameters": [
          {
            "name": "access",
            "in": "path",
            "description": "Access group",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/churchgroup/getall": {
      "get": {
        "tags": [
          "ChurchGroup"
        ],
        "summary": "Get's list of church groups",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChurchGroupsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChurchGroupsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChurchGroupsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/churchgroup/getall/{removelater}": {
      "get": {
        "tags": [
          "ChurchGroup"
        ],
        "summary": "Get's list of church groups, but to work with broken UI",
        "parameters": [
          {
            "name": "removelater",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChurchGroupsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChurchGroupsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChurchGroupsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/credentials": {
      "get": {
        "tags": [
          "Credentials"
        ],
        "summary": "Get a list of credentials for different servers",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConnectionCredentials"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConnectionCredentials"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConnectionCredentials"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Credentials"
        ],
        "summary": "Add credentials",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectionCredentials"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectionCredentials"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectionCredentials"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/customer": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get customers by group",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "User access group",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "numberPerPage",
            "in": "query",
            "description": "Number per page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Add a customer",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "User access group",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Customer details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/customer/{customerId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get customer from ABC. Enter a customer code, GUID or work order number.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Edit a customer's profile",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Customer's ABC code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Customer details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Customer"
        ],
        "summary": "Delete a customer",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Customer code or GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "comment",
            "in": "query",
            "description": "Reason for termination",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/customer/getservices/{customerId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Gets all services for a customer",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Customer code or GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderServicesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderServicesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderServicesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/customer/getserialsbyworkorder/{customerId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Gets all serials (email, devices, etc) for a customer, seperated by work order",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Customer code or GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderServicesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderServicesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderServicesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/customer/getservicesbyworkorder/{customerId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Gets all Control Stack services for a customer, seperated by work order",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Customer code or GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ServicesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ServicesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ServicesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/customer/accountbalance/{customerId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get the amount a customer owes eMyPeople",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Customer code or GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AccountBalance"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountBalance"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountBalance"
                }
              }
            }
          }
        }
      }
    },
    "/api/deposits/{id}": {
      "get": {
        "tags": [
          "Deposits"
        ],
        "summary": "Get a deposit record",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Deposit database ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DepositResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/deposits/getbycustomer/{id}": {
      "get": {
        "tags": [
          "Deposits"
        ],
        "summary": "Get a list of the last five years of payments for a cusomter",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Customer ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DepositResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DepositResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DepositResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/deposits/getdetails/{id}": {
      "get": {
        "tags": [
          "Deposits"
        ],
        "summary": "Get payment details for a given invoice",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Invoice ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DepositDetailResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DepositDetailResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DepositDetailResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/android/device/all/{workOrder}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Get Android devices for a specific work order",
        "parameters": [
          {
            "name": "workOrder",
            "in": "path",
            "description": "Work order number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DevicesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DevicesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DevicesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/android/device/{deviceId}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Get an android device and its policy by ID",
        "description": "Release channels\r\nAlpha: 0\r\nBeta: 1\r\nStable: 2",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "Device"
        ],
        "summary": "Update a device's core details",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Device details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceEditRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceEditRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceEditRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Device"
        ],
        "summary": "Delete a device",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "force",
            "in": "query",
            "description": "Hard delete",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/getsettingoptions": {
      "get": {
        "tags": [
          "Device"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AndroidSettingJoinResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AndroidSettingJoinResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AndroidSettingJoinResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/android/device/sendcommand/{deviceId}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Send a one time command to a device",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "command",
            "in": "query",
            "description": "https://docs.emypeople.net/doc/android-PKXAGlWRdi",
            "schema": {
              "$ref": "#/components/schemas/DeviceCommandTypeDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/changestatus/{deviceId}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Disable or enable device",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "active",
            "in": "query",
            "description": "Should device be disabled",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/copydevice/{deviceId}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Create a copy of a device",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "GUID of the device to copy",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "newDeviceName",
            "in": "query",
            "description": "The name of the new device",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workOrder",
            "in": "query",
            "description": "Work order for the device",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/removetemporarypolicy/{deviceId}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Remove a temporary access policy",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device Guid",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/addtemporarypolicy/{deviceId}": {
      "post": {
        "tags": [
          "Device"
        ],
        "summary": "Add a temporary access policy",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "endTime",
            "in": "query",
            "description": "Time to end",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device": {
      "post": {
        "tags": [
          "Device"
        ],
        "summary": "Add a device",
        "description": "Release channels\r\nAlpha: 0\r\nBeta: 1\r\nStable: 2",
        "requestBody": {
          "description": "Device to add",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceAddRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/installapk/{deviceId}": {
      "post": {
        "tags": [
          "Device"
        ],
        "summary": "Install an APK",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "apk": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "apk": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/qrcode/{deviceId}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Get enroll QR code for device",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device Id",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/oldslaimport/{license}": {
      "post": {
        "tags": [
          "Device"
        ],
        "summary": "Import a device from the previous SLA version",
        "parameters": [
          {
            "name": "license",
            "in": "path",
            "description": "License of device to import",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workOrder",
            "in": "query",
            "description": "Work order the device should be on",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/appstatus/{deviceId}": {
      "put": {
        "tags": [
          "Device"
        ],
        "summary": "Change the status of an app on the device policy",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "App details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppJoinRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AppJoinRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AppJoinRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/settingsvalue/{deviceId}": {
      "put": {
        "tags": [
          "Device"
        ],
        "summary": "Change the value of a restriction",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Setting details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AndroidSettingJoinRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AndroidSettingJoinRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AndroidSettingJoinRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Device"
        ],
        "summary": "Remove setting value and use group value instead",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "settingId",
            "in": "query",
            "description": "Setting GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Access group code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/device/appvalue/{deviceId}": {
      "delete": {
        "tags": [
          "Device"
        ],
        "summary": "Remove app values and use group values instead",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "appId",
            "in": "query",
            "description": "App GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Access group code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/domain": {
      "get": {
        "tags": [
          "Domain"
        ],
        "summary": "Get all domains. Only available to eMyPeople staff",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "numberPerPage",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DomainsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DomainsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DomainsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/domain/{customerId}": {
      "get": {
        "tags": [
          "Domain"
        ],
        "summary": "Get domains for customer",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DomainsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DomainsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DomainsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/domain/dns/checkifweown/{domain}": {
      "get": {
        "tags": [
          "DomainDns"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DomainOwner"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DomainOwner"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DomainOwner"
                }
              }
            }
          }
        }
      }
    },
    "/api/domain/dns/configuredns/{domain}": {
      "get": {
        "tags": [
          "DomainDns"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "templateType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/email": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Get all email addresses",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Default 1",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "numberPerPage",
            "in": "query",
            "description": "Default 100",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/email/getbyworkorder/{workOrderId}": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Get email addresses by work order",
        "parameters": [
          {
            "name": "workOrderId",
            "in": "path",
            "description": "Work Order number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/email/getbycustomer/{customerId}": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Get email addresses for a customer",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Customer ID or Code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/email/generatepassword": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Generate a password",
        "parameters": [
          {
            "name": "length",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 12
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/enums": {
      "get": {
        "tags": [
          "Enums"
        ],
        "summary": "Get enums",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EnumsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnumsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnumsDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/firewallgroups/{groupId}": {
      "get": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Get a firewall group",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Delete a group",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewallgroups/linkpolicytogroup/{groupId}": {
      "get": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Link a policy to device",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policy",
            "in": "query",
            "description": "Policy GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/firewallgroups/movepolicyup/{groupId}": {
      "get": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Give a policy more presidence in a groups's list",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "query",
            "description": "Policy GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "places",
            "in": "query",
            "description": "Number of places to move",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/firewallgroups/movepolicydown/{groupId}": {
      "get": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Give a policy less presidence in a groups's list",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "query",
            "description": "Policy GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "places",
            "in": "query",
            "description": "Number of places to move",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/firewallgroups": {
      "post": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Add a new group",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "Group access, required if not with eMyPeople",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "requestBody": {
          "description": "Group details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddGroupRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddGroupRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddGroupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewallgroups/{group}": {
      "put": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Change group details",
        "parameters": [
          {
            "name": "groupId",
            "in": "query",
            "description": "Group Guid",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "group",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Updated Group",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditGroupRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditGroupRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditGroupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/firewallgroups/removefromgroup/{groupId}": {
      "delete": {
        "tags": [
          "FirewallGroups"
        ],
        "summary": "Remove a policy from a group",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "query",
            "description": "Policy GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/firewallpolicy/getpublic": {
      "get": {
        "tags": [
          "FirewallPolicy"
        ],
        "summary": "Get the policies a user",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "Group access, required if not with eMyPeople",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewallpolicy/{policyId}": {
      "get": {
        "tags": [
          "FirewallPolicy"
        ],
        "summary": "Get a firewall policy",
        "parameters": [
          {
            "name": "policyId",
            "in": "path",
            "description": "Policy GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "FirewallPolicy"
        ],
        "summary": "Edit policy details",
        "parameters": [
          {
            "name": "policyId",
            "in": "path",
            "description": "Policy ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Updated policy",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditPolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditPolicyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditPolicyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewallpolicy": {
      "post": {
        "tags": [
          "FirewallPolicy"
        ],
        "summary": "Add a new policy",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "Group access, required if not with eMyPeople",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "requestBody": {
          "description": "New policy details. Custom user required for source fields",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddPolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddPolicyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddPolicyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewallpolicy/replacerules/{policyId}": {
      "put": {
        "tags": [
          "FirewallPolicy"
        ],
        "summary": "Replace the rules on a policy. Rules will be followed from the lowest sequence to the highest.",
        "parameters": [
          {
            "name": "policyId",
            "in": "path",
            "description": "Policy Guid",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "New list of rules",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RulesRequest"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RulesRequest"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RulesRequest"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewallpolicy/{policy}": {
      "delete": {
        "tags": [
          "FirewallPolicy"
        ],
        "summary": "Delete a policy",
        "parameters": [
          {
            "name": "policy",
            "in": "path",
            "description": "Policy GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/polciesandgroupsavailable/{customerId}": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Get all policies and groups. Optionally include custom policies for a work order",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "The customer's GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access, required if not with eMyPeople",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/policiesandgroups/getpublic": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Get the groups a customer is allowed to have",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "Group access, required if not with eMyPeople",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/policiesandgroups/{deviceId}": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Get a list of policies and groups on a device",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FirewallOptionsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FirewallOptionsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FirewallOptionsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/firewalls/linkpolicytodevice/{device}": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Link a policy to a device",
        "parameters": [
          {
            "name": "device",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policy",
            "in": "query",
            "description": "Policy GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/linkgrouptodevice/{device}": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Link a group to a device",
        "parameters": [
          {
            "name": "device",
            "in": "path",
            "description": "Device GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "group",
            "in": "query",
            "description": "Policy GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/moveup": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Give a policy or group more presidence in a device's list",
        "parameters": [
          {
            "name": "policyOrGroup",
            "in": "query",
            "description": "GUID of the policy or group",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "device",
            "in": "query",
            "description": "Device GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "places",
            "in": "query",
            "description": "Number of places to move",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/movedown": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Give a policy or group less presidence in a device's list",
        "parameters": [
          {
            "name": "policyOrGroup",
            "in": "query",
            "description": "GUID of the policy or group",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "device",
            "in": "query",
            "description": "Device GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "places",
            "in": "query",
            "description": "Number of places to move",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/removefromdevice": {
      "delete": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Remove a policy or a group from a device",
        "parameters": [
          {
            "name": "policyOrGroup",
            "in": "query",
            "description": "Policy or group GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "device",
            "in": "query",
            "description": "Device GUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/firewalls/{macAddress}/{password}": {
      "get": {
        "tags": [
          "Firewalls"
        ],
        "summary": "Endpoint for routers out in the field to get their configuration scripts from.",
        "parameters": [
          {
            "name": "macAddress",
            "in": "path",
            "description": "Mac address of router",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "password",
            "in": "path",
            "description": "Routers password",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups/getpublic": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get public groups",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "Group access",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups/getbycustomer/{customerId}": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get the groups a customer is allowed to have",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "The customer's GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups/getpaged/{customerId}": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get the groups a customer is allowed to have",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "The customer's GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "description": "Number to skip",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Total number",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "searchTerm",
            "in": "query",
            "description": "Term to search for",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups/getowneroptions/{groupId}": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get devices in group",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups/{groupId}": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get a group and its policy",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "Groups"
        ],
        "summary": "Update a group",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Group details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditAndroidGroupRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditAndroidGroupRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditAndroidGroupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Groups"
        ],
        "summary": "Delete a group",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "force",
            "in": "query",
            "description": "Hard delete",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups": {
      "post": {
        "tags": [
          "Groups"
        ],
        "summary": "Add a group",
        "parameters": [
          {
            "name": "access",
            "in": "query",
            "description": "Group access",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Group details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAndroidGroupRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAndroidGroupRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NewAndroidGroupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups/appstatus/{id}": {
      "put": {
        "tags": [
          "Groups"
        ],
        "summary": "Update the status of an app on a group's policy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pushChanges",
            "in": "query",
            "description": "If not true, changes will be pulled in a day",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "defaultAppInternetConfig",
            "in": "query",
            "description": "Default internet config for apps that are being added to the policy",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "App status details",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AppJoinRequest"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AppJoinRequest"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AppJoinRequest"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/android/groups/settingvalue/{id}": {
      "put": {
        "tags": [
          "Groups"
        ],
        "summary": "Update the value for a setting on a group's policy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Group GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pushChanges",
            "in": "query",
            "description": "If false, changes will happen in a day or so",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "description": "Setting details",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AndroidSettingJoinRequest"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AndroidSettingJoinRequest"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AndroidSettingJoinRequest"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/hotspot": {
      "get": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Get all hotspots by page",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "The page number you want to get",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "numberPerPage",
            "in": "query",
            "description": "How many hotspots should be on a page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HotspotsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HotspotsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HotspotsResponse"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Add a hotspot and VPN configuration",
        "requestBody": {
          "description": "Hotspot and VPN details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HotspotRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HotspotRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HotspotRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/hotspot/{guid}": {
      "get": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Get a hotspot and its VPN configuration",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Hotspot GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HotspotResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotspotResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotspotResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Update a hotspot or VPN configuration",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Hotspot GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Hotspot and VPN details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HotspotRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HotspotRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HotspotRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Delete a hotspot and its VPN configuration",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Hotspot GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/hotspot/getbyidentifier/{identifier}": {
      "get": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Get a hotspot and its VPN configuration",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "description": "ICCID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HotspotResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotspotResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotspotResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hotspot/getbyworkorder/{workOrder}": {
      "get": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Get a list of hotspots by work order",
        "parameters": [
          {
            "name": "workOrder",
            "in": "path",
            "description": "Work order number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HotspotsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HotspotsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HotspotsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/hotspot/openinternet/{guid}": {
      "get": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Temporarily open internet for a hotspot",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Hotspot GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stoptime",
            "in": "query",
            "description": "Time to close internet",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/hotspot/closeinternet/{guid}": {
      "get": {
        "tags": [
          "Hotspot"
        ],
        "summary": "Prematurely close internet for a hotspot",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Hotspost GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/email/icewarp/{email}": {
      "get": {
        "tags": [
          "IceWarp"
        ],
        "summary": "Get email account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "Email address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "IceWarp"
        ],
        "summary": "Edit an email account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "IceWarp"
        ],
        "summary": "Delete an email from the server and workorder",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/email/icewarp/setdisabledproperty{email}": {
      "get": {
        "tags": [
          "IceWarp"
        ],
        "summary": "Set the disabled property",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "disable",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/email/icewarp/expirepassword/{email}": {
      "get": {
        "tags": [
          "IceWarp"
        ],
        "summary": "Expire email password",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/email/icewarp": {
      "post": {
        "tags": [
          "IceWarp"
        ],
        "summary": "Add email account to server and work order",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/domain/icewarp/{domain}": {
      "get": {
        "tags": [
          "IcewarpDomain"
        ],
        "summary": "Get domain details. Do not show fields for null values in UI",
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "IcewarpDomain"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "IcewarpDomain"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workOrder",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/domain/icewarp": {
      "post": {
        "tags": [
          "IcewarpDomain"
        ],
        "parameters": [
          {
            "name": "postmasterAlias",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ApiKeys"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IcewarpAddDomainResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IcewarpAddDomainResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IcewarpAddDomainResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/invoice/getlist/{customerId}": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "summary": "Gets invoice date and number. Id is customer id or GUID.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/invoice/{invoiceId}": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "summary": "Get invoice summary",
        "parameters": [
          {
            "name": "invoiceId",
            "in": "path",
            "description": "Invoice ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/invoice/getdetails/{invoiceId}": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "summary": "Get detail lines from an invoice",
        "parameters": [
          {
            "name": "invoiceId",
            "in": "path",
            "description": "Invoice Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoiceDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoiceDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoiceDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/invoice/getbydate/{invoiceId}": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "summary": "Gets invoices for a specific customer code over a period of time. Accepts any reasonable date format in the current culture",
        "parameters": [
          {
            "name": "invoiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/invoice/getbyduedate/{invoiceId}": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "summary": "Gets invoices with due dates in a date range for a specific customer code. Accepts any reasonable date format in the current culture.",
        "parameters": [
          {
            "name": "invoiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoicesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/itemlinks/{itemId}": {
      "get": {
        "tags": [
          "ItemLinks"
        ],
        "summary": "Get an item from the database",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/itemlinks/getoptions/{itemId}": {
      "get": {
        "tags": [
          "ItemLinks"
        ],
        "summary": "Get the child options for an item",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemOptionsResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemOptionsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemOptionsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/itemlinks/linkoptions": {
      "post": {
        "tags": [
          "ItemLinks"
        ],
        "summary": "Link an item as an option to a parent item",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ItemOptionsResponse"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ItemOptionsResponse"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ItemOptionsResponse"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/itemlinks/additem": {
      "post": {
        "tags": [
          "ItemLinks"
        ],
        "summary": "Add an item to the database",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ItemsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ItemsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ItemsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/itemlinks/unlinkoptions": {
      "delete": {
        "tags": [
          "ItemLinks"
        ],
        "summary": "Remove an item link",
        "parameters": [
          {
            "name": "parent",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "options",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/itemlinks/deleteitem/{itemId}": {
      "delete": {
        "tags": [
          "ItemLinks"
        ],
        "summary": "Delete an item from the database",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/notes/getbyidentifier/{identifier}": {
      "get": {
        "tags": [
          "Notes"
        ],
        "summary": "Get all notes for an identifier (customer, device, etc)",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "description": "GUID of entity with notes",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/notes": {
      "post": {
        "tags": [
          "Notes"
        ],
        "summary": "Add a comment or note",
        "requestBody": {
          "description": "Note details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NoteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/notes/{id}": {
      "put": {
        "tags": [
          "Notes"
        ],
        "summary": "Edit a comment or note",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Note GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Note details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NoteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Notes"
        ],
        "summary": "Delete a comment or note",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Note GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/email/postfix/{email}": {
      "get": {
        "tags": [
          "Postfix"
        ],
        "summary": "Get email account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "Email address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Postfix"
        ],
        "summary": "Edit and email account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Postfix"
        ],
        "summary": "Delete an email address",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/email/postfix/setdisabledproperty{email}": {
      "get": {
        "tags": [
          "Postfix"
        ],
        "summary": "Set the disabled property",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "disable",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/email/postfix": {
      "post": {
        "tags": [
          "Postfix"
        ],
        "summary": "Add email account to server",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/domain/postfix/{domain}": {
      "get": {
        "tags": [
          "PostfixDomain"
        ],
        "summary": "Get domain details. Do not show fields for null values in UI",
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "PostfixDomain"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "PostfixDomain"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workOrder",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/domain/postfix": {
      "post": {
        "tags": [
          "PostfixDomain"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ApiKeys"
            }
          },
          {
            "name": "configureSpamFiler",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "emailToPrint",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/pricing": {
      "get": {
        "tags": [
          "Pricing"
        ],
        "summary": "Get the price of a quantity of ABC items after discounts",
        "parameters": [
          {
            "name": "customer",
            "in": "query",
            "description": "Customer GUID or code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item",
            "in": "query",
            "description": "ABC item code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "quantity",
            "in": "query",
            "description": "Quantity you wish to get priced",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "billingFrequency",
            "in": "query",
            "description": "If you are adding a work order, this can be 0",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "workOrderId",
            "in": "query",
            "description": "Optional, uses this to add already existing items to quantity",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PricingResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PricingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PricingResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/pricing/getkyoceraprice": {
      "get": {
        "tags": [
          "Pricing"
        ],
        "summary": "Kyocera phones have the quantities for all configurations added together before pricing",
        "parameters": [
          {
            "name": "customer",
            "in": "query",
            "description": "Customer GUID or code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item",
            "in": "query",
            "description": "One of the correct series Kyocera item codes",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "quantities",
            "in": "query",
            "description": "All configuration quantities added",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "billingFrequency",
            "in": "query",
            "description": "If you are adding a work order, this can be 0",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "workOrderId",
            "in": "query",
            "description": "Optional, uses this to add already existing items to quantity",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PricingResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PricingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PricingResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/email/rackspace/{email}": {
      "get": {
        "tags": [
          "Rackspace"
        ],
        "summary": "Get email account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "Email address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Rackspace"
        ],
        "summary": "Edit email account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Rackspace"
        ],
        "summary": "Delete email account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/email/rackspace/setdisabledproperty{email}": {
      "get": {
        "tags": [
          "Rackspace"
        ],
        "summary": "Set the disabled property",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "disable",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/email/rackspace": {
      "post": {
        "tags": [
          "Rackspace"
        ],
        "summary": "Add email account to server",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/domain/rackspace/{domain}": {
      "get": {
        "tags": [
          "RackspaceDomain"
        ],
        "summary": "Get domain details. Do not show fields for null values in UI",
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "RackspaceDomain"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DomainEditRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "RackspaceDomain"
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workOrder",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/domain/rackspace": {
      "post": {
        "tags": [
          "RackspaceDomain"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ApiKeys"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DomainAddRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/router": {
      "get": {
        "tags": [
          "Router"
        ],
        "summary": "Get routers by page",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "The page number you want to get",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "numberPerPage",
            "in": "query",
            "description": "How many hotspots should be on a page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoutersResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoutersResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoutersResponse"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Router"
        ],
        "summary": "Add a router and optional its VPN configuration",
        "requestBody": {
          "description": "Router and VPN details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RouterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RouterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RouterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/router/{guid}": {
      "get": {
        "tags": [
          "Router"
        ],
        "summary": "Get a router and its VPN configuration if one exists",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Router GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RouterResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouterResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouterResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Router"
        ],
        "summary": "Update a router and optional VPN configuration",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Router GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Router and VPN details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RouterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RouterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RouterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Router"
        ],
        "summary": "Delete a router and its VPN configuration",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Router GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/router/getbyidentifier/{mac}": {
      "get": {
        "tags": [
          "Router"
        ],
        "summary": "Get a router and its VPN configuration if there one exists",
        "parameters": [
          {
            "name": "mac",
            "in": "path",
            "description": "MAC Address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RouterResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouterResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouterResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/router/getbyworkorder/{workorder}": {
      "get": {
        "tags": [
          "Router"
        ],
        "summary": "Get a list of routers by work order",
        "parameters": [
          {
            "name": "workorder",
            "in": "path",
            "description": "Work order number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoutersResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoutersResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoutersResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/router/types": {
      "get": {
        "tags": [
          "Router"
        ],
        "summary": "Get a list of router types",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RouterTypesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RouterTypesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RouterTypesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/router/openinternet/{guid}": {
      "get": {
        "tags": [
          "Router"
        ],
        "summary": "Temporarily open internet for a router",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Router GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stoptime",
            "in": "query",
            "description": "Time to close internet",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/router/closeinternet/{guid}": {
      "get": {
        "tags": [
          "Router"
        ],
        "summary": "Prematurely close internet for a router",
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "description": "Router GUID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/search": {
      "get": {
        "tags": [
          "Search"
        ],
        "summary": "Get suggestions for phone, email, and customer code. Search full work order, router, hotspot",
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "description": "Thing to search for",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "access",
            "in": "query",
            "description": "Group access, required if not with eMyPeople",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/setup/emailexists/{email}": {
      "get": {
        "tags": [
          "Setup"
        ],
        "summary": "Check if a given email is on an ABC account",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "Authentik email",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/setup/getnumberlist/{email}": {
      "get": {
        "tags": [
          "Setup"
        ],
        "summary": "Get a list of phone number options from ABC",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "Authentik email",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/setup/sendsecuritycode/{email}": {
      "get": {
        "tags": [
          "Setup"
        ],
        "summary": "Send security code to user",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "Authentik email",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "method",
            "in": "query",
            "description": "text or voice",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "Last two digits of the ABC phone number",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/setup/linkaccount": {
      "get": {
        "tags": [
          "Setup"
        ],
        "summary": "Join an Authentik account with an ABC account",
        "parameters": [
          {
            "name": "userSub",
            "in": "query",
            "description": "Sub from Authentik",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "description": "Customers email shared between accounts",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "twoFactor",
            "in": "query",
            "description": "Two factor code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dashboard",
            "in": "query",
            "description": "Has Dashboard access. Will be set to true for eMyPeople employees",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyCustomerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyCustomerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyCustomerResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/setup/addadditionaluser/{access}": {
      "get": {
        "tags": [
          "Setup"
        ],
        "summary": "Add an additional user to a access group",
        "parameters": [
          {
            "name": "access",
            "in": "path",
            "description": "Group or customer to add to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "description": "User's Authentik email",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sub",
            "in": "query",
            "description": "User's authentik sub",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dashboard",
            "in": "query",
            "description": "Can access the Dashboard",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/customer/{id}": {
      "get": {
        "tags": [
          "Stripe"
        ],
        "summary": "Get the Stripe customer on file from ABC",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AbcStripeCustomerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbcStripeCustomerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbcStripeCustomerResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/stripe/pay": {
      "post": {
        "tags": [
          "Stripe"
        ],
        "summary": "Add a deposit for a given invoice or a part of an invoice",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DepositRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DepositRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DepositRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/attachpmtocustomer/{id}": {
      "get": {
        "tags": [
          "Stripe"
        ],
        "summary": "Attach a card to a ABC customer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Stripe Customer Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Card Token of card being attached",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "defaultMethod",
            "in": "query",
            "description": "Sets new card as default method",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/setdefaultpm/{id}": {
      "get": {
        "tags": [
          "Stripe"
        ],
        "summary": "Set a payment method as primary",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Stripe Customer Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pmId",
            "in": "query",
            "description": "PaymentMethod ID of card being attached",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/getpaymentmethodslist/{id}": {
      "get": {
        "tags": [
          "Stripe"
        ],
        "summary": "Get a list of cards for stripe customer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Stripe Customer Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/getpaymentmethod/{id}": {
      "get": {
        "tags": [
          "Stripe"
        ],
        "summary": "Get card for stripe customer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Stripe Customer Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/detachcard/{id}": {
      "get": {
        "tags": [
          "Stripe"
        ],
        "summary": "Get card for stripe customer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Stripe Customer Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/createcustomer/{id}": {
      "post": {
        "tags": [
          "Stripe"
        ],
        "summary": "Create a Stripe customer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ABC Customer UUID/GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerCode",
            "in": "query",
            "description": "ABC Customer Code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/stripe/replacecustomer/{id}": {
      "post": {
        "tags": [
          "Stripe"
        ],
        "summary": "Replace the Stripe customer on file in ABC",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Customer UUID/GUID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "recurring",
            "in": "query",
            "description": "Automatically pay bills",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "description": "Customer code and the new token",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AbcStripeCustomerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AbcStripeCustomerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AbcStripeCustomerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/{id}": {
      "get": {
        "tags": [
          "Verizon"
        ],
        "summary": "Gets a specific Verizon device. The type options are imei, msisdn or iccid.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/usage/{id}": {
      "get": {
        "tags": [
          "Verizon"
        ],
        "summary": "Gets usage history for a specific ICCID for a given start and end date. Expected date format is yyyy-MM-dd (e.g 2018-05-01)",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/suspend/{id}": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "Suspends a given device using ICCID. This will return an OK if successful, but the suspension usually takes a couple minutes for Verizon to complete.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/deactivate/{id}": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "Deactivates a given device using ICCID. This will return an OK if successful, but the process usually takes a couple minutes for Verizon to complete.",
        "parameters": [
          {
            "name": "device",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "deviceType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DeviceType"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/activate/{device}": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "Activates a given device using ICCID. This will return an OK if successful, but the process usually takes a couple minutes for Verizon to complete.\r\nIf you want to activate it inside the network then specify the carrierIpPoolName to be AGAPEEMYPPLE, otherwise specify nothing.",
        "parameters": [
          {
            "name": "device",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivationData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivationData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActivationData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/restore/{id}": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "Restores a given device using ICCID. This will return an OK if successful, but the process usually takes a couple minutes for Verizon to complete.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/open/{id}": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "Flips a device from private network to open using ICCID. This will return an OK if successful, but the process usually takes a couple minutes for Verizon to complete.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/close/{id}": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "Flips a device from public network to private using ICCID. This will return an OK if successful, but the process usually takes a couple minutes for Verizon to complete.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/device_all_usage": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "Gets all data usage within a specified start and end time for a given account. Expected date format is yyyy-MM-dd (e.g 2018-05-01)",
        "parameters": [
          {
            "name": "stime",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "etime",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/get_plans/{accountName}": {
      "get": {
        "tags": [
          "Verizon"
        ],
        "summary": "Gets all available data plans for a given Verizon account.",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/wireless/verizon/get_callback_usage": {
      "post": {
        "tags": [
          "Verizon"
        ],
        "summary": "This is the callback that Verizon API is configured to call.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": { }
            },
            "text/json": {
              "schema": { }
            },
            "application/*+json": {
              "schema": { }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/windows/getbyworkorder/{workOrder}": {
      "get": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "workOrder",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsDevicesResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsDevicesResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsDevicesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/windows/{deviceId}": {
      "get": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WindowsDeviceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WindowsDeviceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WindowsDeviceResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditWindowsDeviceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditWindowsDeviceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditWindowsDeviceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/windows/getbylicense/{license}": {
      "get": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "license",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WindowsDeviceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WindowsDeviceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WindowsDeviceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/windows/getgroups": {
      "get": {
        "tags": [
          "Windows"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsGroupResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsGroupResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsGroupResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/windows/sendcommand/{device}": {
      "get": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "device",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "command",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/windows/getcommands": {
      "get": {
        "tags": [
          "Windows"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsCommandsDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsCommandsDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WindowsCommandsDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/windows/pullfirewallsfromapi/{deviceId}": {
      "get": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/windows": {
      "post": {
        "tags": [
          "Windows"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddWindowsDeviceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddWindowsDeviceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddWindowsDeviceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/windows/copydevice": {
      "get": {
        "tags": [
          "Windows"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workOrder",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/windows/settemporaryinternet/{deviceId}": {
      "post": {
        "tags": [
          "Windows"
        ],
        "summary": "Set temporary internet",
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "description": "Device to change",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Proxy is require when opening to filter",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenInternetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenInternetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OpenInternetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/workorder/{workOrderId}": {
      "get": {
        "tags": [
          "WorkOrder"
        ],
        "summary": "Get work order summary",
        "parameters": [
          {
            "name": "workOrderId",
            "in": "path",
            "description": "Work Order ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "WorkOrder"
        ],
        "summary": "Update work order",
        "parameters": [
          {
            "name": "workOrderId",
            "in": "path",
            "description": "Work order ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Work order request details",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/workorder/getdetails/{workOrderId}": {
      "get": {
        "tags": [
          "WorkOrder"
        ],
        "summary": "Get work order detail lines",
        "parameters": [
          {
            "name": "workOrderId",
            "in": "path",
            "description": "Work Order ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/workorder/getworkordersbycustomer/{customerCode}": {
      "get": {
        "tags": [
          "WorkOrder"
        ],
        "summary": "Get a list of work orders for a customer",
        "parameters": [
          {
            "name": "customerCode",
            "in": "path",
            "description": "Customer ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "format": "int64"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "format": "int64"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "format": "int64"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/workorder": {
      "post": {
        "tags": [
          "WorkOrder"
        ],
        "summary": "Add work order",
        "requestBody": {
          "description": "Billcodes can be found in static Billcodes class",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            }
          }
        }
      }
    },
    "/api/workorderreports": {
      "get": {
        "tags": [
          "WorkOrderReports"
        ],
        "summary": "Find what services have work order problems",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DeviceReports"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DeviceReports"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DeviceReports"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "APK": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "device": {
            "$ref": "#/components/schemas/Device"
          },
          "deviceId": {
            "type": "string",
            "format": "uuid"
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "minSdk": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/APKInstallStatus"
          }
        },
        "additionalProperties": false
      },
      "APKInstallStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AbcStripeCustomerRequest": {
        "type": "object",
        "properties": {
          "customerCode": {
            "type": "string",
            "nullable": true
          },
          "stripeCustomerId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AbcStripeCustomerResponse": {
        "type": "object",
        "properties": {
          "customer": {
            "type": "string",
            "nullable": true
          },
          "stripeCustomerId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccessGroupResponse": {
        "type": "object",
        "properties": {
          "access": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isGroup": {
            "type": "boolean",
            "nullable": true
          },
          "isCreated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AccountBalance": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "AccountStatus": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "ActivationData": {
        "type": "object",
        "properties": {
          "deviceType": {
            "$ref": "#/components/schemas/DeviceType"
          },
          "iccid": {
            "type": "string",
            "nullable": true
          },
          "imei": {
            "type": "string",
            "nullable": true
          },
          "account": {
            "type": "string",
            "nullable": true
          },
          "itemCode": {
            "type": "string",
            "nullable": true
          },
          "isPhone": {
            "type": "boolean"
          },
          "noIMEI": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddGroupAccessRequest": {
        "type": "object",
        "properties": {
          "access": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isGroup": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddGroupRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "policies": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AddPolicyRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RulesRequest"
            },
            "nullable": true
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AddWindowsDeviceRequest": {
        "type": "object",
        "properties": {
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "uninstallPassword": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "enableLogging": {
            "type": "boolean"
          },
          "licenseTaken": {
            "type": "boolean"
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "proxy": {
            "type": "string",
            "nullable": true
          },
          "proxyCredentials": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AndroidPolicyRequest": {
        "type": "object",
        "properties": {
          "vpnModeAllow": {
            "type": "boolean"
          },
          "policyAndroidSettings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewGroupSettingsJoinRequest"
            },
            "nullable": true
          },
          "policyAppJoins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppJoinRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AndroidSetting": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SettingType"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AndroidSettingJoinRequest": {
        "type": "object",
        "properties": {
          "settingId": {
            "type": "string",
            "format": "uuid"
          },
          "setting": {
            "$ref": "#/components/schemas/AndroidSettingRequest"
          },
          "value": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AndroidSettingJoinResponse": {
        "type": "object",
        "properties": {
          "value": {
            "type": "boolean"
          },
          "settingId": {
            "type": "string",
            "format": "uuid"
          },
          "setting": {
            "$ref": "#/components/schemas/AndroidSettingResponse"
          },
          "differentThanGroup": {
            "type": "boolean"
          },
          "canEdit": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AndroidSettingRequest": {
        "type": "object",
        "properties": {
          "androidValue": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AndroidSettingResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "androidValue": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApiItemLinksResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "apiKey": {
            "$ref": "#/components/schemas/ApiKeys"
          },
          "item": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "ApiKeys": {
        "enum": [
          1,
          2,
          3,
          1001,
          1100,
          1110,
          1111,
          1200,
          1210,
          1211,
          1300,
          1310,
          1311,
          2110,
          2210,
          3110,
          3120,
          3130,
          3140,
          3200
        ],
        "type": "integer",
        "format": "int32"
      },
      "ApiKeysResponse": {
        "type": "object",
        "properties": {
          "enumValue": {
            "type": "integer",
            "format": "int32"
          },
          "enumDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "App": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "iconURL": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "$ref": "#/components/schemas/AppCategory"
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "required": {
            "type": "boolean"
          },
          "directInternetRequired": {
            "type": "boolean"
          },
          "unfilteredWarning": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/AppType"
          }
        },
        "additionalProperties": false
      },
      "AppCategory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppCategoryResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppIcon": {
        "type": "object",
        "properties": {
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppInternetConfig": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppInternetConfigDto": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppJoinRequest": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "string",
            "format": "uuid"
          },
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AppStatusDto"
          },
          "internetConfig": {
            "$ref": "#/components/schemas/AppInternetConfigDto"
          }
        },
        "additionalProperties": false
      },
      "AppMarketJoin": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "appId": {
            "type": "string",
            "format": "uuid"
          },
          "app": {
            "$ref": "#/components/schemas/App"
          },
          "marketId": {
            "type": "string",
            "format": "uuid"
          },
          "market": {
            "$ref": "#/components/schemas/Market"
          }
        },
        "additionalProperties": false
      },
      "AppReleaseChannels": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppReleaseChannelsDto": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "iconURL": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "required": {
            "type": "boolean"
          },
          "directInternetRequired": {
            "type": "boolean"
          },
          "unfilteredWarning": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/AppTypeDto"
          }
        },
        "additionalProperties": false
      },
      "AppResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "iconURL": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "required": {
            "type": "boolean"
          },
          "directInternetRequired": {
            "type": "boolean"
          },
          "unfilteredWarning": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/AppTypeDto"
          },
          "category": {
            "$ref": "#/components/schemas/AppCategoryResponse"
          }
        },
        "additionalProperties": false
      },
      "AppResponsePagedDataDto": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppResponse"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AppStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppStatusDto": {
        "enum": [
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppTypeDto": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "ApplicationUser": {
        "type": "object",
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          },
          "normalizedUserName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "normalizedEmail": {
            "type": "string",
            "nullable": true
          },
          "emailConfirmed": {
            "type": "boolean"
          },
          "passwordHash": {
            "type": "string",
            "nullable": true
          },
          "securityStamp": {
            "type": "string",
            "nullable": true
          },
          "concurrencyStamp": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "phoneNumberConfirmed": {
            "type": "boolean"
          },
          "twoFactorEnabled": {
            "type": "boolean"
          },
          "lockoutEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lockoutEnabled": {
            "type": "boolean"
          },
          "accessFailedCount": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "userType": {
            "$ref": "#/components/schemas/UserType"
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "totalLicenses": {
            "type": "integer",
            "format": "int32"
          },
          "tokenExpiration": {
            "type": "integer",
            "format": "int64"
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "oldPassword": {
            "type": "string",
            "nullable": true
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "nullable": true
          },
          "highestPermission": {
            "$ref": "#/components/schemas/PermissionType"
          }
        },
        "additionalProperties": false
      },
      "ApplicationUserPagedData": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApplicationUser"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Carrier": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "CarrierConnectionDto": {
        "type": "object",
        "properties": {
          "iccid": {
            "type": "string",
            "nullable": true
          },
          "carrier": {
            "$ref": "#/components/schemas/Carrier"
          },
          "carrierAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastSeen": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CarrierOptionsDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "enumNumber": {
            "type": "integer",
            "format": "int32"
          },
          "accountNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChurchGroupsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Comment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "deviceId": {
            "type": "string",
            "format": "uuid"
          },
          "device": {
            "$ref": "#/components/schemas/Device"
          },
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "user": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConnectionCredentials": {
        "type": "object",
        "properties": {
          "configJson": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "attention": {
            "type": "string",
            "nullable": true
          },
          "streetAddress": {
            "type": "string",
            "nullable": true
          },
          "zipCodeId": {
            "type": "string",
            "nullable": true
          },
          "zipExt": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "officePhone": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "churchGroupType": {
            "type": "string",
            "nullable": true
          },
          "reccuring": {
            "type": "boolean"
          },
          "stage": {
            "$ref": "#/components/schemas/Stages"
          },
          "dataNotificationPreferences": {
            "$ref": "#/components/schemas/DataNotificationsRequest"
          }
        },
        "additionalProperties": false
      },
      "CustomerResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "attention": {
            "type": "string",
            "nullable": true
          },
          "streetAddress": {
            "type": "string",
            "nullable": true
          },
          "zipCodeId": {
            "type": "string",
            "nullable": true
          },
          "zipExt": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "officePhone": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "stage": {
            "$ref": "#/components/schemas/Stages"
          },
          "recurring": {
            "type": "boolean"
          },
          "churchGroupType": {
            "type": "string",
            "nullable": true
          },
          "canEditChurchGroup": {
            "type": "boolean"
          },
          "dataNotificationPreferences": {
            "$ref": "#/components/schemas/DataNotificationsResponse"
          }
        },
        "additionalProperties": false
      },
      "DataNotificationsRequest": {
        "type": "object",
        "properties": {
          "dataUsageNotices": {
            "type": "boolean"
          },
          "frequencyInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "spanBeforeAlertInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataNotificationsResponse": {
        "type": "object",
        "properties": {
          "dataUsageNotices": {
            "type": "boolean"
          },
          "frequencyInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "spanBeforeAlertInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DepositDetailResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "lineNum": {
            "type": "integer",
            "format": "int64"
          },
          "invoiceId": {
            "type": "integer",
            "format": "int64"
          },
          "invoiceDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "invoiceAmount": {
            "type": "number",
            "format": "double"
          },
          "previousPayment": {
            "type": "number",
            "format": "double"
          },
          "discountOrBackorderAmount": {
            "type": "number",
            "format": "double"
          },
          "discountDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "paymentApplied": {
            "type": "number",
            "format": "double"
          },
          "discountApplied": {
            "type": "number",
            "format": "double"
          },
          "discountEarned": {
            "type": "string",
            "nullable": true
          },
          "invoiceBalance": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "DepositRequest": {
        "type": "object",
        "properties": {
          "invoice": {
            "type": "integer",
            "format": "int32"
          },
          "paymentMethod": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "DepositResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "ledgerId": {
            "type": "integer",
            "format": "int64"
          },
          "tenderedDetails": {
            "$ref": "#/components/schemas/TenderedDetailsResponse"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "amountNotApplied": {
            "type": "number",
            "format": "double"
          },
          "totalDiscount": {
            "type": "number",
            "format": "double"
          },
          "glAccountId": {
            "type": "integer",
            "format": "int64"
          },
          "glAmount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "Device": {
        "required": [
          "groupId",
          "name",
          "policyId",
          "uninstallKey",
          "workOrder"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "workOrder": {
            "type": "integer",
            "format": "int64"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "group": {
            "$ref": "#/components/schemas/Group"
          },
          "license": {
            "type": "string",
            "nullable": true
          },
          "uninstallKey": {
            "minLength": 5,
            "type": "string"
          },
          "passwordHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DevicePasswordHistory"
            },
            "nullable": true
          },
          "proxyConfigOn": {
            "type": "boolean"
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Comment"
            },
            "nullable": true
          },
          "proxyConfigURL": {
            "pattern": "^(http|https):\\/\\/(-\\.)?([^\\s\\/?\\.#-]+\\.?)+(\\/[^\\s]*)?$",
            "type": "string",
            "nullable": true
          },
          "proxyExceptions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "browserProxyOn": {
            "type": "boolean"
          },
          "browserProxyConfigURL": {
            "pattern": "^(http|https):\\/\\/(-\\.)?([^\\s\\/?\\.#-]+\\.?)+(\\/[^\\s]*)?$",
            "type": "string",
            "nullable": true
          },
          "browserProxyExceptions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "vpnOn": {
            "type": "boolean"
          },
          "vpnPrivateKey": {
            "type": "string",
            "nullable": true
          },
          "vpnIp": {
            "type": "string",
            "nullable": true
          },
          "vpnEndpoint": {
            "type": "string",
            "nullable": true
          },
          "vpnPublicKey": {
            "type": "string",
            "nullable": true
          },
          "vpnAllowedIPs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "useIpExceptions": {
            "type": "boolean"
          },
          "releaseChannel": {
            "$ref": "#/components/schemas/AppReleaseChannels"
          },
          "dnsType": {
            "$ref": "#/components/schemas/DnsOptions"
          },
          "privateDnsUrl": {
            "type": "string",
            "nullable": true
          },
          "customDnsIps": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "imeI1": {
            "type": "string",
            "nullable": true
          },
          "imeI1Carrier": {
            "type": "string",
            "nullable": true
          },
          "imeI2": {
            "type": "string",
            "nullable": true
          },
          "imeI2Carrier": {
            "type": "string",
            "nullable": true
          },
          "serialNumber": {
            "minLength": 8,
            "type": "string",
            "nullable": true
          },
          "androidID": {
            "type": "string",
            "nullable": true
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "manufacturer": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "product": {
            "type": "string",
            "nullable": true
          },
          "sdk": {
            "type": "string",
            "nullable": true
          },
          "appVersion": {
            "type": "string",
            "nullable": true
          },
          "appDisplayVersion": {
            "type": "string",
            "nullable": true
          },
          "fcmToken": {
            "type": "string",
            "nullable": true
          },
          "lastPullProfile": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "enrolled": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "policy": {
            "$ref": "#/components/schemas/Policy"
          },
          "policyId": {
            "type": "string",
            "format": "uuid"
          },
          "requests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Request"
            },
            "nullable": true
          },
          "deviceAppJoins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceAppJoin"
            },
            "nullable": true
          },
          "deviceCommands": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceCommand"
            },
            "nullable": true
          },
          "apKs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/APK"
            },
            "nullable": true
          },
          "numberOfUsers": {
            "type": "integer",
            "format": "int32"
          },
          "androidVersion": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DeviceAddRequest": {
        "required": [
          "name",
          "uninstallKey",
          "workOrder"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "uninstallKey": {
            "minLength": 5,
            "type": "string"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "releaseChannel": {
            "$ref": "#/components/schemas/AppReleaseChannelsDto"
          }
        },
        "additionalProperties": false
      },
      "DeviceAppJoin": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "deviceId": {
            "type": "string",
            "format": "uuid"
          },
          "device": {
            "$ref": "#/components/schemas/Device"
          },
          "appId": {
            "type": "string",
            "format": "uuid"
          },
          "app": {
            "$ref": "#/components/schemas/App"
          },
          "status": {
            "$ref": "#/components/schemas/AppStatus"
          },
          "appVersion": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeviceCommand": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/DeviceCommandType"
          },
          "status": {
            "$ref": "#/components/schemas/DeviceCommandStatus"
          },
          "deviceId": {
            "type": "string",
            "format": "uuid"
          },
          "device": {
            "$ref": "#/components/schemas/Device"
          }
        },
        "additionalProperties": false
      },
      "DeviceCommandStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "DeviceCommandType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          7,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "DeviceCommandTypeDto": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          7,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "DeviceEditRequest": {
        "required": [
          "groupId",
          "name",
          "uninstallKey",
          "workOrder"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "uninstallKey": {
            "minLength": 5,
            "type": "string"
          },
          "proxyConfigURL": {
            "pattern": "^(http|https):\\/\\/(-\\.)?([^\\s\\/?\\.#-]+\\.?)+(\\/[^\\s]*)?$",
            "type": "string",
            "nullable": true
          },
          "proxyExceptions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "browserProxyConfigURL": {
            "pattern": "^(http|https):\\/\\/(-\\.)?([^\\s\\/?\\.#-]+\\.?)+(\\/[^\\s]*)?$",
            "type": "string",
            "nullable": true
          },
          "browserProxyExceptions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "vpnOn": {
            "type": "boolean"
          },
          "vpnProxy": {
            "$ref": "#/components/schemas/Filter"
          },
          "releaseChannel": {
            "$ref": "#/components/schemas/AppReleaseChannelsDto"
          },
          "dnsType": {
            "$ref": "#/components/schemas/DnsOptions"
          },
          "useIpExceptions": {
            "type": "boolean"
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "defaultAppInternetConfig": {
            "$ref": "#/components/schemas/AppInternetConfigDto"
          }
        },
        "additionalProperties": false
      },
      "DevicePagedData": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Device"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DevicePasswordHistory": {
        "type": "object",
        "properties": {
          "changed": {
            "type": "string",
            "format": "date-time"
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeviceReports": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "deviceType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeviceStatusResponse": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "hasJob": {
            "type": "boolean"
          },
          "temporaryInternet": {
            "$ref": "#/components/schemas/TemporaryInternetResponse"
          }
        },
        "additionalProperties": false
      },
      "DeviceType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "DevicesResponse": {
        "required": [
          "groupId",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "license": {
            "type": "string",
            "nullable": true
          },
          "releaseChannel": {
            "$ref": "#/components/schemas/AppReleaseChannelsDto"
          },
          "overrideFinishedUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DnsOptions": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "DomainAddRequest": {
        "type": "object",
        "properties": {
          "domainName": {
            "type": "string",
            "nullable": true
          },
          "advertise": {
            "type": "boolean",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "configureDns": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DomainEditRequest": {
        "type": "object",
        "properties": {
          "domainName": {
            "type": "string",
            "nullable": true
          },
          "advertise": {
            "type": "boolean",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "diskQuotaGb": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfEmailsAllowed": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DomainOwner": {
        "type": "object",
        "properties": {
          "weOwnDomain": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DomainsResponse": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "nullable": true
          },
          "canEdit": {
            "type": "boolean"
          },
          "canDelete": {
            "type": "boolean"
          },
          "emailServer": {
            "$ref": "#/components/schemas/EmailServer"
          }
        },
        "additionalProperties": false
      },
      "EditAndroidGroupRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "ownerId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "policyId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EditGroupAccessRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "isGroup": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EditGroupRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "EditPolicyRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "EditWindowsDeviceRequest": {
        "type": "object",
        "properties": {
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "uninstallPassword": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "enableLogging": {
            "type": "boolean"
          },
          "hostNameExceptions": {
            "type": "string",
            "nullable": true
          },
          "processExceptions": {
            "type": "string",
            "nullable": true
          },
          "ipV6Exceptions": {
            "type": "string",
            "nullable": true
          },
          "blockedExecutables": {
            "type": "string",
            "nullable": true
          },
          "licenseTaken": {
            "type": "boolean"
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "proxy": {
            "type": "string",
            "nullable": true
          },
          "proxyCredentials": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmailRequest": {
        "type": "object",
        "properties": {
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "forwardEmail": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "mailboxSize": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "disable": {
            "type": "boolean",
            "nullable": true
          },
          "passwordExpired": {
            "type": "boolean",
            "nullable": true
          },
          "printerEmail": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "EmailResponse": {
        "type": "object",
        "properties": {
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "forwardEmail": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "mailboxSize": {
            "$ref": "#/components/schemas/MailboxSize"
          },
          "mailboxUsedGb": {
            "type": "number",
            "format": "double"
          },
          "disable": {
            "type": "boolean"
          },
          "passwordExpired": {
            "type": "boolean"
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "showCopyTo": {
            "type": "boolean"
          },
          "copyTo": {
            "type": "string",
            "nullable": true
          },
          "emailToPrint": {
            "$ref": "#/components/schemas/EmailToPrint"
          },
          "emailServer": {
            "$ref": "#/components/schemas/EmailServer"
          }
        },
        "additionalProperties": false
      },
      "EmailServer": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ServerTypes"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmailToPrint": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "price": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "EmailsResponse": {
        "type": "object",
        "properties": {
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "disable": {
            "type": "boolean"
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "domain": {
            "$ref": "#/components/schemas/DomainsResponse"
          }
        },
        "additionalProperties": false
      },
      "EnumsDto": {
        "type": "object",
        "properties": {
          "appTypes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "appStatuses": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "vpnOptions": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "dnsOptions": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Filter": {
        "enum": [
          0,
          100,
          200,
          201
        ],
        "type": "integer",
        "format": "int32"
      },
      "FirewallOptionsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isGroup": {
            "type": "boolean"
          },
          "canEdit": {
            "type": "boolean"
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Group": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "ownerId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "owner": {
            "$ref": "#/components/schemas/Device"
          },
          "supportPhone": {
            "type": "string",
            "nullable": true
          },
          "supportEmail": {
            "type": "string",
            "nullable": true
          },
          "supportMessage": {
            "type": "string",
            "nullable": true
          },
          "logoLink": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "policyId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "policy": {
            "$ref": "#/components/schemas/Policy"
          }
        },
        "additionalProperties": false
      },
      "GroupResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "policies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PoliciesResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Hotspot": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "deviceType": {
            "type": "string",
            "nullable": true
          },
          "itemCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotspotRequest": {
        "required": [
          "workOrder"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "carrierConnection": {
            "$ref": "#/components/schemas/CarrierConnectionDto"
          },
          "vpn": {
            "$ref": "#/components/schemas/VpnRequest"
          }
        },
        "additionalProperties": false
      },
      "HotspotResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "carrierConnection": {
            "$ref": "#/components/schemas/CarrierConnectionDto"
          },
          "vpn": {
            "$ref": "#/components/schemas/VpnResponse"
          },
          "status": {
            "$ref": "#/components/schemas/DeviceStatusResponse"
          }
        },
        "additionalProperties": false
      },
      "HotspotsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "carrierConnection": {
            "$ref": "#/components/schemas/CarrierConnectionDto"
          },
          "status": {
            "$ref": "#/components/schemas/DeviceStatusResponse"
          }
        },
        "additionalProperties": false
      },
      "IcewarpAddDomainResponse": {
        "type": "object",
        "properties": {
          "domainName": {
            "type": "string",
            "nullable": true
          },
          "advertise": {
            "type": "boolean"
          },
          "subscription": {
            "type": "integer",
            "format": "int32"
          },
          "diskQuotaGb": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfEmailsAllowed": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "emailServer": {
            "$ref": "#/components/schemas/EmailServer"
          },
          "dkimSelector": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoiceDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "lineNum": {
            "type": "integer",
            "format": "int64"
          },
          "itemId": {
            "type": "string",
            "nullable": true
          },
          "sellQuantity": {
            "type": "number",
            "format": "double"
          },
          "orderedQuantity": {
            "type": "number",
            "format": "double"
          },
          "unit": {
            "type": "string",
            "nullable": true
          },
          "listPrice": {
            "type": "number",
            "format": "double"
          },
          "sellPrice": {
            "type": "number",
            "format": "double"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "cost": {
            "type": "number",
            "format": "double"
          },
          "glAccountId": {
            "type": "integer",
            "format": "int64"
          },
          "taxableAndWeight": {
            "type": "string",
            "nullable": true
          },
          "quotePricing": {
            "type": "string",
            "nullable": true
          },
          "jobClassIdAndSerialNumbers": {
            "type": "string",
            "nullable": true
          },
          "taxable": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoiceResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "slipNumber": {
            "type": "string",
            "nullable": true
          },
          "salespersonId": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "taxStatus": {
            "type": "string",
            "nullable": true
          },
          "shipVia": {
            "type": "string",
            "nullable": true
          },
          "customerPoNumber": {
            "type": "string",
            "nullable": true
          },
          "origOrderId": {
            "type": "integer",
            "format": "int64"
          },
          "orderDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "terms": {
            "type": "string",
            "nullable": true
          },
          "totalInvoice": {
            "type": "number",
            "format": "double"
          },
          "totalCost": {
            "type": "number",
            "format": "double"
          },
          "backOrderAmountHeld": {
            "type": "number",
            "format": "double"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "discountDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "discountAmount": {
            "type": "number",
            "format": "double"
          },
          "shipToNameId": {
            "type": "string",
            "nullable": true
          },
          "remark": {
            "type": "string",
            "nullable": true
          },
          "deliveryDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "dateBackOrdered": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "jobId": {
            "type": "string",
            "nullable": true
          },
          "invoiceType": {
            "type": "string",
            "nullable": true
          },
          "billCode": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "type": "string",
            "nullable": true
          },
          "paymentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "paymentAmt": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoicesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "paid": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ItemOptionsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "parentItem": {
            "type": "string",
            "format": "uuid"
          },
          "option": {
            "type": "string",
            "format": "uuid"
          },
          "unique": {
            "type": "boolean"
          },
          "included": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ItemsRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "abcItemCode": {
            "type": "string",
            "nullable": true
          },
          "includedOptionsAllowed": {
            "type": "integer",
            "format": "int32"
          },
          "hardware": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ItemsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "abcItemCode": {
            "type": "string",
            "nullable": true
          },
          "includedOptionsAllowed": {
            "type": "integer",
            "format": "int32"
          },
          "hardware": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Login": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MailboxSize": {
        "type": "object",
        "properties": {
          "blockQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "blockSizeGb": {
            "type": "integer",
            "format": "int32"
          },
          "blockPrice": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "Market": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "appMarketJoins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppMarketJoin"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NewAndroidGroupRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          },
          "policy": {
            "$ref": "#/components/schemas/AndroidPolicyRequest"
          }
        },
        "additionalProperties": false
      },
      "NewGroupSettingsJoinRequest": {
        "type": "object",
        "properties": {
          "settingId": {
            "type": "string",
            "format": "uuid"
          },
          "value": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NoteRequest": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "format": "uuid"
          },
          "commenter": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "pinned": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "OpenInternetRequest": {
        "type": "object",
        "properties": {
          "level": {
            "$ref": "#/components/schemas/TemporaryInternetLevels"
          },
          "stopTime": {
            "type": "string",
            "format": "date-time"
          },
          "blockedExecutables": {
            "type": "string",
            "nullable": true
          },
          "proxy": {
            "type": "string",
            "nullable": true
          },
          "proxyCredentials": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Permission": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "applicationUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "applicationUserId": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/PermissionType"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "group": {
            "$ref": "#/components/schemas/Group"
          }
        },
        "additionalProperties": false
      },
      "PermissionType": {
        "enum": [
          100,
          300,
          400,
          500,
          700
        ],
        "type": "integer",
        "format": "int32"
      },
      "PoliciesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "type": "boolean"
          },
          "churchCode": {
            "type": "string",
            "nullable": true
          },
          "customUser": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Policy": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "overrideId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "override": {
            "$ref": "#/components/schemas/Policy"
          },
          "overrideActiveUntil": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "groupId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "group": {
            "$ref": "#/components/schemas/Group"
          },
          "deviceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "device": {
            "$ref": "#/components/schemas/Device"
          },
          "marketId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "market": {
            "$ref": "#/components/schemas/Market"
          },
          "policyAndroidSettings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyAndroidSettingJoin"
            },
            "nullable": true
          },
          "policyAppJoins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyAppJoin"
            },
            "nullable": true
          },
          "defaultAppInternetConfig": {
            "$ref": "#/components/schemas/AppInternetConfig"
          }
        },
        "additionalProperties": false
      },
      "PolicyAndroidSettingJoin": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "value": {
            "type": "boolean"
          },
          "policyId": {
            "type": "string",
            "format": "uuid"
          },
          "policy": {
            "$ref": "#/components/schemas/Policy"
          },
          "settingId": {
            "type": "string",
            "format": "uuid"
          },
          "setting": {
            "$ref": "#/components/schemas/AndroidSetting"
          }
        },
        "additionalProperties": false
      },
      "PolicyAppJoin": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "policyId": {
            "type": "string",
            "format": "uuid"
          },
          "policy": {
            "$ref": "#/components/schemas/Policy"
          },
          "appId": {
            "type": "string",
            "format": "uuid"
          },
          "app": {
            "$ref": "#/components/schemas/App"
          },
          "status": {
            "$ref": "#/components/schemas/AppStatus"
          },
          "internetConfig": {
            "$ref": "#/components/schemas/AppInternetConfig"
          }
        },
        "additionalProperties": false
      },
      "PolicyResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RulesResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PricingResponse": {
        "type": "object",
        "properties": {
          "price": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "ProxyLevels": {
        "enum": [
          0,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "RemoteDeviceApp": {
        "type": "object",
        "properties": {
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "displayVersion": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/AppType"
          }
        },
        "additionalProperties": false
      },
      "RemoteDeviceRequest": {
        "type": "object",
        "properties": {
          "license": {
            "type": "string",
            "nullable": true
          },
          "fcmToken": {
            "type": "string",
            "nullable": true
          },
          "imeI1": {
            "type": "string",
            "nullable": true
          },
          "imeI1Carrier": {
            "type": "string",
            "nullable": true
          },
          "imeI2": {
            "type": "string",
            "nullable": true
          },
          "imeI2Carrier": {
            "type": "string",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "nullable": true
          },
          "androidID": {
            "type": "string",
            "nullable": true
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "manufacturer": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "product": {
            "type": "string",
            "nullable": true
          },
          "sdk": {
            "type": "string",
            "nullable": true
          },
          "appVersion": {
            "type": "string",
            "nullable": true
          },
          "appDisplayVersion": {
            "type": "string",
            "nullable": true
          },
          "deviceLanguage": {
            "type": "string",
            "nullable": true
          },
          "installedApps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteDeviceApp"
            },
            "nullable": true
          },
          "numberOfUsers": {
            "type": "integer",
            "format": "int32"
          },
          "installedBrowsers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "device": {
            "$ref": "#/components/schemas/Device"
          },
          "deviceId": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "$ref": "#/components/schemas/RequestStatus"
          },
          "type": {
            "$ref": "#/components/schemas/RequestType"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "packageName": {
            "type": "string",
            "nullable": true
          },
          "appName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RequestStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "RequestType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "RouterRequest": {
        "required": [
          "workOrder"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "routerType": {
            "type": "integer",
            "format": "int32"
          },
          "lanIp": {
            "type": "string",
            "nullable": true
          },
          "dhcpOn": {
            "type": "boolean",
            "nullable": true
          },
          "dhcpStart": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dhcpNumberAssisgnments": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "extra1": {
            "type": "string",
            "nullable": true
          },
          "extra2": {
            "type": "string",
            "nullable": true
          },
          "updatedPassword": {
            "type": "string",
            "nullable": true
          },
          "firewallsBypassed": {
            "type": "boolean",
            "nullable": true
          },
          "imei": {
            "type": "string",
            "nullable": true
          },
          "carrierConnection": {
            "$ref": "#/components/schemas/CarrierConnectionDto"
          },
          "staticDhcpRules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaticDhcpRequest"
            },
            "nullable": true
          },
          "vpn": {
            "$ref": "#/components/schemas/VpnRequest"
          }
        },
        "additionalProperties": false
      },
      "RouterResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "authentication": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "routerType": {
            "type": "integer",
            "format": "int32"
          },
          "lanIp": {
            "type": "string",
            "nullable": true
          },
          "dhcpOn": {
            "type": "boolean",
            "nullable": true
          },
          "dhcpStart": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dhcpNumberAssisgnments": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "extra1": {
            "type": "string",
            "nullable": true
          },
          "extra2": {
            "type": "string",
            "nullable": true
          },
          "firewallsBypassed": {
            "type": "boolean"
          },
          "needsSync": {
            "type": "boolean"
          },
          "imei": {
            "type": "string",
            "nullable": true
          },
          "carrierConnection": {
            "$ref": "#/components/schemas/CarrierConnectionDto"
          },
          "staticDhcpRules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaticDhcpResponse"
            },
            "nullable": true
          },
          "vpn": {
            "$ref": "#/components/schemas/VpnResponse"
          },
          "status": {
            "$ref": "#/components/schemas/DeviceStatusResponse"
          }
        },
        "additionalProperties": false
      },
      "RouterTypesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "deviceType": {
            "type": "string",
            "nullable": true
          },
          "commonName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoutersResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "needsSync": {
            "type": "boolean"
          },
          "imei": {
            "type": "string",
            "nullable": true
          },
          "carrierConnection": {
            "$ref": "#/components/schemas/CarrierConnectionDto"
          },
          "status": {
            "$ref": "#/components/schemas/DeviceStatusResponse"
          }
        },
        "additionalProperties": false
      },
      "RulesRequest": {
        "type": "object",
        "properties": {
          "sourceIp": {
            "type": "string",
            "nullable": true
          },
          "destinationIp": {
            "type": "string",
            "nullable": true
          },
          "sourcePort": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "destinationPort": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "protocol": {
            "type": "string",
            "nullable": true
          },
          "action": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RulesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "sourceIp": {
            "type": "string",
            "nullable": true
          },
          "destinationIp": {
            "type": "string",
            "nullable": true
          },
          "sourcePort": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "destinationPort": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "protocol": {
            "type": "string",
            "nullable": true
          },
          "action": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SecureLockRelease": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "version": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "majorVersion": {
            "type": "integer",
            "format": "int32"
          },
          "minorVersion": {
            "type": "integer",
            "format": "int32"
          },
          "bugFix": {
            "type": "integer",
            "format": "int32"
          },
          "release": {
            "$ref": "#/components/schemas/AppReleaseChannels"
          },
          "downloadURL": {
            "type": "string",
            "nullable": true
          },
          "packageChecksum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServerTypes": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "ServicesResponse": {
        "type": "object",
        "properties": {
          "subsriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "emailAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmailsResponse"
            },
            "nullable": true
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "hotspots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotspotsResponse"
            },
            "nullable": true
          },
          "routers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoutersResponse"
            },
            "nullable": true
          },
          "secureLockAndroid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DevicesResponse"
            },
            "nullable": true
          },
          "domains": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DomainsResponse"
            },
            "nullable": true
          },
          "secureLockWindows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WindowsDevicesResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SettingType": {
        "enum": [
          0,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "Stages": {
        "enum": [
          100,
          200,
          300,
          1000
        ],
        "type": "integer",
        "format": "int32"
      },
      "StaticDhcpRequest": {
        "type": "object",
        "properties": {
          "lanDeviceMacAddress": {
            "type": "string",
            "nullable": true
          },
          "assignedIp": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StaticDhcpResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "lanDeviceMacAddress": {
            "type": "string",
            "nullable": true
          },
          "assignedIp": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemporaryInternetLevels": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "TemporaryInternetResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "device": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/DeviceType"
          },
          "level": {
            "$ref": "#/components/schemas/TemporaryInternetLevels"
          },
          "stopTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TenderedDetailsResponse": {
        "type": "object",
        "properties": {
          "name": {
            "nullable": true
          },
          "remark": {
            "nullable": true
          },
          "location": {
            "nullable": true
          },
          "operator": {
            "nullable": true
          },
          "payTypeId": {
            "type": "string",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "amountTendered": {
            "type": "integer",
            "format": "int32"
          },
          "isDepositTotal": {
            "type": "boolean"
          },
          "isBatchCreditCards": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UIGroupLinksDTO": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string",
            "nullable": true
          },
          "item": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UIGroupsDTO": {
        "type": "object",
        "properties": {
          "groupKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserAccessRequest": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/AccountStatus"
          },
          "dashboard": {
            "type": "boolean",
            "nullable": true
          },
          "userSub": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserAccessResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "user": {
            "type": "string",
            "nullable": true
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "access": {
            "type": "string",
            "nullable": true
          },
          "dashboard": {
            "type": "boolean"
          },
          "isGroup": {
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStatus"
          },
          "isEmypeople": {
            "type": "boolean"
          },
          "connectAccountButton": {
            "type": "boolean"
          },
          "adminAccess": {
            "type": "boolean"
          },
          "appsAccess": {
            "type": "boolean"
          },
          "itemGroupAccess": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserDto": {
        "type": "object",
        "properties": {
          "sub": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserGroupsResponse": {
        "type": "object",
        "properties": {
          "user": {
            "type": "string",
            "nullable": true
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "access": {
            "type": "string",
            "nullable": true
          },
          "dashboard": {
            "type": "boolean"
          },
          "isGroup": {
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStatus"
          }
        },
        "additionalProperties": false
      },
      "UserType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "UsersResponse": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/UserDto"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStatus"
          },
          "dashboard": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerifyCustomerResponse": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "nullable": true
          },
          "verified": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "VpnRequest": {
        "type": "object",
        "properties": {
          "firewallsBypassed": {
            "type": "boolean"
          },
          "proxyBypassed": {
            "$ref": "#/components/schemas/ProxyLevels"
          },
          "filterType": {
            "$ref": "#/components/schemas/Filter"
          }
        },
        "additionalProperties": false
      },
      "VpnResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "assignedIp": {
            "type": "string",
            "nullable": true
          },
          "firewallsBypassed": {
            "type": "boolean"
          },
          "proxyBypassed": {
            "$ref": "#/components/schemas/ProxyLevels"
          },
          "filterType": {
            "$ref": "#/components/schemas/Filter"
          }
        },
        "additionalProperties": false
      },
      "WindowsCommandsDto": {
        "type": "object",
        "properties": {
          "command": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WindowsDeviceResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "uninstallPassword": {
            "type": "string",
            "nullable": true
          },
          "idOnServer": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "computerSID": {
            "type": "string",
            "nullable": true
          },
          "bypassPassword": {
            "type": "string",
            "nullable": true
          },
          "enableLogging": {
            "type": "boolean"
          },
          "hostNameExceptions": {
            "type": "string",
            "nullable": true
          },
          "ipV6Exceptions": {
            "type": "string",
            "nullable": true
          },
          "processExceptions": {
            "type": "string",
            "nullable": true
          },
          "blockedExecutables": {
            "type": "string",
            "nullable": true
          },
          "licenseTaken": {
            "type": "boolean"
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "filterStatus": {
            "type": "string",
            "nullable": true
          },
          "applicationVersion": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "nullable": true
          },
          "proxy": {
            "type": "string",
            "nullable": true
          },
          "proxyCredentials": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/DeviceStatusResponse"
          }
        },
        "additionalProperties": false
      },
      "WindowsDevicesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "workOrder": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "licenseTaken": {
            "type": "boolean"
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "filterStatus": {
            "type": "string",
            "nullable": true
          },
          "canHaveTemporaryInternet": {
            "type": "boolean",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/DeviceStatusResponse"
          }
        },
        "additionalProperties": false
      },
      "WindowsGroupResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkOrderRequest": {
        "type": "object",
        "properties": {
          "billcode": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "remark": {
            "type": "string",
            "nullable": true
          },
          "customerTypeId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkOrderResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "slipNumber": {
            "type": "string",
            "nullable": true
          },
          "salespersonId": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "taxStatus": {
            "type": "string",
            "nullable": true
          },
          "shipVia": {
            "type": "string",
            "nullable": true
          },
          "customerPoNumber": {
            "type": "string",
            "nullable": true
          },
          "origOrderId": {
            "type": "integer",
            "format": "int64"
          },
          "orderDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "terms": {
            "type": "string",
            "nullable": true
          },
          "totalInvoice": {
            "type": "number",
            "format": "double"
          },
          "totalCost": {
            "type": "number",
            "format": "double"
          },
          "backOrderAmountHeld": {
            "type": "number",
            "format": "double"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "discountDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "discountAmount": {
            "type": "number",
            "format": "double"
          },
          "shipToNameId": {
            "type": "string",
            "nullable": true
          },
          "remark": {
            "type": "string",
            "nullable": true
          },
          "deliveryDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "dateBackOrdered": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "jobId": {
            "type": "string",
            "nullable": true
          },
          "allowLateCharge": {
            "type": "string",
            "nullable": true
          },
          "customerTypeId": {
            "type": "string",
            "nullable": true
          },
          "invoiceType": {
            "type": "string",
            "nullable": true
          },
          "spare0": {
            "type": "string",
            "nullable": true
          },
          "billCode": {
            "type": "string",
            "nullable": true
          },
          "freeFreight": {
            "type": "string",
            "nullable": true
          },
          "spare1": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkOrderServicesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerResponse"
          },
          "emailAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "enterpriseModems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "hasProxyOne": {
            "type": "boolean"
          },
          "ipDevices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "sims": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Hotspot"
            },
            "nullable": true
          },
          "phoneDevices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "routers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "secureLockAndroid": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "secureLockWindows": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "Enter JWT Bearer token **_only_**",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}