{
  "openapi": "3.0.4",
  "info": {
    "title": "SIGNL4 API V3",
    "description": "<p>SIGNL4 REST API – Introduction</p>\r\n<p>Use the SIGNL4 REST API to integrate external systems or build custom workflows and applications on top of SIGNL4.\r\n    The API enables seamless interaction with alerts, users, and on-call scheduling.</p>\r\n<p>Typical use cases include:\r\n<ul>\r\n    <li>Bi-directional integrations: Trigger SIGNL4 alerts from third-party systems and update those systems when alert\r\n        state changes occur</li>\r\n    <li>Alarm retrieval: Fetch alerts for logging, reporting, or analytics purposes</li>\r\n    <li>Calendar integrations: Create and manage on-call schedules programmatically</li>\r\n    <li>User availability management: Automatically sign users in or out based on external calendar events or business\r\n        logic</li>\r\n    <li>Custom workflows: Extend SIGNL4 functionality to fit your specific operational needs</li>\r\n</ul></p>\r\n<p>Important:<br/>\r\nIf your primary goal is simply to send event or alert data to SIGNL4 (for example, from monitoring tools or scripts),\r\n    you may consider using the SIGNL4 inbound webhook instead\r\n    (https://docs.signl4.com/integrations/webhook/webhook.html). The webhook provides a simpler and more lightweight way\r\n    to trigger alerts without implementing a full API-based integration.</p>\r\n<p>Versioning:\r\n<br/>The SIGNL4 API is versioned to ensure backward compatibility and stable integrations. Each request must specify the\r\n    API version in the base URL, for example: https://connect.signl4.com/api/v3/. We recommend always using a fixed\r\n    version (e.g., /v3/) to avoid unexpected breaking changes.</p>\r\n<p>Authentication:\r\n<br/>Access to the SIGNL4 API requires an API key. You can generate an API key in the SIGNL4 portal under Integrations →\r\n    API Keys. Include the API key in every request using the HTTP header: X-S4-Api-Key.</p>\r\n<p> Base URL: https://connect.signl4.com/api/v3/</p>\r\n<p>Copyright © Derdack</p>",
    "contact": {
      "url": "https://www.signl4.com/feedback-we-love-hear-from-you/"
    },
    "license": {
      "name": "Derdack GmbH",
      "url": "https://www.signl4.com"
    },
    "version": "3"
  },
  "servers": [
    {
      "url": "https://connect.signl4.com/api"
    }
  ],
  "paths": {
    "/prepaid/{subscriptionId}/prepaidSettings": {
      "put": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Update a subscription's current prepaid settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Settings object containing the new values.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/prepaid/balance": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get your subscription's current prepaid balance.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/prepaid/settings": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get your subscription's current prepaid settings.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Update your subscription's current prepaid settings.",
        "requestBody": {
          "description": "Settings object containing the new values.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/prepaid/transactions": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get your subscription's prepaid transactions.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/instances": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all script instances of the SIGNL4 team",
        "description": "Returns all script instances in the subscription.",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "modifiedSince",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScriptInstanceInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScriptInstanceInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScriptInstanceInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Scripts"
        ],
        "summary": "Creates a new script instance in the in the SIGNL4 team.",
        "description": "Creates a new script instance of the script specified in the request body.",
        "requestBody": {
          "description": "Script instance to be created.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Existing script instance was updated as specified in body.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "201": {
            "description": "New script instance was updated as specified in body.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error has occurred during instance creation.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/instances/{instanceId}": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all information about a given script instance which includes its runtime status.",
        "description": "Gets the script instance specified by the passed instance id.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Instance Id of script instance to be returned.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database or in memory.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Scripts"
        ],
        "summary": "Updates a given script instance, typically used for updating the configuration of a script.",
        "description": "Updates the specified script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "InstanceId of the script to be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Script instance to be updated.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error has occurred during instance creation.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Scripts"
        ],
        "summary": "Deletes a script instance.",
        "description": "Gets the script instance specified by the passed instance id.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Instance Id of script instance to be returned.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database or in memory.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/instances/{instanceId}/data": {
      "put": {
        "tags": [
          "Scripts"
        ],
        "summary": "Updates custom data of a given script instance which includes its display name.",
        "description": "Updates the specified script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "InstanceId of the script to be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Script instance to be updated.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error has occurred during instance creation.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/instances/{instanceId}/disable": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "summary": "Disables a given script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Id of the instance to be disabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/instances/{instanceId}/enable": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "summary": "Enables a script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Id of the instance to be enabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/inventory": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all available inventory scripts which can be added to a SIGNL4 subscription.",
        "description": "Returns all available inventory scripts which can be added to a SIGNL4 subscription.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occurred while loading all inventory scripts.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/inventory/parsed": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all inventory scripts.",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/scripts/inventory/parsed/{scriptId}": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns an inventory script by its id.",
        "description": "Gets the script specified by the passed script id.",
        "parameters": [
          {
            "name": "scriptId",
            "in": "path",
            "description": "The Id of the script to be returned.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database or in memory.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/prepaidBalance": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get a subscription's current prepaid balance.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/prepaidSettings": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get a subscription's current prepaid settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/prepaidTransactions": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get a subscription's prepaid transactions.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription to get transactions for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/audits": {
      "get": {
        "tags": [
          "Audits"
        ],
        "summary": "Get Audit Logs",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "description": "Language of the requested autit logs",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          },
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "initiatorType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/LogInitiatorTypes"
            }
          },
          {
            "name": "initiatorId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/LogEntryCategories"
              },
              "x-enum-varnames": [
                "None",
                "User",
                "Team",
                "AlertingPattern",
                "Category",
                "ApiKey",
                "Integration",
                "Workflows",
                "ExternalWebhook",
                "RemoteAction",
                "Schedule",
                "Shift",
                "InboundNumber",
                "Template",
                "Scim",
                "Feed",
                "Stakeholder",
                "Alert",
                "AI",
                "Retention",
                "InventoryScript",
                "RemoteActionDefinition",
                "Subscription",
                "Branch",
                "Reporting"
              ]
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/LogEntryTypes"
              },
              "x-enum-varnames": [
                "None",
                "UserInvited",
                "UserReInvited",
                "UserInviteDeleted",
                "UserInviteExpired",
                "UserActivated",
                "UserActivationExpired",
                "UserMigratedToExternal",
                "UserCreated",
                "UserDeleted",
                "UserRenamed",
                "UserImageUploaded",
                "UserImageDeleted",
                "RemoteActionPinUpdated",
                "UserPunchedIn",
                "UserPunchedInAsManager",
                "UserPunchedOut",
                "UserEnabled",
                "UserDisabled",
                "UserMfaEnrollmentStarted",
                "UserMfaEnabled",
                "UserMfaDisabled",
                "AddressUpdated",
                "AddressDeleted",
                "PhoneAddressValidated",
                "PhoneAddressValidationExpired",
                "PushAddressExpired",
                "UserAbsenceCreatedOrUpdated",
                "UserAbsenceDeleted",
                "TeamCreated",
                "TeamDeleted",
                "TeamRenamed",
                "TeamImageUploaded",
                "TeamImageDeleted",
                "TeamAlertSettingsUpdated",
                "TeamAlertSettingsDeleted",
                "TeamAlertsDeleted",
                "TeamEventsDeleted",
                "TeamHolidaysDeleted",
                "TeamAlertAuditReportsDeleted",
                "TeamUserAssigned",
                "TeamUserRemoved",
                "TeamUserRoleSpecified",
                "TeamUserRoleChanged",
                "TeamPrivacyUpdated",
                "AlertingPatternCreated",
                "AlertingPatternDeleted",
                "AlertingPatternUpdated",
                "AlertingPatternsDeleted",
                "CategoryCreated",
                "CategoryDeleted",
                "CategoryUpdated",
                "CategoriesDeleted",
                "CategoryAssigned",
                "CategoryAssignedMuted",
                "CategoryAssignedHidden",
                "SharedCalendarUserKeyCreated",
                "SharedCalendarUserKeyDeleted",
                "SharedCalendarTeamKeyCreated",
                "SharedCalendarTeamKeyDeleted",
                "SettingUpdated",
                "SettingDeleted",
                "ApiKeyCreated",
                "ApiKeyDeleted",
                "ApiKeyUpdated",
                "ApiKeyRenamed",
                "ApiKeyEnabled",
                "ApiKeyDisabled",
                "ApiKeyExpired",
                "IntegrationCreated",
                "IntegrationDeleted",
                "IntegrationUpdated",
                "IntegrationRenamed",
                "IntegrationEnabled",
                "IntegrationDisabled",
                "IntegrationSetToGlobal",
                "IntegrationTeamAssigned",
                "IntegrationSecretUpdated",
                "WorkflowCreated",
                "WorkflowDeleted",
                "WorkflowUpdated",
                "WorkflowRenamed",
                "WorkflowEnabled",
                "WorkflowDisabled",
                "WorkflowTeamAssigned",
                "WorkflowTeamRemoved",
                "WorkflowEventSourceChanged",
                "WorkflowDistributionListAssigned",
                "WorkflowDistributionListRemoved",
                "ExternalWebhookCreated",
                "ExternalWebhookDeleted",
                "ExternalWebhookUpdated",
                "ExternalWebhookRenamed",
                "ExternalWebhookEnabled",
                "ExternalWebhookDisabled",
                "ExternalWebhookSetToGlobal",
                "ExternalWebhookTeamAssigned",
                "RemoteActionCreated",
                "RemoteActionDeleted",
                "RemoteActionUpdated",
                "RemoteActionRenamed",
                "RemoteActionEnabled",
                "RemoteActionDisabled",
                "RemoteActionSetToGlobal",
                "RemoteActionTeamAssigned",
                "ScheduleCreated",
                "ScheduleDeleted",
                "ScheduleUpdated",
                "SchedulesDeleted",
                "SchedulesCreatedInRange",
                "SchedulesDeletedInRange",
                "StandInCreated",
                "StandInUpdated",
                "StandInDeleted",
                "ShiftCreated",
                "ShiftDeleted",
                "ShiftUpdated",
                "ShiftRenamed",
                "ShiftUserAssigned",
                "ShiftUserRemoved",
                "ShiftUserReplaced",
                "ShiftUserMoved",
                "ShiftUserSwap",
                "ShiftUsersRemovedFromFutureIntervals",
                "InboundNumberCreated",
                "InboundNumberUpdated",
                "InboundNumberDeleted",
                "InboundNumberChangeStarted",
                "InboundNumberChangeCompleted",
                "InboundNumberChangeCancelled",
                "TemplateCreated",
                "TemplateUpdated",
                "TemplateDeleted",
                "TemplateExecuted",
                "ScimEnabled",
                "ScimDisabled",
                "ScimApiKeyCreated",
                "ScimSettingsChanged",
                "ScimSynchronizationSummary",
                "DistributionListCreated",
                "DistributionListDeleted",
                "DistributionListRenamed",
                "DistributionListAlertsDeleted",
                "DistributionListEventsDeleted",
                "DistributionListUserAssigned",
                "DistributionListUserRemoved",
                "DistributionListStakeholderAssigned",
                "DistributionListStakeholderRemoved",
                "DistributionListAlertSettingsUpdated",
                "StakeholderInvited",
                "StakeholderReInvited",
                "StakeholderInviteDeleted",
                "StakeholderInviteExpired",
                "StakeholderInviteActivated",
                "StakeholderCreated",
                "StakeholderDeleted",
                "StakeholderRenamed",
                "StakeholderUpdated",
                "StakeholderPasswordChanged",
                "StakeholderPasswordReset",
                "StakeholderEnabled",
                "StakeholderDisabled",
                "StakeholderAddressUpdated",
                "StakeholderAddressDeleted",
                "StakeholderPushAddressExpired",
                "AlertCreated",
                "AlertAcknowledged",
                "AlertUnAcknowledged",
                "AlertClosed",
                "AlertUnClosed",
                "AlertAnnotated",
                "AlertEscalatedToTeam",
                "AlertEscalatedToManagers",
                "AlertsAllAcknowledged",
                "AlertsAllClosed",
                "AlertAcknowledgedByEvent",
                "AlertClosedByEvent",
                "EventWaitingForAutoClose",
                "EventAutoClosed",
                "EventNotEnoughOccurrences",
                "EventDuplicateSupressed",
                "EventProcessingContinued",
                "EventTeamAssignedByAI",
                "AlertSummaryCreated",
                "ExpiredAuditsDeleted",
                "ExpiredAlertsDeleted",
                "ExpiredEventsDeleted",
                "ExpiredSchedulesDeleted",
                "ExpiredDutyReportsDeleted",
                "ExpiredAlertAuditsDeleted",
                "ExpiredAlertReportsDeleted",
                "InventoryScriptCreated",
                "InventoryScriptDeleted",
                "InventoryScriptUpdated",
                "InventoryScriptsLoaded",
                "RemoteActionDefinitionCreated",
                "RemoteActionDefinitionDeleted",
                "RemoteActionDefinitionUpdated",
                "RemoteActionDefinitionEnabled",
                "RemoteActionDefinitionDisabled",
                "RemoteActionDefinitionInvalid",
                "SubscriptionCreated",
                "SubscriptionDeleted",
                "SubscriptionUpdated",
                "SubscriptionRenamed",
                "SubscriptionSettingsUpdated",
                "SubscriptionUserLicensesUpdated",
                "SubscriptionVoiceLicensesUpdated",
                "SubscriptionAutoTopUpEnabled",
                "SubscriptionAutoTopUpDisabled",
                "InactiveSubscriptionDeleted",
                "SubscriptionSupportPinGenerated",
                "SubscriptionImageUploaded",
                "SubscriptionImageDeleted",
                "SubscriptionImageSettingsChanged",
                "SubscriptionCancelled",
                "LastAdministratorChanged",
                "PrepaidPackagePurchased",
                "BranchCreated",
                "BranchSubscriptionCreated",
                "BranchManagerDeleted",
                "ReportingSettingsUpdated",
                "SubscriptionOwnerChanged",
                "SubscriptionRemovedFromBranch",
                "SubscriptionBoundToManager",
                "SubscriptionBoundToReferrer"
              ]
            }
          },
          {
            "name": "messageContains",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "initiatorContains",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maxResults",
            "in": "query",
            "description": "Maximum logs to return",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "continuationToken",
            "in": "query",
            "description": "Continuation token in case of paging",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<LogEntryDetails>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<LogEntryDetails>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<LogEntryDetails>"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/categories": {
      "get": {
        "tags": [
          "Categories"
        ],
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Returns array with the category infos and possible errors.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<CategoryDetails, CategoryError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<CategoryDetails, CategoryError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<CategoryDetails, CategoryError>"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/categories/{teamId}": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get all categories",
        "description": "Sample Request:\r\n            \r\n    GET /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the categories belong to",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the category infos",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Categories"
        ],
        "summary": "Create a new category",
        "description": "Sample Request:\r\n            \r\n    POST /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7\r\n    {\r\n        \"name\": \"Water\",\r\n        \"imageName\": \"water.svg\",\r\n        \"color\": \"#0000cc\",\r\n        \"keywordMatching\": \"Any\",\r\n        \"keywords\": [\r\n            {\r\n                \"value\": \"H2O\"\r\n            },\r\n            {\r\n                \"value\": \"Water\"\r\n            }\r\n        ]\r\n    }",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the category belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Category to be created",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryDetails"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the newly created category",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/categories/{teamId}/{categoryId}": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get a specific category",
        "description": "Sample Request:\r\n            \r\n    GET /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/c0054336-cd89-4abf-882d-ba69b5adb25e",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the category belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryId",
            "in": "path",
            "description": "ID of the category to get",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the category details",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Categories"
        ],
        "summary": "Update an existing category",
        "description": "Sample Request:\r\n            \r\n    PUT /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/c0054336-cd89-4abf-882d-ba69b5adb25e\r\n    {\r\n        \"name\": \"Water-Updated\",\r\n        \"imageName\": \"water.svg\",\r\n        \"color\": \"#0000cc\",\r\n        \"keywordMatching\": \"All\",\r\n        \"keywords\": [\r\n            {\r\n                \"value\": \"H2O\"\r\n            },\r\n            {\r\n                \"value\": \"Water\"\r\n            },\r\n            {\r\n                \"value\": \"Wet\"\r\n            }\r\n        ]\r\n    }",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the category belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Category to be updated",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryUpdateInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryUpdateInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryUpdateInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryUpdateInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated category",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDetails"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Categories"
        ],
        "summary": "Delete an existing category",
        "description": "Sample Request:\r\n            \r\n    DELETE /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/c0054336-cd89-4abf-882d-ba69b5adb25e",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the category belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryId",
            "in": "path",
            "description": "ID of the category to delete",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "200": {
            "description": "If the delete operation was successful"
          }
        }
      }
    },
    "/v3/categories/{teamId}/{categoryId}/metrics": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get metrics for a specific category",
        "description": "Sample Request:\r\n            \r\n    GET /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/c0054336-cd89-4abf-882d-ba69b5adb25e/metrics",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the category belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryId",
            "in": "path",
            "description": "ID of the category to get",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the category metrics",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryMetrics"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryMetrics"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryMetrics"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/categories/{teamId}/{categoryId}/subscriptions": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get category subscriptions",
        "description": "Sample Request:\r\n            \r\n    GET /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/c0054336-cd89-4abf-882d-ba69b5adb25e/subscriptions\r\n    {\r\n    }",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the category belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryId",
            "in": "path",
            "description": "Category to get subscriptions for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the category subscriptions",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategorySubscriptionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategorySubscriptionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategorySubscriptionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found"
          }
        }
      },
      "post": {
        "tags": [
          "Categories"
        ],
        "summary": "Set category subscriptions",
        "description": "Sample Request:\r\n            \r\n    POST /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/c0054336-cd89-4abf-882d-ba69b5adb25e/subscriptions\r\n    {\r\n    }",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the category belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryId",
            "in": "path",
            "description": "Category to be updated",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CategorySubscriptionInfo"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CategorySubscriptionInfo"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CategorySubscriptionInfo"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CategorySubscriptionInfo"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated category subscriptions",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategorySubscriptionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategorySubscriptionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategorySubscriptionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found"
          }
        }
      }
    },
    "/v3/categories/{teamId}/metrics": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get metrics for all categories",
        "description": "Sample Request:\r\n            \r\n    GET /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/metrics",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the categories belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of category metrics",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryMetrics"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryMetrics"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryMetrics"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/categories/images": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Gets the names of all alert category images.\r\nYou can get the image by going to account.signl4.com/images/alerts/categoryImageName.svg",
        "responses": {
          "200": {
            "description": "Return names of all category images",
            "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"
                  }
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "No category images found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "204": {
            "description": "Request was canceled."
          }
        }
      }
    },
    "/v3/categories/public": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get all public category infos",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "description": "ID of the teams the categories belong to. If you don't set a team id you will get all resources of all teams you have access to.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns list with the category public infos and possible errors.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryPublicDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryPublicDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryPublicDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/distributionLists": {
      "get": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Retrieves the distribution lists associated with the user's subscription.",
        "parameters": [
          {
            "name": "startsWith",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contains",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of the subscriptions distribution lists.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Creates a new distribution list.",
        "requestBody": {
          "description": "Information about the list to be created.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the created distribution list.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/distributionLists/{listId}": {
      "get": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Gets a specific distribution list.",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "description": "ID of the distribution list to get.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the requested distribution list.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Resource was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Updates a distribution list.",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "description": "ID of the distribution list to be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Information with which to update the distribution list.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListProfileDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Distribution list was updated successfully.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DistributionListDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Resource was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Deletes a specific distribution list.",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "description": "ID of the list to be deleted.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "List was deleted successfully."
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/distributionLists/{listId}/memberships": {
      "get": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Retrieves distribution list memberships for a specific list.",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "description": "ID of the list to get memberships for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of memberships.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Creates new distribution list memberships.",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "description": "ID of the list to create the memberships for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Information about the memberships to be created.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipCreation"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipCreation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipCreation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipCreation"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the created memberships.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Deletes a specific distribution list membership.",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "description": "ID of the distribution list to delete the membership for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "IDs of the subscribers to delete membership for.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipDeletion"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipDeletion"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipDeletion"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DistributionListMembershipDeletion"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Memberships were deleted successfully."
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/distributionLists/memberships": {
      "get": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Gets the user's distribution list memberships.",
        "responses": {
          "200": {
            "description": "Returns the a list of your distribution list memberships.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListMembershipDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/distributionLists/public": {
      "get": {
        "tags": [
          "DistributionLists"
        ],
        "summary": "Retrieves the list of public info about distribution lists associated with the user's subscription.",
        "responses": {
          "200": {
            "description": "Returns a list of the subscriptions distribution lists.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListPublicDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListPublicDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DistributionListPublicDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/duties/punchIn": {
      "post": {
        "tags": [
          "Duties"
        ],
        "summary": "Punch User in",
        "description": "The specified user will be punched in to duty.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            }
          }
        },
        "responses": {
          "207": {
            "description": "Returns successful and errored duty changes.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to change the status fo this user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "No team found for user to change duty status in.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/duties/punchInAsManager": {
      "post": {
        "tags": [
          "Duties"
        ],
        "summary": "Punch User in as Manager",
        "description": "The specified user will be punched in to duty as a manager.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            }
          }
        },
        "responses": {
          "207": {
            "description": "Returns successful and errored duty changes.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to change the status fo this user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "No team found for user to change duty status in.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/duties/punchOut": {
      "post": {
        "tags": [
          "Duties"
        ],
        "summary": "Punch User out",
        "description": "The specified user will be punched out from duty.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DutyChangeArgsRequest"
              }
            }
          }
        },
        "responses": {
          "207": {
            "description": "Returns successful and errored duty changes.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyChangeError>"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to change the status fo this user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "No team found for user to change duty status in.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/duties/summary": {
      "get": {
        "tags": [
          "Duties"
        ],
        "summary": "Get duty assistant info for teams",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "description": "IDs of the teams to get the summaries for.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "lastTwoDuties",
            "in": "query",
            "description": "Decide if you want all duties or only the last two.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Multi-Status",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamDutySummaryInfo, TeamDutySummaryError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamDutySummaryInfo, TeamDutySummaryError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamDutySummaryInfo, TeamDutySummaryError>"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/events/{eventId}": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Get event",
        "description": "Get event by id.",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "Id of event to get.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns overview event with specific id.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/V2.OverviewEvent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V2.OverviewEvent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/V2.OverviewEvent"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Event with specified id could not be found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/events/{eventId}/details": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Get details of an event",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "Event id for the event you want to get",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "The language of the event processing log",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Details of the event",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EventDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Event was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An unhandled server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/events/{eventId}/parameters": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Get event parameters",
        "description": "Get parameters of an event by id.",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "Event Id of the requested Alert.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventParameterInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventParameterInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventParameterInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/events/{webhookIdOrTeamId}": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Create new event",
        "parameters": [
          {
            "name": "webhookIdOrTeamId",
            "in": "path",
            "description": "Use team id to send an event straight to the team or an inbound webhook identifier (https://connect.signl4.com/webhook/{Identifier}) to use distribution rules",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExtIdParam",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExtStatusParam",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NewStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ResolvedStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AckStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EventInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/events/paged": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Get overview event paged.",
        "description": "Get overview event paged. If there are more results, you also get a continuation token which you can add to\r\nthe event filter.",
        "parameters": [
          {
            "name": "maxResults",
            "in": "query",
            "description": "Defines the limit of retrieved alert details per request. 1 to 100 are allowed per request.\r\nNumber of alerts could be less if filtered but at least 1.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The filter defines which alerts are supposed to be retrieved.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/EventFilterDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventFilterDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EventFilterDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EventFilterDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns paged result with found events and continuation token, if database holds more events.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<EventInfo>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<EventInfo>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<EventInfo>"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "204": {
            "description": "No event could be found (with passed filter)"
          }
        }
      }
    },
    "/v3/eventsources": {
      "get": {
        "tags": [
          "EventSources"
        ],
        "summary": "Get event sources from one or more teams.",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "description": "Team Ids to get the event sources from. If you don't add any team id, you get event sources you have access to from your subscription.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "includeInternal",
            "in": "query",
            "description": "If true internal Event Sources type (System, Manual, API) will be included in the result.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language for name and description of internal event sources.",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Event sources are returned along side some errors if occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<EventSourceEndpointInfo, V2.EventSourceEndpointError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<EventSourceEndpointInfo, V2.EventSourceEndpointError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<EventSourceEndpointInfo, V2.EventSourceEndpointError>"
                }
              }
            }
          },
          "403": {
            "description": "Subscription information was not found in the claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "No teams to request event sources from where found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EventSources"
        ],
        "summary": "Create a new event source",
        "requestBody": {
          "description": "Information for creating a new event source",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/EventSourceCreateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventSourceCreateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EventSourceCreateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EventSourceCreateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Newly created event source is returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "400": {
            "description": ""
          },
          "500": {
            "description": "An internal error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/eventsources/{eventSourceId}": {
      "get": {
        "tags": [
          "EventSources"
        ],
        "summary": "Get event source by id.",
        "parameters": [
          {
            "name": "eventSourceId",
            "in": "path",
            "description": "Id of the event source.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language for name and description of internal event source.",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The requested Event source.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              }
            }
          },
          "400": {
            "description": "Request was missing required information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Subscription information was not found in the claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Requested event source not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "EventSources"
        ],
        "summary": "Update an event source",
        "parameters": [
          {
            "name": "eventSourceId",
            "in": "path",
            "description": "ID of event source",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Values you want to update.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/V2.EventSourceUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/V2.EventSourceUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/V2.EventSourceUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/V2.EventSourceUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated event source is returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventSourceEndpointInfo"
                }
              }
            }
          },
          "400": {
            "description": "Request was missing required information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Event source not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Your are not allowed to update this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "EventSources"
        ],
        "summary": "Delete an event source",
        "parameters": [
          {
            "name": "eventSourceId",
            "in": "path",
            "description": "ID of event source",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Event source is deleted."
          },
          "400": {
            "description": "Request was missing required information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Your are not allowed to delete this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Event source to delete not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/prepaid/{subscriptionId}/prepaidSettings": {
      "put": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Update a subscription's current prepaid settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Settings object containing the new values.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/prepaid/balance": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get your subscription's current prepaid balance.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/prepaid/settings": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get your subscription's current prepaid settings.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Update your subscription's current prepaid settings.",
        "requestBody": {
          "description": "Settings object containing the new values.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PrepaidSettingsInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/prepaid/transactions": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get your subscription's prepaid transactions.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/remoteActions": {
      "get": {
        "tags": [
          "RemoteActions"
        ],
        "summary": "Returns Remote Actions",
        "description": "Sample Request:\r\nGET /RemoteActions?externalId=12345",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "description": "Optional filter for external id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/RemoteActionTypes"
            }
          },
          {
            "name": "executorService",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the requested Remote Actions",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RemoteActionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RemoteActionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RemoteActionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "RemoteActions"
        ],
        "summary": "Create a new Remote Action",
        "description": "Sample Request:\r\nPOST /remoteActions\r\n{\r\n\"teamId\": \"cbb70402-1359-477f-ac92-0171cf2b5ff7\",\r\n\"name\": \"MyAction\",\r\n\"enabled\": true,\r\n}",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "requestBody": {
          "description": "Remote Action to be created",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the newly created Remote Action",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              }
            }
          },
          "400": {
            "description": "The input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Any server side error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/remoteActions/{actionId}": {
      "get": {
        "tags": [
          "RemoteActions"
        ],
        "summary": "Returns a Remote Action",
        "description": "Sample Request:\r\nGET /RemoteActions/{actionId}",
        "parameters": [
          {
            "name": "actionId",
            "in": "path",
            "description": "The id of the action to return",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the requested Remote Action",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "RemoteActions"
        ],
        "summary": "Updates a Remote Action",
        "description": "Sample Request:\r\nPUT /remoteActions/{actionId}\r\n{\r\n\"teamId\": \"cbb70402-1359-477f-ac92-0171cf2b5ff7\",\r\n\"name\": \"MyAction\",\r\n\"enabled\": true,\r\n}",
        "parameters": [
          {
            "name": "actionId",
            "in": "path",
            "description": "ID of remote Action to be updated",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "requestBody": {
          "description": "Remote Action to be updated",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteActionCreateOrUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated Remote Action",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDetails"
                }
              }
            }
          },
          "400": {
            "description": "The input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You have no permission to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The resource was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Any server side errors occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "RemoteActions"
        ],
        "summary": "Deletes a Remote Action",
        "description": "Sample Request:\r\nDELETE /eaRemoteActions/{actionId}",
        "parameters": [
          {
            "name": "actionId",
            "in": "path",
            "description": "The id of the action to delete",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Remote action was deleted successfully."
          },
          "403": {
            "description": "You have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Any server side errors occurred",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/remoteActions/{actionId}/jobs": {
      "post": {
        "tags": [
          "RemoteJobs"
        ],
        "summary": "Create a new Remote Job",
        "description": "Sample Request:\r\n            \r\n    POST /remoteActions/{actionId}/jobs\r\n    {\r\n        \"remoteActionPin\" : \"1234\",\r\n        \"parameters\": [\r\n            {\r\n                \"name\": \"Param1\",\r\n                \"value\": \"Value 1\"\r\n            }\r\n        ]\r\n    }",
        "parameters": [
          {
            "name": "actionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Remote Job to be created",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobCreate"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobCreate"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobCreate"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobCreate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the newly created Remote Job",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteJob"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteJob"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteJob"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the action was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/remoteActions/definitions": {
      "get": {
        "tags": [
          "RemoteActionDefinitions"
        ],
        "summary": "Retrieve all available definition",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "description": "Language you want to get the definition with",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returning remote action definitions.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RemoteActionDefinitionDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RemoteActionDefinitionDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RemoteActionDefinitionDetails"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Remote action Definition was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/remoteActions/definitions/{definitionId}": {
      "get": {
        "tags": [
          "RemoteActionDefinitions"
        ],
        "summary": "Retrieve a definition",
        "parameters": [
          {
            "name": "definitionId",
            "in": "path",
            "description": "Id of definition",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language you want to get the definition with",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returning remote action definition.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDefinitionDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDefinitionDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteActionDefinitionDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Remote action Definition was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/remoteActions/journal/{jobId}": {
      "get": {
        "tags": [
          "RemoteJobsJournal"
        ],
        "summary": "Returns a Remote Job from Journal",
        "description": "Sample Request:\r\n            \r\n    GET /remoteActions/journal/{jobId}",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "description": "The id of the job to return",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the requested Remote Job",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteJob"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteJob"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteJob"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the resource was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/remoteActions/journal/paged": {
      "post": {
        "tags": [
          "RemoteJobsJournal"
        ],
        "summary": "Returns Remote Jobs paged from Journal",
        "description": "Sample Request:\r\n            \r\n    POST /remoteActions/journal/paged?maxResults=100\r\n    {\r\n        \"statusCode\": \"Executed\"\r\n    }",
        "parameters": [
          {
            "name": "maxResults",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobJournalPagedFilter"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobJournalPagedFilter"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobJournalPagedFilter"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteJobJournalPagedFilter"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the requested Remote Jobs",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<RemoteJob>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<RemoteJob>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<RemoteJob>"
                }
              }
            }
          },
          "400": {
            "description": "If the input is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "If you have no permission to access this resource",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "If the action was not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "If any server side errors occur",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/schedules": {
      "post": {
        "tags": [
          "Schedules"
        ],
        "summary": "Returns information about all planned schedules.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SchedulesFilter"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchedulesFilter"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SchedulesFilter"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SchedulesFilter"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/schedules/standIn": {
      "post": {
        "tags": [
          "Schedules"
        ],
        "summary": "Replaces users schedule with another user",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/StandInRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandInRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StandInRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StandInRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Stand in successful. Returns resulting schedules",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some parameters were missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to perform this method in behave of the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred while queuing escalation.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scim/apiKey": {
      "post": {
        "tags": [
          "SCIM"
        ],
        "summary": "Generate or Regenerate SCIM api key for subscription",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scim/settings": {
      "get": {
        "tags": [
          "SCIM"
        ],
        "summary": "Get SCIM settings for subscription",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SCIM"
        ],
        "summary": "Update SCIM settings for subscription",
        "requestBody": {
          "description": "SCIM Settings to update.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScimSettingsUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimSettingsUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimSettingsUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScimSettingsUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimSettingsDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scim/status": {
      "get": {
        "tags": [
          "SCIM"
        ],
        "summary": "Get SCIM status for subscription",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScimStatusDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimStatusDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimStatusDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/instances": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all script instances of the SIGNL4 team",
        "description": "Returns all script instances in the subscription.",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "modifiedSince",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScriptInstanceInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScriptInstanceInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScriptInstanceInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Scripts"
        ],
        "summary": "Creates a new script instance in the in the SIGNL4 team.",
        "description": "Creates a new script instance of the script specified in the request body.",
        "requestBody": {
          "description": "Script instance to be created.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCreateInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Existing script instance was updated as specified in body.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "201": {
            "description": "New script instance was updated as specified in body.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error has occurred during instance creation.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/instances/{instanceId}": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all information about a given script instance which includes its runtime status.",
        "description": "Gets the script instance specified by the passed instance id.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Instance Id of script instance to be returned.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database or in memory.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Scripts"
        ],
        "summary": "Updates a given script instance, typically used for updating the configuration of a script.",
        "description": "Updates the specified script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "InstanceId of the script to be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Script instance to be updated.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceUpdateInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error has occurred during instance creation.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Scripts"
        ],
        "summary": "Deletes a script instance.",
        "description": "Gets the script instance specified by the passed instance id.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Instance Id of script instance to be returned.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database or in memory.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/instances/{instanceId}/data": {
      "put": {
        "tags": [
          "Scripts"
        ],
        "summary": "Updates custom data of a given script instance which includes its display name.",
        "description": "Updates the specified script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "InstanceId of the script to be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Script instance to be updated.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInstanceCustomUserData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error has occurred during instance creation.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/instances/{instanceId}/disable": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "summary": "Disables a given script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Id of the instance to be disabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/instances/{instanceId}/enable": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "summary": "Enables a script instance.",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "description": "Id of the instance to be enabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/inventory": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all available inventory scripts which can be added to a SIGNL4 subscription.",
        "description": "Returns all available inventory scripts which can be added to a SIGNL4 subscription.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occurred while loading all inventory scripts.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/inventory/parsed": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns all inventory scripts.",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryScriptInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/scripts/inventory/parsed/{scriptId}": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "summary": "Returns an inventory script by its id.",
        "description": "Gets the script specified by the passed script id.",
        "parameters": [
          {
            "name": "scriptId",
            "in": "path",
            "description": "The Id of the script to be returned.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptInstanceDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required information could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database or in memory.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts": {
      "get": {
        "tags": [
          "Shifts"
        ],
        "summary": "Get details of multiple shifts.",
        "parameters": [
          {
            "name": "TeamId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RangeStart",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "RangeEnd",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftDetails"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Shifts"
        ],
        "summary": "Create a new shift",
        "requestBody": {
          "description": "New Shift information",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftCreateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftCreateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftCreateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftCreateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              }
            }
          },
          "400": {
            "description": "Validation for shift failed with error.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/{shiftId}": {
      "get": {
        "tags": [
          "Shifts"
        ],
        "summary": "Get details of a shift.",
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "description": "ID of shift you want to get",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Shift was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Shifts"
        ],
        "summary": "Update details of a shift.",
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "description": "ID of shift you want to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Shift with updated values.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Generated shifts from the update. Sometimes a shift must be split if the time slots are changed.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Shifts"
        ],
        "summary": "Delete a shift.",
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "description": "Shift you want to delete",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Shift deleted successfully."
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/{shiftId}/assignments": {
      "post": {
        "tags": [
          "Shifts-Assignments"
        ],
        "summary": "Assign a user to a shift",
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "description": "ID of the shift ID you want to assign a user to",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Assignment details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentCreateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentCreateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentCreateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentCreateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftAssignmentCreateResultDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftAssignmentCreateResultDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftAssignmentCreateResultDetails"
                }
              }
            }
          },
          "400": {
            "description": "Validation for shift assignment failed with error.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Shifts-Assignments"
        ],
        "summary": "Update assignments for a shift.",
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "description": "Shift you want to update assignments for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Details about assignment update",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSetDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSetDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSetDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSetDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftAssignmentSetResultDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftAssignmentSetResultDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftAssignmentSetResultDetails"
                }
              }
            }
          },
          "400": {
            "description": "Validation for shift assignment failed with error.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Shifts-Assignments"
        ],
        "summary": "Delete a user assignment from a shift.",
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "description": "Shift ID you want to delete assignment from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UserId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "IntervalId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Shift assignment deleted successfully."
          },
          "400": {
            "description": "Validation failed for input.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/{shiftId}/assignments/replace": {
      "post": {
        "tags": [
          "Shifts-Assignments"
        ],
        "summary": "Replace an assignment with a different user.",
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "description": "ID of shift",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Replacement details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentReplaceDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentReplaceDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentReplaceDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentReplaceDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns all changed shift intervals.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation failed for input.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/{shiftId}/intervals/{intervalId}": {
      "get": {
        "tags": [
          "Shifts-Intervals"
        ],
        "parameters": [
          {
            "name": "shiftId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "intervalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftIntervalDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftIntervalDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftIntervalDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Shift interval was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/ai/forwardPlanning/{teamId}": {
      "post": {
        "tags": [
          "Shifts-AI"
        ],
        "summary": "Start AI shift planning for a team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Shift planning Request details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningRequestDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningRequestDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningRequestDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningRequestDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Forward planning started.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request object provided.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "Forward planning already running.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "503": {
            "description": "AI Service not available.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "429": {
            "description": "Throttling Limit reached.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/ai/forwardPlanning/{teamId}/feedback/{operationId}": {
      "post": {
        "tags": [
          "Shifts-AI"
        ],
        "summary": "Set feedback for the AI shift planning operation by Id.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operationId",
            "in": "path",
            "description": "Id of the AI shift planning operation",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language for the AI result description",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "requestBody": {
          "description": "Feedback object",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Feedback saved and planning info returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              }
            }
          },
          "404": {
            "description": "Planning info by operation id not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/ai/forwardPlanning/{teamId}/result/{operationId}": {
      "get": {
        "tags": [
          "Shifts-AI"
        ],
        "summary": "Returns the AI shift planning info by Id.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operationId",
            "in": "path",
            "description": "Id of the AI shift planning operation",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language for the AI result description",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Planning info found and returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              }
            }
          },
          "404": {
            "description": "Planning info by operation id not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/ai/forwardPlanning/{teamId}/result/last": {
      "get": {
        "tags": [
          "Shifts-AI"
        ],
        "summary": "Returns the last AI shift planning info of the team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language for the AI result description",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Planning info found and returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningDetails"
                }
              }
            }
          },
          "204": {
            "description": "No last planning info."
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/ai/forwardPlanning/{teamId}/status": {
      "get": {
        "tags": [
          "Shifts-AI"
        ],
        "summary": "Checks for running AI shift planning for a team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Team status info",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningTeamStatusDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningTeamStatusDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIForwardPlanningTeamStatusDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/moveAssignment": {
      "post": {
        "tags": [
          "Shifts-Assignments"
        ],
        "summary": "Moves an assignment to a different interval.",
        "requestBody": {
          "description": "Move details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentMoveDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentMoveDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentMoveDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentMoveDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns all changed shift intervals.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation failed for input.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/swapAssignments": {
      "post": {
        "tags": [
          "Shifts-Assignments"
        ],
        "summary": "Swap shift assignments of two users.",
        "requestBody": {
          "description": "Swap details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSwapDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSwapDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSwapDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftAssignmentSwapDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns all changed shift intervals.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftIntervalDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation failed for input.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/shifts/validateTimeSlots": {
      "post": {
        "tags": [
          "Shifts"
        ],
        "summary": "Validate time slots for a shift.",
        "requestBody": {
          "description": "Information to validate",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TimeSlotValidationRequestDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TimeSlotValidationRequestDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TimeSlotValidationRequestDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TimeSlotValidationRequestDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftTimeSlotsValidationResultDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftTimeSlotsValidationResultDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftTimeSlotsValidationResultDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Trigger a signl",
        "description": "Triggers a new signl for your team. All team members on duty will receive signl notifications.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RaiseSignlRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the created signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Team or event source could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get Signl",
        "description": "Gets a signl by id.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "User ID used to scope the view.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the requested signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlInfo"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/acknowledge": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Confirm a signl",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to confirm.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Confirmation details including user ID and optional description.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlInfo"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "Signl cannot be confirmed due to lifecycle constraints.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/annotate": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Annotate Signl",
        "description": "Annotates a signl by given annotation info.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to annotate.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Annotation content and type.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignlAnnotationCreate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the created annotation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlAnnotationDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/attachments": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get attachment infos of a signl",
        "description": "Returns metadata for all attachments of a signl.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of attachment infos.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignlAttachmentInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Upload annotation attachment",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "Signl ID where to set the annotation attachment.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "annotationId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns id of created attachment.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlAttachmentUploadResultDetails"
                }
              }
            }
          },
          "400": {
            "description": "Either a passed parameter was either empty/null or the request's multipart does not contain a file",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to upload an attachment for the specified alert.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The alert was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/attachments/{attachmentId}": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Gets a specified attachment of a specified signl",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "Id of the signl that contains the wanted attachment.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "attachmentId",
            "in": "path",
            "description": "Id of the attachment, that you want to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "width",
            "in": "query",
            "description": "Optional parameter defining the wanted width of the picture that is retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Optional parameter defining the wanted height of the picture that is retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scale",
            "in": "query",
            "description": "Optional parameter defining whether it's wanted to scale the retrieved image. Default is set to\r\ntrue.",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the attachment file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this attachment.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Attachment could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "204": {
            "description": "The image of the attachment was not uploaded yet."
          }
        }
      }
    },
    "/v3/signls/{signlId}/close": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Close a signl",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to close.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Closure details including user ID and optional description.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlInfo"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "Signl cannot be closed due to lifecycle constraints.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/details": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get details about a signl",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "User ID used to scope the view (affects filtering of certain fields).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns all accessible information about the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlDetails"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The signl was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/escalateToTeam": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Escalate a signl manually to a team",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to escalate.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Target team and initiating user for the escalation.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EscalateSignlRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Escalation successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlEscalationResult"
                }
              }
            }
          },
          "400": {
            "description": "Some parameters were missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred while queuing escalation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/escalations": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signl escalation infos",
        "description": "Returns the escalation history for a signl.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the escalation infos for the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignlEscalationDetails"
                  }
                }
              }
            }
          },
          "204": {
            "description": "Operation completed successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/escalations/csv": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signl escalation infos as CSV",
        "description": "Returns the escalation infos for a signl as a downloadable CSV file.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the escalation infos as a CSV file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "204": {
            "description": "Operation completed successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/feedback": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Create signl feedback",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "Id of the signl to create feedback for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Feedback data for the signl",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlFeedbackInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlFeedbackInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlFeedbackInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlFeedbackInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlFeedbackInfo"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "The feedback for this signl was already set by a different user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/notifications": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signl notifications",
        "description": "Returns notification delivery details for all users of a signl.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the notifications for the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignlNotificationInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/parameters": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signl parameters",
        "description": "Returns the event parameters associated with a signl.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the event parameters for the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignlParameterDetails"
                  }
                }
              }
            }
          },
          "204": {
            "description": "Operation completed successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/postMortem": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signl post-mortem report",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Target language of the post-mortem report.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the post-mortem report for the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlReportDetails"
                }
              }
            }
          },
          "400": {
            "description": "Some parameters were missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred while getting the post-mortem report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/postMortem/mail": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Send the post-mortem report as a mail",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to send the post-mortem report for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Target language of the post-mortem report.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Post-mortem mail queued successfully."
          },
          "400": {
            "description": "Some parameters were missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred while sending the post-mortem mail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/signalingPattern": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signaling pattern information of a signl",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to retrieve alerting pattern info for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the signaling pattern information of the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlSignalingPatternDetails"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The signl was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/summarize": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Create signl summary",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "Id of the signl to create the summary for",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language of the requested summary",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIServiceResultDetails`1<SignlSummaryDetails>"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/summary": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signl summary",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "Id of the signl to get the summary for",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language of the requested summary",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AIServiceResultDetails`1<SignlSummaryDetails>"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/summary/feedback": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Create signl summary feedback",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "Id of the signl to create summary feedback for",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language of the existing signl summary",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Feedback data for the summary",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlSummaryFeedbackDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlSummaryFeedbackDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlSummaryFeedbackDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSignlSummaryFeedbackDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlSummaryFeedbackDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl summary was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/timeline": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signl timeline entries",
        "description": "Returns the ordered timeline of events for a signl.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the requested signl.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "User ID used to scope the timeline view.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the timeline entries for the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/SignlTimelineEntryBase"
                      },
                      {
                        "$ref": "#/components/schemas/SignlTimelineEntryAnnotation"
                      },
                      {
                        "$ref": "#/components/schemas/SignlTimelineEntryUser"
                      },
                      {
                        "$ref": "#/components/schemas/SignlTimelineEntryTeam"
                      },
                      {
                        "$ref": "#/components/schemas/SignlTimelineEntryRemoteAction"
                      }
                    ]
                  }
                }
              }
            }
          },
          "204": {
            "description": "Operation completed successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Signl could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/undoAcknowledge": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Undo the acknowledgement of a signl",
        "description": "Attempts to undo a signl acknowledgement.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to undo acknowledgement for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Undo details including user ID.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlInfo"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to undo the acknowledgement.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/undoClose": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Undo the closure of a signl",
        "description": "Attempts to undo a signl close.",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to undo closure for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Undo details including user ID.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlInfo"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to undo the closure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/{signlId}/workflow": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get workflow information of a signl",
        "parameters": [
          {
            "name": "signlId",
            "in": "path",
            "description": "ID of the signl to retrieve workflow info for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the workflow information of the signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignlWorkflowInfoDetails"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this signl.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The signl was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/acknowledgeAll": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Confirm all visible signls",
        "description": "Confirms all unhandled signls your team currently has by a specific user.",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "description": "User ID of the user to be used to acknowledge the signls.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusFilterInfo"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Signl confirmations queued successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User or team could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/acknowledgeAll/status": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get acknowledge-all progress status",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "description": "Team ID to scope the status check.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "User ID to scope the status check.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns current status if acknowledge all is running.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionProgressDetails"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/acknowledgeMultiple": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Confirm multiple signls",
        "description": "Confirms all signls provided.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusMultipleInfo"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Signl confirmations queued successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "One or more signls could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/closeAll": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Close all acknowledged signls",
        "description": "Closes all acknowledged signls your team currently has.",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "description": "User ID of the user to be used to close the signls.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusFilterInfo"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Signl closures queued successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User or team could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/closeAll/status": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get close-all progress status",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "description": "Team ID to scope the status check.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "User ID to scope the status check.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns current status if close all is running.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionProgressDetails"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/closeMultiple": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Close multiple signls",
        "description": "Closes all signls provided.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusMultipleInfo"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Signl closures queued successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "One or more signls could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/paged": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Get signls paged",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "description": "User ID to scope the results to a specific user's signls.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maxResults",
            "in": "query",
            "description": "Maximum number of signls to return per request (1–100).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "requestBody": {
          "description": "Filter criteria for signl retrieval.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignlFilterRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns a paged result with found signls and a continuation token if more are available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<SignlInfo>"
                }
              }
            }
          },
          "204": {
            "description": "Signl retrieval queued successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User or team could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/report": {
      "get": {
        "tags": [
          "Signls"
        ],
        "summary": "Get Signl Report",
        "description": "Returns information about the occurred signl volume in different time periods as well as information about the\r\nresponse behaviour (amount of confirmed and unhandled signls) of the team members.",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "description": "User ID of the user for whom you want a report.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "query",
            "description": "Team IDs of the teams you want a report for. If you don't set a team id you will get all\r\nressources of all teams you have access to.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Returns a multi-team signl count report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<SignlCountsDetails, SignlReportError>"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User or team could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/undoAcknowledgeMultiple": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Withdraw acknowledgement of multiple signls",
        "description": "Queues undo operations for the acknowledgements of the provided signls.",
        "requestBody": {
          "description": "User and signl IDs to undo acknowledgement for.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusMultipleInfo"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Undo signl acknowledgements queued successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to undo these acknowledgements.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/signls/undoCloseMultiple": {
      "post": {
        "tags": [
          "Signls"
        ],
        "summary": "Withdraw closure of multiple signls",
        "description": "Queues undo operations for the closures of the provided signls.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeSignlStatusMultipleInfo"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Undo signl closures queued successfully."
          },
          "400": {
            "description": "Required parameters are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "One or more signls could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/stakeholders": {
      "get": {
        "tags": [
          "Stakeholders"
        ],
        "summary": "Retrieves the list of stakeholders associated with the user's subscription.",
        "parameters": [
          {
            "name": "maxResults",
            "in": "query",
            "description": "Maximum number of stakeholders to be returned per request.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "startsWith",
            "in": "query",
            "description": "Filter for stakeholder names starting with this value.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contains",
            "in": "query",
            "description": "Filter for stakeholder names containing this value.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "feedId",
            "in": "query",
            "description": "Filter for stakeholders who are member of this feed.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isAlertable",
            "in": "query",
            "description": "Filter for stakeholders by their alertable state.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "continuationToken",
            "in": "query",
            "description": "Token for paginated results.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of the subscription's stakeholder users.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<StakeholderOverviewDetails>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<StakeholderOverviewDetails>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<StakeholderOverviewDetails>"
                }
              }
            }
          },
          "400": {
            "description": "Required parameter is invalid or could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "You are not authorized / authenticated.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/stakeholders/{stakeholderId}": {
      "get": {
        "tags": [
          "Stakeholders"
        ],
        "summary": "Retrieves details of a specific stakeholder.",
        "parameters": [
          {
            "name": "stakeholderId",
            "in": "path",
            "description": "ID of the stakeholder to get.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of the subscriptions stakeholder users.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameter is invalid or could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "You are not authorized / authenticated.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Stakeholders"
        ],
        "summary": "Update profile info for stakeholder",
        "parameters": [
          {
            "name": "stakeholderId",
            "in": "path",
            "description": "Stakeholder ID or \"me\" for the stakeholder you want to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Profile info of stakeholder. Time zone must be in IANA format.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderProfileDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderProfileDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderProfileDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderProfileDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated stakeholder details.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameter is invalid or could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "You are not authorized / authenticated.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Stakeholders"
        ],
        "summary": "Deletes a specific stakeholder.",
        "parameters": [
          {
            "name": "stakeholderId",
            "in": "path",
            "description": "ID of the stakeholder to get.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Required parameter is invalid or could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "You are not authorized / authenticated.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/stakeholders/{stakeholderId}/locale": {
      "put": {
        "tags": [
          "Stakeholders"
        ],
        "summary": "Update locale info (e.g. language, time zone) for stakeholder",
        "parameters": [
          {
            "name": "stakeholderId",
            "in": "path",
            "description": "Stakeholder ID or \"me\" for the stakeholder you want to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Locale info of stakeholder. Time zone must be in IANA format.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderLocaleDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderLocaleDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderLocaleDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StakeholderLocaleDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated stakeholder details.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameter is invalid or could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "You are not authorized / authenticated.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Get infos of all available/managed subscriptions.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubscriptionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubscriptionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubscriptionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Get infos of a specific subscription.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription that's to be retrieved.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/channelPrices": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Returns the subscription's channel price information.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription that needs to be retrieved.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ChannelPriceInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChannelPriceInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChannelPriceInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/features": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Returns the features of a specified subscription.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription from which the features need to be retrieved.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubscriptionFeature"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubscriptionFeature"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubscriptionFeature"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/image": {
      "get": {
        "tags": [
          "SubscriptionImages"
        ],
        "summary": "Gets image of a specified subscription.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The ID of the subscription you want to get the image from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type of subscription image you want to retrieve. Defaults to Mobile.",
            "schema": {
              "$ref": "#/components/schemas/HeaderImageType"
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Optional parameter defining the wanted height of the picture that's retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "width",
            "in": "query",
            "description": "Optional parameter defining the wanted width of the picture that's retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a subscription image and additional meta information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to get an image for the specified subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Either the subscription or the subscription image was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SubscriptionImages"
        ],
        "summary": "Upload an image for a specified subscription.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription to set the team for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type of subscription image you want to upload. Defaults to Mobile.",
            "schema": {
              "$ref": "#/components/schemas/HeaderImageType"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The image was successfully uploaded."
          },
          "400": {
            "description": "Either a passed parameter was either empty/null or the request's multipart does not contain a file",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to upload an image for the specified subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The subscription was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SubscriptionImages"
        ],
        "summary": "Deletes current subscription image",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription ID you want to delete the team image from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type of image you want to delete. Defaults to Mobile.",
            "schema": {
              "$ref": "#/components/schemas/HeaderImageType"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successfully deleted subscription image."
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to delete an image for the specified subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The subscription was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/imageFile": {
      "get": {
        "tags": [
          "SubscriptionImages"
        ],
        "summary": "Gets image of a specified subscription.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The ID of the subscription you want to get the image from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type of subscription image you want to retrieve. Defaults to Mobile.",
            "schema": {
              "$ref": "#/components/schemas/HeaderImageType"
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Optional parameter defining the wanted height of the picture that's retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "width",
            "in": "query",
            "description": "Optional parameter defining the wanted width of the picture that's retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scale",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a subscription image and additional meta information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to get an image for the specified subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Either the subscription or the subscription image was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/imageInfo": {
      "get": {
        "tags": [
          "SubscriptionImages"
        ],
        "summary": "Gets information about subscription images and settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The ID of the subscription you want to get the image from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns information about the subscription images and settings.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionImageInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionImageInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionImageInfo"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to get an image for the specified subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The subscription was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/imageSettings": {
      "get": {
        "tags": [
          "SubscriptionImages"
        ],
        "summary": "Gets subscription image settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The ID of the subscription you want to get the settings from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns subscription image settings.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to get settings for the specified subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The subscription was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SubscriptionImages"
        ],
        "summary": "Set subscription image settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The ID of the subscription you want to get the settings from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new settings you want to set.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionImageSettings"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionImageSettings"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionImageSettings"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionImageSettings"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated subscription image settings.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionImageSettings"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionImageSettings"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionImageSettings"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to set settings for the specified subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The subscription was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/inboundVoiceNumberLicenses": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Gets a subscription's voice number licenses.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VoiceInboundNumberLicenseInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VoiceInboundNumberLicenseInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VoiceInboundNumberLicenseInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/invoices/{invoiceId}/en16931": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Gets a subscription's invoice in EN16931 XML format.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "invoiceId",
            "in": "path",
            "description": "ID of the invoice",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language for the invoice",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Invoice EN16931 XML",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceEn16931Details"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceEn16931Details"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceEn16931Details"
                }
              }
            }
          },
          "400": {
            "description": "Required field missing",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/invoices/{invoiceId}/zugferd": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Gets a subscription's invoice as a ZUGFeRD-compliant hybrid PDF (PDF with embedded EN16931 XML).",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "invoiceId",
            "in": "path",
            "description": "ID of the invoice",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language for the invoice",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Invoice ZUGFeRD file",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Required field missing",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/prepaidBalance": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get a subscription's current prepaid balance.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidBalanceInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/prepaidSettings": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get a subscription's current prepaid settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepaidSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/prepaidTransactions": {
      "get": {
        "tags": [
          "Prepaid"
        ],
        "summary": "Get a subscription's prepaid transactions.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription to get transactions for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepaidTransactionInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/profile": {
      "put": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Updates a subscriptions profile.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription to be updated",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Profile data to update subscription with",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionProfile"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionProfile"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionProfile"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionProfile"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/settings": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Gets a subscription's global settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Updates a subscriptions global settings.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription to be updated",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Settings to update subscription with",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSettingsInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSettingsInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSettingsInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionSettingsInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSettingsInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSettingsInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionSettingsInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/stakeholderLicenses": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Gets a subscription's stakeholder licenses.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderLicenseDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderLicenseDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakeholderLicenseDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/tags": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Get all available user tags for a subscription.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription whose tags are requested.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Subscription tags are returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Subscription ID is missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to request this subscription's tags.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An error occurred while requesting subscription tags.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/teams": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get infos for all teams of the subscription.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/subscriptions/{subscriptionId}/userLicenses": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Gets a subscription's user licenses.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID of the subscription",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get infos of all teams",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Adds another team to the subscription of the user",
        "requestBody": {
          "description": "Information which has to be provided to create a new team.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeamInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeamInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeamInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeamInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Gets infos of a specific team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team that should be retrieved.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Teams"
        ],
        "summary": "Deletes a team from the subscription",
        "description": "It is only possible to delete empty teams or teams where all members are also members of other teams.\r\n                If a user would be without a team after deleting this team, the operation will not be allowed.\r\n                You need to assign these users to a different team first or delete them, to successfully delete that team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team which should be deleted",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/absences": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get existing user absences in this team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID for all absences to get",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Absences of user.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAbsenceDetails"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to perform this action in behave of this user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User absence was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/dutyReports": {
      "get": {
        "tags": [
          "Duties"
        ],
        "summary": "Get Information about downloadable reports",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of team you want to get the duty report file infos for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DutyAuditReportFileInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DutyAuditReportFileInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DutyAuditReportFileInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/dutyReports/{fileName}": {
      "get": {
        "tags": [
          "Duties"
        ],
        "summary": "Download duty report with a specific fileName",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of team you want to download the duty report for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "path",
            "description": "Filename of the csv to download.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/eventSources": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Gets event sources of a specific team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the sources should be retrieved for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventSourceEndpointInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventSourceEndpointInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventSourceEndpointInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/holidays": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get holidays for team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID you want to get holidays from",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns holidays for team",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              }
            }
          },
          "400": {
            "description": "Some required Parameter is missing or feature is not licensed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have the permissions to access this teams ressouces.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Teams"
        ],
        "summary": "Delete holidays",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID you want to delete holidays from",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "List of holidays you want to delete",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DateOnlyDetails"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DateOnlyDetails"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DateOnlyDetails"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DateOnlyDetails"
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Some required Parameter is missing or feature is not licensed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have the permissions to access this teams ressouces.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/holidays/repeating": {
      "put": {
        "tags": [
          "Teams"
        ],
        "summary": "Save repeating holidays for a team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team you want to save holidays for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "List of holidays you want to save",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns saved holidays",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              }
            }
          },
          "400": {
            "description": "Some required Parameter is missing or feature is not licensed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have the permissions to access this teams ressouces.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/holidays/years/{year}": {
      "put": {
        "tags": [
          "Teams"
        ],
        "summary": "Save holidays for a team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team you want to save holidays for",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "path",
            "description": "Year you want to save holidays for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "List of holidays you want to save",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MonthAndDayDetails"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns saved holidays",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              }
            }
          },
          "400": {
            "description": "Some required Parameter is missing or feature is not licensed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have the permissions to access this teams ressouces.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/holidays/years/{year}/copyFrom/{sourceTeamId}": {
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Copy holidays from one team to another",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team you want to copy holidays to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "path",
            "description": "Year you want to copy from",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sourceTeamId",
            "in": "path",
            "description": "Team ID of team you want to copy holidays from",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns saved holidays",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamHolidayDetails"
                }
              }
            }
          },
          "400": {
            "description": "Some required Parameter is missing or feature is not licensed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have the permissions to access this teams ressouces.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/image": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Gets image of a specified team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "The id of the team you want to get the image from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type of team image you want to retrieve. Defaults to Mobile.",
            "schema": {
              "$ref": "#/components/schemas/HeaderImageType"
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Optional parameter defining the wanted height of the picture that's retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "width",
            "in": "query",
            "description": "Optional parameter defining the wanted width of the picture that's retrieved.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a team image and additional meta information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamImageDetails"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to get an image for the specified team.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Either the team or the team image was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Uploaded a profile image for a specified team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID where to set the team image.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type of team image you want to upload. Defaults to Mobile.",
            "schema": {
              "$ref": "#/components/schemas/HeaderImageType"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The image was successfully uploaded."
          },
          "400": {
            "description": "Either a passed parameter was either empty/null or the request's multipart does not contain a file",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to upload an image for the specified team.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The team was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Teams"
        ],
        "summary": "Deletes current team image",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID you want to delete the team image from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type of team image you want to delete. Defaults to Mobile.",
            "schema": {
              "$ref": "#/components/schemas/HeaderImageType"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successfully deleted team image."
          },
          "400": {
            "description": "A passed parameter was either empty or invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to delete an image for the specified team.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The team was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/memberships": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get team memberships by team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team you want to access.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Team memberships of a team.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamMembershipDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamMembershipDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamMembershipDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some required parameters are missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access the team.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The requested team was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/memberships/{userId}": {
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Add user to a team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Id of team the user should be invited to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "Id of user you want to add to a team.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Additional information needed.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTeamMembershipRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTeamMembershipRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTeamMembershipRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTeamMembershipRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The team membership is returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMembershipDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMembershipDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMembershipDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters or authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request the access all required entities.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Teams"
        ],
        "summary": "Update user's team membership.",
        "description": "Updates the user's team membership. You can move the user to another team within the subscription\r\nand/or change the user's role.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team the user you want to update belongs to at the moment.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "User ID of user you want to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requesterUserId",
            "in": "query",
            "description": "User ID of user which you want to change role with. This must be provided when using an\r\napi key. This user must have role administrator (for setting administrator role) or team administrator (for setting\r\nrights.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "setUserOnDuty",
            "in": "query",
            "description": "Sets new duty status for user if user is moved to a different team. User is on duty be default.",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "requestBody": {
          "description": "Information about role id and target team id.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserMembership"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserMembership"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserMembership"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserMembership"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "User was successfully updated.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/V1.UserInfoV1"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1.UserInfoV1"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1.UserInfoV1"
                }
              }
            }
          },
          "204": {
            "description": "Request was canceled."
          },
          "400": {
            "description": "Required parameters or authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request the access all required entities.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Teams"
        ],
        "summary": "Removes a user or invitation from a team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the user should be deleted from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "ID of the user that should be deleted",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requesterUserId",
            "in": "query",
            "description": "User ID of user which will remove the other user.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Request was canceled.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters or authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request the access all required entities.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "200": {
            "description": "Success message"
          }
        }
      }
    },
    "/v3/teams/{teamId}/memberships/resendInviteMail": {
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Sends invite email again if an invite exists",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team with invited user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Information which user should be invited again.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserInvitationInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserInvitationInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserInvitationInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserInvitationInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/privacySettings": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get Team privacy settings for a team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns team privacy settings",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamPrivacySettingsDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamPrivacySettingsDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamPrivacySettingsDetails"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this team.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Team was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Teams"
        ],
        "summary": "Update privacy settings for a team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Settings to update",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TeamPrivacySettingsUpdate"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamPrivacySettingsUpdate"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamPrivacySettingsUpdate"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TeamPrivacySettingsUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns updated team privacy settings",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamPrivacySettingsDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamPrivacySettingsDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamPrivacySettingsDetails"
                }
              }
            }
          },
          "403": {
            "description": "You don't have access to this team.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Team was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/profile": {
      "put": {
        "tags": [
          "Teams"
        ],
        "summary": "Updates team profile of a team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team which should be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TeamProfile"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamProfile"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamProfile"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TeamProfile"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/schedules": {
      "post": {
        "tags": [
          "Duties"
        ],
        "summary": "Create/Update given duty schedule.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Id of the team the duty is to be assigned to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "information about the duty schedule to be created",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/schedules/{dutyId}": {
      "delete": {
        "tags": [
          "Duties"
        ],
        "summary": "Delete a specific duty.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the duty belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dutyId",
            "in": "path",
            "description": "ID of the duty to be deleted.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/schedules/{scheduleId}": {
      "get": {
        "tags": [
          "Duties"
        ],
        "summary": "Returns information of the duty schedule with the specified Id.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Id of the team the duty belongs to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "description": "Id of the requested duty schedule.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/schedules/deleteRange": {
      "post": {
        "tags": [
          "Duties"
        ],
        "summary": "Delete duty schedules in range",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID you want to delete",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Information with date range to delete from to",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRangeInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRangeInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRangeInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRangeInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/schedules/multiple": {
      "post": {
        "tags": [
          "Duties"
        ],
        "summary": "Save multiple schedules. It is possible to override existing schedules if you wish",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID to set",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "overrideExisting",
            "in": "query",
            "description": "Override or cut existing schedules if set to true.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "description": "List of schedules to save",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ScheduleInfo"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/setupProgress": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Gets setup progress of a specific team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the progress should be retrieved for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeamSetupProgress"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamSetupProgress"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamSetupProgress"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/signalingPatterns": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get all signaling patterns from team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team id of team you want to access",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns all signaling patterns from whole team.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignalingPatternDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignalingPatternDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignalingPatternDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameter missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Your don't have the permission to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Create a new signaling pattern",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID you want to create the pattern for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "New signaling pattern information",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns created signaling pattern",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingPatternDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingPatternDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingPatternDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameter missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Your don't have the permission to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/signalingPatterns/{patternId}": {
      "put": {
        "tags": [
          "Teams"
        ],
        "summary": "Update an existing signaling pattern",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID you want to create the pattern for",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "patternId",
            "in": "path",
            "description": "Pattern ID of pattern to update",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Signaling pattern information to update",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingPatternDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns updated signaling pattern",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingPatternDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingPatternDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingPatternDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required parameter missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Your don't have the permission to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Teams"
        ],
        "summary": "Delete a specific signaling pattern",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of team you want to access",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "patternId",
            "in": "path",
            "description": "Pattern ID for pattern you want to access",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deletion was successful."
          },
          "400": {
            "description": "Required parameter missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Your don't have the permission to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/signalingPatterns/timeSlots/validate": {
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Validate a time slots of a pattern against all existing time slots of other patterns",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "Team ID of signaling pattern",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "patternId",
            "in": "query",
            "description": "Signaling pattern ID of pattern you want to save time slots for. Can be null",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryIds",
            "in": "query",
            "description": "Category IDs of the pattern you want to validate. Can be null.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "requestBody": {
          "description": "Time slot you want to validate",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TimeSlotDetails"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TimeSlotDetails"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TimeSlotDetails"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TimeSlotDetails"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns validation result",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TimeSlotValidationResultDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TimeSlotValidationResultDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TimeSlotValidationResultDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameter missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You don't have the permission to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "409": {
            "description": "The time slots conflicted with existing time slots.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/signalingSettings": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Gets signaling settings of a specific team",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the settings should be retrieved for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingSettingsDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingSettingsDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingSettingsDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Sets signaling settings of a specific team.",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of the team the settings should be set for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Signaling settings to be set",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingSettingsDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingSettingsDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingSettingsDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SignalingSettingsDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingSettingsDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingSettingsDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalingSettingsDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/signlReports": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get information about downloadable signl reports",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of team you want to download reports from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignlAuditReportFileInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignlAuditReportFileInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignlAuditReportFileInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/{teamId}/signlReports/{fileName}": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Returns Signl Report",
        "parameters": [
          {
            "name": "teamId",
            "in": "path",
            "description": "ID of team you want to get the duty report file infos for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "path",
            "description": "File name of file you want to download.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/dutySettings": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get team duty settings for multiple teams",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Multi-Status",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamDutySettingsDetails, TeamDutySettingsError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamDutySettingsDetails, TeamDutySettingsError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamDutySettingsDetails, TeamDutySettingsError>"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/memberships": {
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Invite users to a team",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "description": "Language in which the user get the invitation email. If null language from inviter is used.",
            "schema": {
              "$ref": "#/components/schemas/SupportedLanguage"
            }
          }
        ],
        "requestBody": {
          "description": "Information about user to invite, the team id where to invite and inviter id.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UsersInvitationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersInvitationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersInvitationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UsersInvitationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "User invitation results are returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvitationResult"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvitationResult"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvitationResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required parameters or authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request the access all required entities.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "204": {
            "description": "Request was canceled."
          },
          "404": {
            "description": "Required entities could not be found in the database."
          }
        }
      }
    },
    "/v3/teams/memberships/{userId}": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get Team memberships from a user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "User ID you want to access.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Team memberships of a user.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamMembershipDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamMembershipDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamMembershipDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some required parameters are missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The requested user was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/public": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get public information about all teams in a subscription",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns public team information.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamPublicDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamPublicDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamPublicDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some parameter is invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/signalingSettings": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Get signaling settings of all teams or specific teams",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Multi-Status",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<SignalingSettingsDetails, SignalingSettingsError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<SignalingSettingsDetails, SignalingSettingsError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<SignalingSettingsDetails, SignalingSettingsError>"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/teams/users": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "Getting all users of specified teams",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "description": "Team ids to request. If empty, you get all users of all teams you have access to.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Returns an array of user infos and possible errors.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDetails, TeamUserError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDetails, TeamUserError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDetails, TeamUserError>"
                }
              }
            }
          },
          "404": {
            "description": "No teams found to get user information from.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected error happened.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/templates": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Get all accessible templates",
        "responses": {
          "200": {
            "description": "Templates to execute.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateViewDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateViewDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateViewDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Your input was not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource or action.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Templates"
        ],
        "summary": "Create a template",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Template created.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              }
            }
          },
          "400": {
            "description": "Your input was not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource or action.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/templates/{templateId}": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Get a template",
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "description": "Template ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Template to execute.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              }
            }
          },
          "400": {
            "description": "Your input was not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource or action.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Templates"
        ],
        "summary": "Update existing template",
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "description": "Template you want to update",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateEditDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns Updated template.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateViewDetails"
                }
              }
            }
          },
          "400": {
            "description": "Your input was not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource or action.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Templates"
        ],
        "summary": "Delete a template",
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "description": "Template ID to delete",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Template deleted."
          },
          "400": {
            "description": "Your input was not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource or action.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/templates/{templateId}/attachments/{attachmentId}": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Get a template attachment",
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "description": "The ID of the template the attachment belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "attachmentId",
            "in": "path",
            "description": "The ID of the attachment to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Attachment retrieved successfully.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Your input was not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource or action.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The template or attachment was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/templates/{templateId}/execute": {
      "post": {
        "tags": [
          "Templates"
        ],
        "summary": "Execute a template",
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "description": "Template you want to execute",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Execution infos",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateExecutionDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateExecutionDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateExecutionDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateExecutionDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully executed the template.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateExecutionResultDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateExecutionResultDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateExecutionResultDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Your input was not valid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this ressource or action.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get all Users",
        "description": "Returns a list of user objects with details such as their email address and duty information. Only users you have\r\naccess to will be returned.",
        "responses": {
          "200": {
            "description": "Get all users you have access to.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request the users with their information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userGuid}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Deletes user account.",
        "description": "Be careful! When you delete the last user in the subscription, the subscription including teams, integrations, historic data etc. will be deleted as well.",
        "parameters": [
          {
            "name": "userGuid",
            "in": "path",
            "description": "ID of the user to be deleted.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get User by Id",
        "description": "Returns a user object with details such as his email address and duty information.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "Identifier of the user to get. Use 'Me' to get information about the currently logged in user. This is not possible\r\nwith an api key.\r\nCan also be an email address of a user in the team or the unique id of an according user object.”",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "User could be successfully identified.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDetails"
                }
              }
            }
          },
          "400": {
            "description": "Required authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request that user's information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/absences": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get existing user absences",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The identifier of the user whose absence record is to be updated. This can be a user ID or an alias resolvable to a user ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Absences of user.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAbsenceDetails"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to perform this action in behave of this user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User absence was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Creates a new absence record for the specified user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The identifier of the user for whom the absence is being created. This value must not be null or empty.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The details of the absence to create. Must not be null. Contains information such as absence dates and type.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns created absence.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAbsenceDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to perform this action in behave of this user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/absences/{id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get existing user absence",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The identifier of the user whose absence record to get from. Can be the user id, the email or me.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "ID of the absence.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Absence of user.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAbsenceDetails"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to perform this action in behave of this user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User absence was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Updates an existing user absence record with the specified details.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The identifier of the user whose absence record is to be updated. This can be a user ID or an alias resolvable to a user ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The unique identifier of the absence record to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The updated absence details to apply. Cannot be null.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserAbsenceCreateOrUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated absence.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAbsenceDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to perform this action in behave of this user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User absence was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Deletes a specific absence record for the specified user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The identifier of the user whose absence record is to be deleted. This can be a user ID or an alias resolvable to a user ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The unique identifier of the absence record to delete. Cannot be null or whitespace.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successfully deleted absence."
          },
          "403": {
            "description": "You are not allowed to perform this action in behave of this user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/absences/setAll": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Set user absences. It will delete all absences you didn't send",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The identifier of the user whose absence record to get from. Can be the user id, the email or me.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Absences you want to set.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserAbsenceSetDetails"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserAbsenceSetDetails"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserAbsenceSetDetails"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserAbsenceSetDetails"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Absence of user.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAbsenceDetails"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to perform this action in behave of this user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User absence was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error happened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/changePassword": {
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Updates the password of a user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "User ID of user whose password should be changed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/checkPermissions": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Checks if a user has the provided permission.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID of the user to check permissions for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "List of permissions to check",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RequestedPermissions"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestedPermissions"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestedPermissions"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RequestedPermissions"
              }
            }
          }
        },
        "responses": {
          "207": {
            "description": "Multi-Status",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamPermissions, PermissionError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamPermissions, PermissionError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<TeamPermissions, PermissionError>"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/checkSubscriptionPermissions": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Checks if a user has the provided subscription permissions.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID of the user to check subscription permissions for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "List of subscription permissions to check",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns requested permissions."
          },
          "400": {
            "description": "Some Required parameters are missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to perform the these action on behalf of the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The provided user was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/contactAddresses/{addressId}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Delete a contact address from a user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "User ID of user to delete address from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressId",
            "in": "path",
            "description": "Id of contact address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deletion was successful."
          },
          "400": {
            "description": "Some Required parameters are missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to perform the these action on behalf of the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/dutyStatus": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get duty status by user Id",
        "description": "Returns a object with duty information.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "Identifier of the user to get. Use 'Me' to get information about the currently logged in user. This is not possible\r\nwith an api key.\r\nCan also be an email address of a user in the team or the unique id of an according user object.”",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "207": {
            "description": "Duties (partially) successfully loaded.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyError>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyError>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiTeamResult`2<UserDutyDetails, DutyError>"
                }
              }
            }
          },
          "400": {
            "description": "Required authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request that duty information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/image": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "height",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "width",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserImage"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserImage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserImage"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Uploaded a profile image for a specified user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "Id of the user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The image was successfully uploaded."
          },
          "400": {
            "description": "Either a passed parameter was either empty/null or the request's multipart does not contain a\r\nfile.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "User is not allowed to upload an image for the specified user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Either the user was not found or they aren't activated yet.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Delete personal user image",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "User id or me",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Image was deleted successfully."
          },
          "400": {
            "description": "User is not activated or some information was not provided.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You can't access this users resources.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/locale": {
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Update locale info (e.g. language, time zone) for user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "User ID, email or \"me\" for user you want to update",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "locale info of user. Time zone must be in IANA format.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserLocaleDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserLocaleDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserLocaleDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserLocaleDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated user",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserLocaleResponseDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLocaleResponseDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLocaleResponseDetails"
                }
              }
            }
          },
          "204": {
            "description": "The operation was canceled."
          },
          "400": {
            "description": "User ID was null or empty.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to update that user's information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An error occurred while requesting the resources.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/location": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Set location of an user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID of user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LocationInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LocationInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LocationInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/notificationProfiles": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get notification profiles for user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "Id of the user you want to get the notification profiles from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification profiles from user are returned",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationProfileDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationProfileDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationProfileDetails"
                  }
                }
              }
            }
          },
          "204": {
            "description": "The operation was canceled."
          },
          "400": {
            "description": "User ID was null or empty.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request that user's information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An error occurred while requesting the resources.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Set notification profiles for user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "Id of the user you want to get the notification profiles from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Profiles you want to save",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SetNotificationProfilesDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetNotificationProfilesDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetNotificationProfilesDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetNotificationProfilesDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Notification profiles from user are returned",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationProfileDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationProfileDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationProfileDetails"
                  }
                }
              }
            }
          },
          "204": {
            "description": "The operation was canceled."
          },
          "400": {
            "description": "User ID was null or empty.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request that user's information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An error occurred while requesting the resources.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/phoneNumbers": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Set the phone number of a user. If another phone number is saved, it will be overwritten",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "User ID of the user you want to add a phone number to",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Object with information about the new phone number",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NewPhoneNumber"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPhoneNumber"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPhoneNumber"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NewPhoneNumber"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Setting phone number was successful.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserPhoneNumberDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPhoneNumberDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPhoneNumberDetails"
                }
              }
            }
          },
          "400": {
            "description": "Some Required parameters are missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to perform the these action on behalf of the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "429": {
            "description": "You made to many requests to the "
          },
          "500": {
            "description": "Unknown error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Delete the phone number of a user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID of user",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deletion was successful."
          },
          "400": {
            "description": "No user ID was given.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to perform the these action on behalf of the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/phoneNumbers/validate": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Validates a previous created phone number for a user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "User Id of user you want to validate previous created phone number",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Information needed to validate phone number",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PhoneNumberValidation"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhoneNumberValidation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PhoneNumberValidation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PhoneNumberValidation"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Validation was successful."
          },
          "400": {
            "description": "Validation code was invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to perform the these action on behalf of the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User or phone number was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error occured.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/profile": {
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Updates user profile of an user",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID of user to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserProfile"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserProfile"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserProfile"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserProfile"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/V1.UserInfoV1"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1.UserInfoV1"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1.UserInfoV1"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/sendEventSourcesInfo": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Sends a mail to a specified user that contains information of all event sources of the user's team.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The user id.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "query",
            "description": "The team Id from which the user should get the endpoint information.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The event sources info mail was sent to the user."
          },
          "400": {
            "description": "A passed parameter was either empty or null.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The user was either not found, was not activated or they don't belong to a valid subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "The authorization failed."
          }
        }
      }
    },
    "/v3/users/{userId}/setupProgress": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets setup progress of a specific user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID of the user the progress should be retrieved for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserSetupProgress"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSetupProgress"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSetupProgress"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/tags": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get tags assigned to a user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID, email address, or \"me\" for the user whose tags are requested.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "User tags are returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required authentication information or user ID is missing.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to request that user's tags.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An error occurred while requesting user tags.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Replace all tags assigned to a user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID, email address, or \"me\" for the user whose tags are replaced.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The complete set of tag type and value pairs to assign.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserTagsUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserTagsUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserTagsUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserTagsUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "User tags were replaced.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTagDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The tag update is invalid.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to update that user's tags.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "User was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An error occurred while updating user tags.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/{userId}/teams": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get all teams the user is member of",
        "description": "Returns a list of team objects with details such as their name. Only teams the user\r\nis member of will be returned.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "User could be successfully identified.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Required authentication info could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Required entities could not be found in the database.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to request the information."
          }
        }
      }
    },
    "/v3/users/availableRoles": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Returns all available user roles of the subscription.",
        "responses": {
          "200": {
            "description": "Returns all available user roles.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRole"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRole"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRole"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You're not allowed to perform the these action on behalf of the user.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/users/overview": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Gets user overviews paged",
        "parameters": [
          {
            "name": "maxResults",
            "in": "query",
            "description": "Defines the limit of retrieved user overview records per request. 1 to 100 are allowed per request.\r\nNumber of records could be less if filtered but at least 1.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "requestBody": {
          "description": "The filter defines which records are supposed to be retrieved.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UserOverviewsFilterRequestInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserOverviewsFilterRequestInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserOverviewsFilterRequestInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserOverviewsFilterRequestInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns a paged result with found user overview records and continuation token if more records are in the\r\ndatabase.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<UserOverview>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<UserOverview>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<UserOverview>"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Authorization failed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "204": {
            "description": "There were no records found for the specified filter."
          }
        }
      }
    },
    "/v3/users/overview/{userId}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets a single user overview row by user ID",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "ID of the user to get record for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a user overview record.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<UserOverview>"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<UserOverview>"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResultsPublicV2`1<UserOverview>"
                }
              }
            }
          },
          "400": {
            "description": "Required parameters could not be found in the request/claims.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Authorization failed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal general error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "204": {
            "description": "There was no record found for the specified ID."
          }
        }
      }
    },
    "/v3/webhooks": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Get Webhooks",
        "description": "Returns a collection of defined outbound webhooks in the system.",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful and response body contains information about all outbound webhooks in the subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WebhookInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WebhookInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WebhookInfo"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The subscription does not have any outbound webhooks.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Create Webhook",
        "description": "Creates a new outbound webhook that will be notified when certain events occur.",
        "requestBody": {
          "description": "Json object that contains the external URL of the webhook.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Action was successful and response contains the id of the newly created webhook.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Either the webhook object or a necessary property was invalid or empty.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/webhooks/{webhookId}": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Get Webhook by Id",
        "description": "Returns information of the webhook specified by the passed id.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Id of the outbound webhook to be retrieved.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful and response body contains information about the requested webhook.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "The passed webhook id was either empty or null.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The webhook was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Update Webhook by Id",
        "description": "Updates the specified webhook.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Id of the outbound webhook to be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Json object containing the updated URL of the webhook.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Update was successful and response body contains the updated webhook details.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or null.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Webhook with specified id was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete Webhook by Id",
        "description": "Deletes the specified webhook so that it will no longer be notified.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Id of the outbound webhook that will be deleted.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook was successfully deleted."
          },
          "400": {
            "description": "The passed webhook id was invalid or empty.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Webhook with specified id was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/webhooks/{webhookId}/disable": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Ability to enable a webHook.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Webhook ID for webhook which should be disabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Disable was successful and response body contains the webhook details.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or null.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Webhook with specified id was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/webhooks/{webhookId}/enable": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Ability to disable a webHook.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Webhook ID for webhook which should be enabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/workflows": {
      "get": {
        "tags": [
          "Workflows"
        ],
        "summary": "Get workflows",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "description": "Team ID you want to filter for",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "eventSourceId",
            "in": "query",
            "description": "Event Source ID you want to filter with",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns workflows you have access to.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkflowDetails"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkflowDetails"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkflowDetails"
                  }
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Workflows"
        ],
        "summary": "Create a new workflow",
        "requestBody": {
          "description": "Information for creating a new workflow",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowCreateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowCreateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowCreateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowCreateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Newly created workflow is returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "400": {
            "description": ""
          },
          "404": {
            "description": "Workflow not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/v3/workflows/{workflowId}": {
      "get": {
        "tags": [
          "Workflows"
        ],
        "summary": "Get a workflow",
        "parameters": [
          {
            "name": "workflowId",
            "in": "path",
            "description": "ID of workflow",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns workflow.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Workflow not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Workflows"
        ],
        "summary": "Update an existing workflow",
        "parameters": [
          {
            "name": "workflowId",
            "in": "path",
            "description": "ID of workflow",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Information for creating a new workflow",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowUpdateDetails"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowUpdateDetails"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowUpdateDetails"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowUpdateDetails"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated workflow is returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDetails"
                }
              }
            }
          },
          "403": {
            "description": "You are not allowed to access this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "400": {
            "description": ""
          },
          "404": {
            "description": "Workflow or event source not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Workflows"
        ],
        "summary": "Delete a workflow",
        "parameters": [
          {
            "name": "workflowId",
            "in": "path",
            "description": "ID of event source",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Workflow is deleted."
          },
          "400": {
            "description": "Request was missing required information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "403": {
            "description": "Your are not allowed to delete this resource.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Workflow not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/webhooks": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Get Webhooks",
        "description": "Returns a collection of defined outbound webhooks in the system.",
        "parameters": [
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful and response body contains information about all outbound webhooks in the subscription.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WebhookInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WebhookInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WebhookInfo"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The subscription does not have any outbound webhooks.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Create Webhook",
        "description": "Creates a new outbound webhook that will be notified when certain events occur.",
        "requestBody": {
          "description": "Json object that contains the external URL of the webhook.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Action was successful and response contains the id of the newly created webhook.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Either the webhook object or a necessary property was invalid or empty.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/webhooks/{webhookId}": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Get Webhook by Id",
        "description": "Returns information of the webhook specified by the passed id.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Id of the outbound webhook to be retrieved.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful and response body contains information about the requested webhook.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "The passed webhook id was either empty or null.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "The webhook was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Update Webhook by Id",
        "description": "Updates the specified webhook.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Id of the outbound webhook to be updated.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Json object containing the updated URL of the webhook.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookBaseInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Update was successful and response body contains the updated webhook details.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or null.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Webhook with specified id was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete Webhook by Id",
        "description": "Deletes the specified webhook so that it will no longer be notified.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Id of the outbound webhook that will be deleted.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook was successfully deleted."
          },
          "400": {
            "description": "The passed webhook id was invalid or empty.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Webhook with specified id was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/webhooks/{webhookId}/disable": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Ability to enable a webHook.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Webhook ID for webhook which should be disabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Disable was successful and response body contains the webhook details.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "A passed parameter was either empty or null.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Webhook with specified id was not found.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal has occured. The response body may contain more information.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    },
    "/webhooks/{webhookId}/enable": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Ability to disable a webHook.",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "description": "Webhook ID for webhook which should be enabled.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContent"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AIForwardPlanningDetails": {
        "required": [
          "operationId",
          "operationStatus",
          "request",
          "result",
          "teamId"
        ],
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "operationId": {
            "type": "string",
            "nullable": true
          },
          "operationStatus": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsStatusCode"
          },
          "request": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsRequest"
          },
          "result": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsResult"
          },
          "feedback": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedback"
          }
        },
        "additionalProperties": false
      },
      "AIForwardPlanningDetailsFeedback": {
        "required": [
          "creationTime",
          "creator"
        ],
        "type": "object",
        "properties": {
          "creator": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackCreator"
          },
          "creationTime": {
            "type": "string",
            "format": "date-time"
          },
          "rating": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackRatings"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIForwardPlanningDetailsFeedbackCreator": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackCreatorTypes"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIForwardPlanningDetailsFeedbackCreatorTypes": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "System",
          "User",
          "ApiKey"
        ]
      },
      "AIForwardPlanningDetailsFeedbackRatings": {
        "enum": [
          0,
          5,
          -5
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Neutral",
          "Good",
          "Bad"
        ]
      },
      "AIForwardPlanningDetailsFeedbackRequest": {
        "type": "object",
        "properties": {
          "creationTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "rating": {
            "$ref": "#/components/schemas/AIForwardPlanningDetailsFeedbackRatings"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIForwardPlanningDetailsRequest": {
        "required": [
          "initiatedAt",
          "initiatorId",
          "initiatorName",
          "initiatorType",
          "plannableUserIds",
          "sourceRangeEnd",
          "sourceRangeStart",
          "targetDate",
          "targetPeriodInWeeks"
        ],
        "type": "object",
        "properties": {
          "initiatorId": {
            "type": "string",
            "nullable": true
          },
          "initiatorName": {
            "type": "string",
            "nullable": true
          },
          "initiatorType": {
            "type": "integer",
            "format": "int32"
          },
          "initiatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "sourceRangeStart": {
            "type": "string",
            "format": "date-time"
          },
          "sourceRangeEnd": {
            "type": "string",
            "format": "date-time"
          },
          "targetDate": {
            "type": "string",
            "format": "date"
          },
          "targetPeriodInWeeks": {
            "type": "integer",
            "format": "int32"
          },
          "plannableUserIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIForwardPlanningDetailsResult": {
        "type": "object",
        "properties": {
          "aiStartTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "aiDuration": {
            "type": "string",
            "format": "date-span",
            "nullable": true
          },
          "resultCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "errorDetails": {
            "type": "string",
            "nullable": true
          },
          "aiDecision": {
            "type": "string",
            "nullable": true
          },
          "aiShiftAssignments": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shiftAssignmentsUpdated": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIForwardPlanningDetailsStatusCode": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Running",
          "Completed",
          "Failed"
        ]
      },
      "AIForwardPlanningRequestDetails": {
        "required": [
          "plannableUserIds",
          "sourceRangeEnd",
          "sourceRangeStart",
          "targetDate",
          "targetPeriodInWeeks"
        ],
        "type": "object",
        "properties": {
          "sourceRangeStart": {
            "type": "string",
            "format": "date-time"
          },
          "sourceRangeEnd": {
            "type": "string",
            "format": "date-time"
          },
          "targetDate": {
            "type": "string",
            "format": "date"
          },
          "targetPeriodInWeeks": {
            "type": "integer",
            "format": "int32"
          },
          "plannableUserIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIForwardPlanningTeamStatusDetails": {
        "required": [
          "operationIsRunning"
        ],
        "type": "object",
        "properties": {
          "operationIsRunning": {
            "type": "boolean"
          },
          "operationId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIInitiatorDetails": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AIInitiatorTypes"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIInitiatorTypes": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "System",
          "User",
          "ApiKey"
        ]
      },
      "AIServiceResultDetails`1<SignlSummaryDetails>": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/SignlSummaryDetails"
          },
          "serviceStatus": {
            "$ref": "#/components/schemas/AIServiceStatusDetails"
          }
        },
        "additionalProperties": false
      },
      "AIServiceStatusCodes": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "Ok",
          "AIServiceUnavailable",
          "AITooManyRequests",
          "S4TooManyRequests"
        ]
      },
      "AIServiceStatusDetails": {
        "type": "object",
        "properties": {
          "statusMessage": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "$ref": "#/components/schemas/AIServiceStatusCodes"
          },
          "resetAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActionProgressDetails": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/ActionTypeDetails"
          },
          "isRunning": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ActionTypeDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "AckAll",
          "CloseAll"
        ]
      },
      "AddTeamMembershipRequest": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "string",
            "nullable": true
          },
          "setUserOnDuty": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Argument": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CategoryAugmentationDetails": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/CategoryAugmentationType"
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Parameter"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CategoryAugmentationType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Parameter",
          "Subject",
          "Text",
          "Location"
        ]
      },
      "CategoryDetails": {
        "required": [
          "color",
          "imageName",
          "keywordMatching",
          "keywords",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "options": {
            "$ref": "#/components/schemas/CategoryOptionsDetails"
          },
          "name": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "imageName": {
            "type": "string"
          },
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "keywordsExcluded": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "keywordMatching": {
            "$ref": "#/components/schemas/KeywordMatchingType"
          },
          "augmentations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryAugmentationDetails"
            },
            "nullable": true
          },
          "enrichments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryEnrichmentDetails"
            },
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CategoryEnrichmentDetails": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/CategoryEnrichmentType"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CategoryEnrichmentType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Parameter",
          "Hyperlink"
        ]
      },
      "CategoryError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CategoryMetrics": {
        "type": "object",
        "properties": {
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "last24h": {
            "type": "integer",
            "format": "int64"
          },
          "lastAlert": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "subscriberCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CategoryOptionsDetails": {
        "enum": [
          0,
          1,
          2,
          4,
          8
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Hidden",
          "DenyDelete",
          "HideOptOut",
          "HideKeywords"
        ]
      },
      "CategoryPublicDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "imageName": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CategorySubscriptionInfo": {
        "required": [
          "status",
          "userId"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CategorySubscriptionStatus"
          },
          "userId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CategorySubscriptionStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Subscribed",
          "Muted",
          "Hidden"
        ]
      },
      "CategoryUpdateInfo": {
        "required": [
          "color",
          "imageName",
          "keywordMatching",
          "keywords",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "options": {
            "$ref": "#/components/schemas/CategoryOptionsDetails"
          },
          "name": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "imageName": {
            "type": "string"
          },
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "keywordsExcluded": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "keywordMatching": {
            "$ref": "#/components/schemas/KeywordMatchingType"
          },
          "augmentations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryAugmentationDetails"
            },
            "nullable": true
          },
          "enrichments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryEnrichmentDetails"
            },
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ChangeSignlStatusFilterInfo": {
        "type": "object",
        "properties": {
          "maxDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "minDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "scope": {
            "$ref": "#/components/schemas/StatusChangeScope"
          },
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "textFilter": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChangeSignlStatusMultipleInfo": {
        "required": [
          "signlIds",
          "userId"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string"
          },
          "signlIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ChangeSignlStatusRequestInfo": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ChannelPriceInfo": {
        "type": "object",
        "properties": {
          "sms": {
            "type": "integer",
            "format": "int32"
          },
          "voicePerMinute": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ChannelType": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Push",
          "Email",
          "Bot",
          "Voice",
          "SMS"
        ]
      },
      "ChannelTypes": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Push",
          "Email",
          "Bot",
          "Voice",
          "SMS"
        ]
      },
      "ContactAddressInfo": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "nullable": true
          },
          "channel": {
            "$ref": "#/components/schemas/ChannelTypes"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "device": {
            "$ref": "#/components/schemas/Device"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "options": {
            "type": "integer",
            "format": "int32"
          },
          "userId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DateOnlyDetails": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "format": "int32"
          },
          "month": {
            "$ref": "#/components/schemas/Month"
          },
          "day": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DayOfWeek": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ]
      },
      "DeleteRangeInfo": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Device": {
        "type": "object",
        "properties": {
          "appVersion": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "osVersion": {
            "type": "string",
            "nullable": true
          },
          "ringtone": {
            "type": "string",
            "nullable": true
          },
          "ringtoneDisabled": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/DeviceType"
          }
        },
        "additionalProperties": false
      },
      "DeviceType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Android",
          "iOS"
        ]
      },
      "DistributionBySkillsDetails": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "sourceTargets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DistributionBySkillsTargetDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DistributionBySkillsTargetDetails": {
        "required": [
          "teamId"
        ],
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DistributionListDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "memberCount": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DistributionListMemberDetails": {
        "required": [
          "id",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DistributionListMemberTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "DistributionListMemberTypeDetails": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "User",
          "Stakeholder"
        ]
      },
      "DistributionListMembershipCreation": {
        "required": [
          "members"
        ],
        "type": "object",
        "properties": {
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DistributionListMemberDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DistributionListMembershipDeletion": {
        "required": [
          "memberIds"
        ],
        "type": "object",
        "properties": {
          "memberIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DistributionListMembershipDetails": {
        "required": [
          "distributionListId",
          "memberId",
          "memberType"
        ],
        "type": "object",
        "properties": {
          "distributionListId": {
            "type": "string",
            "nullable": true
          },
          "memberId": {
            "type": "string",
            "nullable": true
          },
          "memberType": {
            "$ref": "#/components/schemas/DistributionListMemberTypeDetails"
          },
          "joinedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DistributionListProfileDetails": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DistributionListPublicDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DuplicateEventMatchDetails": {
        "type": "object",
        "properties": {
          "titleEquals": {
            "type": "boolean"
          },
          "textEquals": {
            "type": "boolean"
          },
          "externalIdEquals": {
            "type": "boolean"
          },
          "parametersEqual": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DuplicateSuppressionDetails": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "period": {
            "type": "string",
            "format": "date-span"
          },
          "eventMatch": {
            "$ref": "#/components/schemas/DuplicateEventMatchDetails"
          }
        },
        "additionalProperties": false
      },
      "DutyAuditReportFileInfo": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "fileSizeInBytes": {
            "type": "integer",
            "format": "int64"
          },
          "month": {
            "type": "integer",
            "format": "int32"
          },
          "year": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DutyChangeArgsRequest": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "minLength": 1,
            "type": "string"
          },
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DutyChangeError": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DutyError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DutyModes": {
        "enum": [
          0,
          1,
          100
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Primary",
          "Manager"
        ]
      },
      "DutySummaryInfo": {
        "type": "object",
        "properties": {
          "dutyEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dutyId": {
            "type": "string",
            "nullable": true
          },
          "dutyStart": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorDetailsResponseContent": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ErrorResponseContent": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "requestId": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetailsResponseContent"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EscalateSignlRequestInfo": {
        "required": [
          "targetTeamId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "targetTeamId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventCreatorFilterDetails": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "userCreatedFilterMode": {
            "$ref": "#/components/schemas/UserCreatedEventsFilterMode"
          }
        },
        "additionalProperties": false
      },
      "EventDetails": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "createdByUserName": {
            "type": "string",
            "nullable": true
          },
          "eventStatus": {
            "$ref": "#/components/schemas/EventStatusCodes"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventParameterDetails"
            },
            "nullable": true
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventTargetDetails"
            },
            "nullable": true
          },
          "processingLog": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventProcessingResultDetails"
            },
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          },
          "signlDestination": {
            "$ref": "#/components/schemas/SignlDestinationDetails"
          },
          "signlId": {
            "type": "string",
            "nullable": true
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "acknowledgedSignls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "closedSignls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "creationTime": {
            "type": "string",
            "format": "date-time"
          },
          "createdByUserId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceType": {
            "$ref": "#/components/schemas/EventSourceTypes"
          },
          "eventSourceGroupId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceTeamId": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "severity": {
            "$ref": "#/components/schemas/EventSeverity"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventFilterDetails": {
        "type": "object",
        "properties": {
          "signlDestinations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlDestinationDetails"
            },
            "nullable": true
          },
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "eventStatusCode": {
            "$ref": "#/components/schemas/EventStatusCodes"
          },
          "maxCreationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "minCreationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "modifiedSince": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "textToSearch": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "eventCreatorFilter": {
            "$ref": "#/components/schemas/EventCreatorFilterDetails"
          }
        },
        "additionalProperties": false
      },
      "EventInfo": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "signlDestination": {
            "$ref": "#/components/schemas/SignlDestinationDetails"
          },
          "signlId": {
            "type": "string",
            "nullable": true
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "acknowledgedSignls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "closedSignls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "creationTime": {
            "type": "string",
            "format": "date-time"
          },
          "createdByUserId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceType": {
            "$ref": "#/components/schemas/EventSourceTypes"
          },
          "eventSourceGroupId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceTeamId": {
            "type": "string",
            "nullable": true
          },
          "eventStatus": {
            "$ref": "#/components/schemas/EventStatusCodes"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "severity": {
            "$ref": "#/components/schemas/EventSeverity"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventParameterDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/EventParameterOptions"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/EventParameterTypes"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventParameterInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/EventParameterTypes"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventParameterOptions": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "ExcludeFromCategorization"
        ]
      },
      "EventParameterTypes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          100
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Object",
          "Array",
          "Constructor",
          "Property",
          "Comment",
          "Integer",
          "Float",
          "String",
          "Boolean",
          "Null",
          "Undefined",
          "Date",
          "Raw",
          "Bytes",
          "Guid",
          "Uri",
          "TimeSpan",
          "Html"
        ]
      },
      "EventProcessingOperationsDetails": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "GeneralEventProcessing",
          "WaitForOccurrences",
          "DuplicateSuppression",
          "WaitForAutoClose",
          "DistributionBySkills"
        ]
      },
      "EventProcessingResultCodesDetails": {
        "enum": [
          0,
          1,
          10,
          11,
          1000,
          2000,
          3000,
          3001,
          3002,
          4000,
          4001,
          4002,
          4003,
          4004
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "OK",
          "GeneralError",
          "FeatureNotLicensed",
          "FeatureNotEnabled",
          "NotEnoughOccurrences",
          "DuplicateSuppressed",
          "WaitingForAutoClose",
          "DelayedEventAutoClosed",
          "DelayedEventContinued",
          "DistributeBySkillsGeneralError",
          "DistributeBySkillsNoSourceTeams",
          "DistributeBySkillsNoMatchingTeams",
          "DistributeBySkillsAllMatchingTeamsHaveZeroRating",
          "DistributeBySkillsUseFallbackTeams"
        ]
      },
      "EventProcessingResultDetails": {
        "required": [
          "operation",
          "resultCode",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "workflowId": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "operation": {
            "$ref": "#/components/schemas/EventProcessingOperationsDetails"
          },
          "resultCode": {
            "$ref": "#/components/schemas/EventProcessingResultCodesDetails"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "parameters": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventSeverity": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Low",
          "Major",
          "Critical"
        ]
      },
      "EventSourceCreateDetails": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/EventSourceCreateTypes"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "disabled": {
            "type": "boolean"
          },
          "language": {
            "$ref": "#/components/schemas/SupportedLanguage"
          },
          "subType": {
            "type": "string",
            "nullable": true
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventSourceTargetDetails"
            },
            "nullable": true
          },
          "sharedWithTeams": {
            "$ref": "#/components/schemas/EventSourceSharedWithTeamsDetails"
          },
          "options": {
            "$ref": "#/components/schemas/EventSourceOptions"
          }
        },
        "additionalProperties": false
      },
      "EventSourceCreateTypes": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Email",
          "Webhook"
        ]
      },
      "EventSourceEndpointInfo": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/EventSourceTypes"
          },
          "subType": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "disabled": {
            "type": "boolean"
          },
          "lastEvent": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/EventSourceOptions"
          },
          "sharedWithTeams": {
            "$ref": "#/components/schemas/EventSourceSharedWithTeamsDetails"
          }
        },
        "additionalProperties": false
      },
      "EventSourceOptions": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "DisableContentParsing"
        ]
      },
      "EventSourceSharedWithTeamsDetails": {
        "type": "object",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/EventSourceSharedWithTeamsScope"
          },
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventSourceSharedWithTeamsScope": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "SpecificTeams",
          "AllInSubscription"
        ]
      },
      "EventSourceTargetDetails": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/EventSourceTargetType"
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventSourceTargetType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Team",
          "Feed"
        ]
      },
      "EventSourceTypes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Email",
          "WebHook",
          "Script",
          "System",
          "Manual",
          "Voice",
          "Api"
        ]
      },
      "EventStatusCodes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          21,
          22,
          23,
          30,
          1000
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Processing",
          "Signled",
          "Filtered",
          "Resolved",
          "Discarded",
          "Acknowledged",
          "Suppressed",
          "NoRuleApplied",
          "MultipleTargetStatus",
          "WaitingForAutoClose",
          "NotEnoughOccurrences",
          "DuplicateSuppressed",
          "NoTarget",
          "Error"
        ]
      },
      "EventTargetDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "eventId": {
            "type": "string",
            "nullable": true
          },
          "distributionId": {
            "type": "string",
            "nullable": true
          },
          "destination": {
            "$ref": "#/components/schemas/SignlDestinationDetails"
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "signlId": {
            "type": "string",
            "nullable": true
          },
          "creationTime": {
            "type": "string",
            "format": "date-time"
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "eventTargetStatus": {
            "$ref": "#/components/schemas/EventTargetStatusCode"
          }
        },
        "additionalProperties": false
      },
      "EventTargetStatusCode": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          21,
          22,
          23,
          30,
          1000
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Processing",
          "Signled",
          "Filtered",
          "Resolved",
          "Discarded",
          "Acknowledged",
          "Suppressed",
          "WaitingForAutoClose",
          "NotEnoughOccurrences",
          "DuplicateSuppressed",
          "NoTarget",
          "Error"
        ]
      },
      "HeaderImageType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Mobile",
          "Web"
        ]
      },
      "HolidayDetails": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "month": {
            "$ref": "#/components/schemas/Month"
          },
          "day": {
            "type": "integer",
            "format": "int32"
          },
          "repeating": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "HolidayTimeSlotConfigurationDetails": {
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/HolidayTimeSlotMode"
          },
          "timeSlot": {
            "$ref": "#/components/schemas/HolidayTimeSlotDetails"
          }
        },
        "additionalProperties": false
      },
      "HolidayTimeSlotDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date-span"
          },
          "end": {
            "type": "string",
            "format": "date-span"
          }
        },
        "additionalProperties": false
      },
      "HolidayTimeSlotMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "AsConfigured",
          "NoShift",
          "Override"
        ]
      },
      "InAppSignalingModes": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Suppressed",
          "Full"
        ]
      },
      "InventoryScriptInfo": {
        "type": "object",
        "properties": {
          "config": {
            "nullable": true
          },
          "eventPattern": {
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/ScriptDescriptionData"
          },
          "localizationDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScriptLocalizationDetail"
            },
            "nullable": true
          },
          "scriptId": {
            "type": "string",
            "nullable": true
          },
          "scriptName": {
            "type": "string",
            "nullable": true
          },
          "visibility": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvitationResult": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "invitedUser": {
            "$ref": "#/components/schemas/InvitedUserInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InvitedUserInfo": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "mailAddress": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          }
        },
        "additionalProperties": false
      },
      "InvoiceEn16931Details": {
        "type": "object",
        "properties": {
          "invoiceId": {
            "type": "string",
            "nullable": true
          },
          "xml": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordMatchingType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Any",
          "All"
        ]
      },
      "LocationInfo": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogContextDetails": {
        "required": [
          "subscriptionId",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "team": {
            "$ref": "#/components/schemas/LogContextTeamDetails"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "LogContextTeamDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "timeZoneId": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntityAddressDetails": {
        "required": [
          "channel"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "channel": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "device": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntityApiKeyDetails": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "expires": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntityDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntityIntegrationDetails": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntityRemoteActionDetails": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntityShiftAssignmentDetails": {
        "required": [
          "tier"
        ],
        "type": "object",
        "properties": {
          "tier": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntityShiftIntervalDetails": {
        "required": [
          "end",
          "id",
          "start"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "LogEntityWithTypeDetails": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntryAIChatDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity",
              "language"
            ],
            "type": "object",
            "properties": {
              "language": {
                "type": "string",
                "nullable": true
              },
              "alertDestination": {
                "$ref": "#/components/schemas/LogEntityWithTypeDetails"
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryAddressDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "address",
              "user"
            ],
            "type": "object",
            "properties": {
              "user": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "address": {
                "$ref": "#/components/schemas/LogEntityAddressDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryAlertAssignDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity",
              "parent"
            ],
            "type": "object",
            "properties": {
              "destination": {
                "$ref": "#/components/schemas/LogEntityWithTypeDetails"
              },
              "parent": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryAlertDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity"
            ],
            "type": "object",
            "properties": {
              "destination": {
                "$ref": "#/components/schemas/LogEntityWithTypeDetails"
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryApiKeyDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "apiKey"
            ],
            "type": "object",
            "properties": {
              "apiKey": {
                "$ref": "#/components/schemas/LogEntityApiKeyDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryAssignDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity",
              "parent"
            ],
            "type": "object",
            "properties": {
              "parent": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryAssignWithRangeDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "end",
              "entity",
              "parent",
              "start"
            ],
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              },
              "parent": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryCategories": {
        "enum": [
          0,
          100,
          200,
          320,
          340,
          500,
          600,
          700,
          800,
          900,
          1000,
          1100,
          1200,
          1300,
          1400,
          1500,
          1600,
          2000,
          2100,
          3000,
          4000,
          4100,
          10000,
          11000,
          12000
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "User",
          "Team",
          "AlertingPattern",
          "Category",
          "ApiKey",
          "Integration",
          "Workflows",
          "ExternalWebhook",
          "RemoteAction",
          "Schedule",
          "Shift",
          "InboundNumber",
          "Template",
          "Scim",
          "Feed",
          "Stakeholder",
          "Alert",
          "AI",
          "Retention",
          "InventoryScript",
          "RemoteActionDefinition",
          "Subscription",
          "Branch",
          "Reporting"
        ]
      },
      "LogEntryDetails": {
        "required": [
          "category",
          "context",
          "id",
          "initiator",
          "message",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "context": {
            "$ref": "#/components/schemas/LogContextDetails"
          },
          "type": {
            "$ref": "#/components/schemas/LogEntryTypes"
          },
          "category": {
            "$ref": "#/components/schemas/LogEntryCategories"
          },
          "initiator": {
            "$ref": "#/components/schemas/LogInitiatorDetails"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogEntryIntegrationDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "integration"
            ],
            "type": "object",
            "properties": {
              "integration": {
                "$ref": "#/components/schemas/LogEntityIntegrationDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryRemoteActionDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "remoteAction"
            ],
            "type": "object",
            "properties": {
              "remoteAction": {
                "$ref": "#/components/schemas/LogEntityRemoteActionDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryRenameDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity",
              "oldName"
            ],
            "type": "object",
            "properties": {
              "oldName": {
                "type": "string",
                "nullable": true
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryScheduleDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "scheduleEnd",
              "scheduleId",
              "scheduleStart",
              "shift",
              "user"
            ],
            "type": "object",
            "properties": {
              "scheduleId": {
                "type": "string",
                "nullable": true
              },
              "user": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "scheduleStart": {
                "type": "string",
                "format": "date-time"
              },
              "scheduleEnd": {
                "type": "string",
                "format": "date-time"
              },
              "shift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryScimSummaryDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "userCalsAdditionalRequired",
              "users"
            ],
            "type": "object",
            "properties": {
              "users": {
                "$ref": "#/components/schemas/LogEntryScimSummarySyncItemDetails"
              },
              "teams": {
                "$ref": "#/components/schemas/LogEntryScimSummarySyncItemDetails"
              },
              "memberships": {
                "$ref": "#/components/schemas/LogEntryScimSummarySyncItemDetails"
              },
              "stakeholders": {
                "$ref": "#/components/schemas/LogEntryScimSummarySyncItemDetails"
              },
              "userCalsAdditionalRequired": {
                "type": "integer",
                "format": "int32"
              },
              "stakeholderCalsAdditionalRequired": {
                "type": "integer",
                "format": "int32"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryScimSummarySyncItemDetails": {
        "required": [
          "added",
          "deleted",
          "duration",
          "errors",
          "updated"
        ],
        "type": "object",
        "properties": {
          "added": {
            "type": "integer",
            "format": "int64"
          },
          "updated": {
            "type": "integer",
            "format": "int64"
          },
          "deleted": {
            "type": "integer",
            "format": "int64"
          },
          "errors": {
            "type": "integer",
            "format": "int64"
          },
          "duration": {
            "type": "string",
            "format": "date-span"
          }
        },
        "additionalProperties": false
      },
      "LogEntryShiftUserDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "assignment",
              "interval",
              "shift",
              "user"
            ],
            "type": "object",
            "properties": {
              "user": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "shift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "interval": {
                "$ref": "#/components/schemas/LogEntityShiftIntervalDetails"
              },
              "assignment": {
                "$ref": "#/components/schemas/LogEntityShiftAssignmentDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryShiftUserMoveDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "sourceAssignment",
              "sourceInterval",
              "sourceShift",
              "targetAssignment",
              "targetInterval",
              "targetShift",
              "user"
            ],
            "type": "object",
            "properties": {
              "user": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "sourceShift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "sourceInterval": {
                "$ref": "#/components/schemas/LogEntityShiftIntervalDetails"
              },
              "sourceAssignment": {
                "$ref": "#/components/schemas/LogEntityShiftAssignmentDetails"
              },
              "targetShift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "targetInterval": {
                "$ref": "#/components/schemas/LogEntityShiftIntervalDetails"
              },
              "targetAssignment": {
                "$ref": "#/components/schemas/LogEntityShiftAssignmentDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryShiftUserReplaceDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "interval",
              "replacedUser",
              "replacementUser",
              "shift"
            ],
            "type": "object",
            "properties": {
              "replacedUser": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "replacementUser": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "shift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "interval": {
                "$ref": "#/components/schemas/LogEntityShiftIntervalDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryShiftUserSwapDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "sourceInterval",
              "sourceShift",
              "sourceUser",
              "targetInterval",
              "targetShift",
              "targetUser"
            ],
            "type": "object",
            "properties": {
              "sourceUser": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "sourceShift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "sourceInterval": {
                "$ref": "#/components/schemas/LogEntityShiftIntervalDetails"
              },
              "targetUser": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "targetShift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "targetInterval": {
                "$ref": "#/components/schemas/LogEntityShiftIntervalDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryStandInDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "scheduleId",
              "shift",
              "standInEnd",
              "standInId",
              "standInStart",
              "standInUser",
              "user"
            ],
            "type": "object",
            "properties": {
              "scheduleId": {
                "type": "string",
                "nullable": true
              },
              "standInId": {
                "type": "string",
                "nullable": true
              },
              "user": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "standInUser": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "standInStart": {
                "type": "string",
                "format": "date-time"
              },
              "standInEnd": {
                "type": "string",
                "format": "date-time"
              },
              "shift": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryTypes": {
        "enum": [
          0,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          130,
          131,
          132,
          133,
          134,
          140,
          141,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          300,
          301,
          302,
          303,
          304,
          320,
          321,
          322,
          324,
          340,
          341,
          342,
          343,
          350,
          351,
          352,
          400,
          401,
          402,
          403,
          410,
          411,
          500,
          501,
          503,
          504,
          505,
          506,
          507,
          600,
          601,
          602,
          603,
          604,
          605,
          606,
          607,
          608,
          700,
          701,
          702,
          703,
          704,
          705,
          706,
          707,
          708,
          709,
          710,
          800,
          801,
          802,
          803,
          804,
          805,
          806,
          807,
          900,
          901,
          902,
          903,
          904,
          905,
          906,
          907,
          1000,
          1001,
          1002,
          1003,
          1004,
          1005,
          1006,
          1007,
          1008,
          1100,
          1101,
          1102,
          1103,
          1104,
          1105,
          1106,
          1107,
          1108,
          1109,
          1200,
          1201,
          1202,
          1203,
          1204,
          1205,
          1300,
          1301,
          1302,
          1303,
          1400,
          1401,
          1402,
          1403,
          1450,
          1500,
          1501,
          1502,
          1507,
          1508,
          1550,
          1551,
          1560,
          1561,
          1570,
          1600,
          1601,
          1602,
          1603,
          1604,
          1610,
          1611,
          1612,
          1613,
          1614,
          1615,
          1619,
          1620,
          1630,
          1631,
          1634,
          2000,
          2001,
          2002,
          2003,
          2004,
          2005,
          2006,
          2007,
          2010,
          2011,
          2012,
          2013,
          2020,
          2021,
          2022,
          2023,
          2024,
          2025,
          2100,
          3000,
          3001,
          3002,
          3003,
          3004,
          3005,
          3006,
          4000,
          4001,
          4002,
          4003,
          4100,
          4101,
          4102,
          4103,
          4104,
          4105,
          10000,
          10001,
          10002,
          10003,
          10004,
          10005,
          10006,
          10007,
          10008,
          10009,
          10014,
          10015,
          10016,
          10017,
          10018,
          10020,
          10021,
          11000,
          11001,
          11003,
          12000,
          100010,
          100011,
          100012,
          100013
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "UserInvited",
          "UserReInvited",
          "UserInviteDeleted",
          "UserInviteExpired",
          "UserActivated",
          "UserActivationExpired",
          "UserMigratedToExternal",
          "UserCreated",
          "UserDeleted",
          "UserRenamed",
          "UserImageUploaded",
          "UserImageDeleted",
          "RemoteActionPinUpdated",
          "UserPunchedIn",
          "UserPunchedInAsManager",
          "UserPunchedOut",
          "UserEnabled",
          "UserDisabled",
          "UserMfaEnrollmentStarted",
          "UserMfaEnabled",
          "UserMfaDisabled",
          "AddressUpdated",
          "AddressDeleted",
          "PhoneAddressValidated",
          "PhoneAddressValidationExpired",
          "PushAddressExpired",
          "UserAbsenceCreatedOrUpdated",
          "UserAbsenceDeleted",
          "TeamCreated",
          "TeamDeleted",
          "TeamRenamed",
          "TeamImageUploaded",
          "TeamImageDeleted",
          "TeamAlertSettingsUpdated",
          "TeamAlertSettingsDeleted",
          "TeamAlertsDeleted",
          "TeamEventsDeleted",
          "TeamHolidaysDeleted",
          "TeamAlertAuditReportsDeleted",
          "TeamUserAssigned",
          "TeamUserRemoved",
          "TeamUserRoleSpecified",
          "TeamUserRoleChanged",
          "TeamPrivacyUpdated",
          "AlertingPatternCreated",
          "AlertingPatternDeleted",
          "AlertingPatternUpdated",
          "AlertingPatternsDeleted",
          "CategoryCreated",
          "CategoryDeleted",
          "CategoryUpdated",
          "CategoriesDeleted",
          "CategoryAssigned",
          "CategoryAssignedMuted",
          "CategoryAssignedHidden",
          "SharedCalendarUserKeyCreated",
          "SharedCalendarUserKeyDeleted",
          "SharedCalendarTeamKeyCreated",
          "SharedCalendarTeamKeyDeleted",
          "SettingUpdated",
          "SettingDeleted",
          "ApiKeyCreated",
          "ApiKeyDeleted",
          "ApiKeyUpdated",
          "ApiKeyRenamed",
          "ApiKeyEnabled",
          "ApiKeyDisabled",
          "ApiKeyExpired",
          "IntegrationCreated",
          "IntegrationDeleted",
          "IntegrationUpdated",
          "IntegrationRenamed",
          "IntegrationEnabled",
          "IntegrationDisabled",
          "IntegrationSetToGlobal",
          "IntegrationTeamAssigned",
          "IntegrationSecretUpdated",
          "WorkflowCreated",
          "WorkflowDeleted",
          "WorkflowUpdated",
          "WorkflowRenamed",
          "WorkflowEnabled",
          "WorkflowDisabled",
          "WorkflowTeamAssigned",
          "WorkflowTeamRemoved",
          "WorkflowEventSourceChanged",
          "WorkflowDistributionListAssigned",
          "WorkflowDistributionListRemoved",
          "ExternalWebhookCreated",
          "ExternalWebhookDeleted",
          "ExternalWebhookUpdated",
          "ExternalWebhookRenamed",
          "ExternalWebhookEnabled",
          "ExternalWebhookDisabled",
          "ExternalWebhookSetToGlobal",
          "ExternalWebhookTeamAssigned",
          "RemoteActionCreated",
          "RemoteActionDeleted",
          "RemoteActionUpdated",
          "RemoteActionRenamed",
          "RemoteActionEnabled",
          "RemoteActionDisabled",
          "RemoteActionSetToGlobal",
          "RemoteActionTeamAssigned",
          "ScheduleCreated",
          "ScheduleDeleted",
          "ScheduleUpdated",
          "SchedulesDeleted",
          "SchedulesCreatedInRange",
          "SchedulesDeletedInRange",
          "StandInCreated",
          "StandInUpdated",
          "StandInDeleted",
          "ShiftCreated",
          "ShiftDeleted",
          "ShiftUpdated",
          "ShiftRenamed",
          "ShiftUserAssigned",
          "ShiftUserRemoved",
          "ShiftUserReplaced",
          "ShiftUserMoved",
          "ShiftUserSwap",
          "ShiftUsersRemovedFromFutureIntervals",
          "InboundNumberCreated",
          "InboundNumberUpdated",
          "InboundNumberDeleted",
          "InboundNumberChangeStarted",
          "InboundNumberChangeCompleted",
          "InboundNumberChangeCancelled",
          "TemplateCreated",
          "TemplateUpdated",
          "TemplateDeleted",
          "TemplateExecuted",
          "ScimEnabled",
          "ScimDisabled",
          "ScimApiKeyCreated",
          "ScimSettingsChanged",
          "ScimSynchronizationSummary",
          "DistributionListCreated",
          "DistributionListDeleted",
          "DistributionListRenamed",
          "DistributionListAlertsDeleted",
          "DistributionListEventsDeleted",
          "DistributionListUserAssigned",
          "DistributionListUserRemoved",
          "DistributionListStakeholderAssigned",
          "DistributionListStakeholderRemoved",
          "DistributionListAlertSettingsUpdated",
          "StakeholderInvited",
          "StakeholderReInvited",
          "StakeholderInviteDeleted",
          "StakeholderInviteExpired",
          "StakeholderInviteActivated",
          "StakeholderCreated",
          "StakeholderDeleted",
          "StakeholderRenamed",
          "StakeholderUpdated",
          "StakeholderPasswordChanged",
          "StakeholderPasswordReset",
          "StakeholderEnabled",
          "StakeholderDisabled",
          "StakeholderAddressUpdated",
          "StakeholderAddressDeleted",
          "StakeholderPushAddressExpired",
          "AlertCreated",
          "AlertAcknowledged",
          "AlertUnAcknowledged",
          "AlertClosed",
          "AlertUnClosed",
          "AlertAnnotated",
          "AlertEscalatedToTeam",
          "AlertEscalatedToManagers",
          "AlertsAllAcknowledged",
          "AlertsAllClosed",
          "AlertAcknowledgedByEvent",
          "AlertClosedByEvent",
          "EventWaitingForAutoClose",
          "EventAutoClosed",
          "EventNotEnoughOccurrences",
          "EventDuplicateSupressed",
          "EventProcessingContinued",
          "EventTeamAssignedByAI",
          "AlertSummaryCreated",
          "ExpiredAuditsDeleted",
          "ExpiredAlertsDeleted",
          "ExpiredEventsDeleted",
          "ExpiredSchedulesDeleted",
          "ExpiredDutyReportsDeleted",
          "ExpiredAlertAuditsDeleted",
          "ExpiredAlertReportsDeleted",
          "InventoryScriptCreated",
          "InventoryScriptDeleted",
          "InventoryScriptUpdated",
          "InventoryScriptsLoaded",
          "RemoteActionDefinitionCreated",
          "RemoteActionDefinitionDeleted",
          "RemoteActionDefinitionUpdated",
          "RemoteActionDefinitionEnabled",
          "RemoteActionDefinitionDisabled",
          "RemoteActionDefinitionInvalid",
          "SubscriptionCreated",
          "SubscriptionDeleted",
          "SubscriptionUpdated",
          "SubscriptionRenamed",
          "SubscriptionSettingsUpdated",
          "SubscriptionUserLicensesUpdated",
          "SubscriptionVoiceLicensesUpdated",
          "SubscriptionAutoTopUpEnabled",
          "SubscriptionAutoTopUpDisabled",
          "InactiveSubscriptionDeleted",
          "SubscriptionSupportPinGenerated",
          "SubscriptionImageUploaded",
          "SubscriptionImageDeleted",
          "SubscriptionImageSettingsChanged",
          "SubscriptionCancelled",
          "LastAdministratorChanged",
          "PrepaidPackagePurchased",
          "BranchCreated",
          "BranchSubscriptionCreated",
          "BranchManagerDeleted",
          "ReportingSettingsUpdated",
          "SubscriptionOwnerChanged",
          "SubscriptionRemovedFromBranch",
          "SubscriptionBoundToManager",
          "SubscriptionBoundToReferrer"
        ]
      },
      "LogEntryUserInviteDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "address"
            ],
            "type": "object",
            "properties": {
              "address": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryUserMigrateDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "authProvider",
              "user"
            ],
            "type": "object",
            "properties": {
              "user": {
                "$ref": "#/components/schemas/LogEntityDetails"
              },
              "authProvider": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryUserRoleChangedDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity",
              "newRole",
              "oldRole"
            ],
            "type": "object",
            "properties": {
              "newRole": {
                "type": "string",
                "nullable": true
              },
              "oldRole": {
                "type": "string",
                "nullable": true
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryWithCountAndRangeDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "count"
            ],
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              },
              "count": {
                "type": "integer",
                "format": "int64"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryWithCountDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "count"
            ],
            "type": "object",
            "properties": {
              "count": {
                "type": "integer",
                "format": "int64"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryWithEntityAndCountDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "count",
              "entity"
            ],
            "type": "object",
            "properties": {
              "count": {
                "type": "integer",
                "format": "int64"
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryWithEntityAndTimestampDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity",
              "timestamp"
            ],
            "type": "object",
            "properties": {
              "timestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryWithEntityDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity"
            ],
            "type": "object",
            "properties": {
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogEntryWorkflowDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LogEntryDetails"
          },
          {
            "required": [
              "entity",
              "integration"
            ],
            "type": "object",
            "properties": {
              "integration": {
                "$ref": "#/components/schemas/LogEntityIntegrationDetails"
              },
              "entity": {
                "$ref": "#/components/schemas/LogEntityDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "LogInitiatorDetails": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/LogInitiatorTypes"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogInitiatorTypes": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "System",
          "User",
          "ApiKey"
        ]
      },
      "Month": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unset",
          "January",
          "February",
          "March",
          "April",
          "May",
          "June",
          "July",
          "August",
          "September",
          "October",
          "November",
          "December"
        ]
      },
      "MonthAndDayDetails": {
        "type": "object",
        "properties": {
          "month": {
            "$ref": "#/components/schemas/Month"
          },
          "day": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<CategoryDetails, CategoryError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryDetails"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<EventSourceEndpointInfo, V2.EventSourceEndpointError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventSourceEndpointInfo"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/V2.EventSourceEndpointError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<SignalingSettingsDetails, SignalingSettingsError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignalingSettingsDetails"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignalingSettingsError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<SignlCountsDetails, SignlReportError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlCountsDetails"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlReportError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<TeamDutySettingsDetails, TeamDutySettingsError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamDutySettingsDetails"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamDutySettingsError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<TeamDutySummaryInfo, TeamDutySummaryError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamDutySummaryInfo"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamDutySummaryError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<TeamPermissions, PermissionError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamPermissions"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<UserDetails, TeamUserError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDetails"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamUserError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<UserDutyDetails, DutyChangeError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDutyDetails"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DutyChangeError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiTeamResult`2<UserDutyDetails, DutyError>": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDutyDetails"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DutyError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NewPhoneNumber": {
        "type": "object",
        "properties": {
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "sendValidationCode": {
            "type": "boolean"
          },
          "sendValidationCodeVia": {
            "$ref": "#/components/schemas/PhoneNumberValidationChannels"
          }
        },
        "additionalProperties": false
      },
      "NewTeamInfo": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "shortDescription": {
            "type": "string",
            "nullable": true
          },
          "timezone": {
            "type": "string",
            "nullable": true
          },
          "createWebhookEndpoint": {
            "type": "boolean"
          },
          "createEmailEndpoint": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NotificationProfileDetails": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "channel": {
            "$ref": "#/components/schemas/ChannelType"
          },
          "delayInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "persistent": {
            "type": "boolean"
          },
          "options": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NotifyOnSignlStatusChanges": {
        "enum": [
          0,
          1,
          2,
          4,
          8
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Off",
          "Acknowledged",
          "Closed",
          "UnAcknowledged",
          "UnClosed"
        ]
      },
      "Operation": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/ParameterOperationType"
          },
          "arguments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Argument"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OverlappingTimeSlotsDetails": {
        "type": "object",
        "properties": {
          "refId": {
            "type": "string",
            "nullable": true
          },
          "timeSlots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeSlotDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PagedResultsPublicV2`1<EventInfo>": {
        "type": "object",
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventInfo"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PagedResultsPublicV2`1<LogEntryDetails>": {
        "type": "object",
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/LogEntryDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryWithEntityDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryWithEntityAndTimestampDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryRenameDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryAssignDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryAssignWithRangeDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryUserRoleChangedDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryAddressDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryWithCountDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryWithCountAndRangeDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryWithEntityAndCountDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryUserMigrateDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryUserInviteDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryApiKeyDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryIntegrationDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryRemoteActionDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryWorkflowDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryScheduleDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryStandInDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryShiftUserDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryShiftUserReplaceDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryShiftUserMoveDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryShiftUserSwapDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryAIChatDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryScimSummaryDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryAlertDetails"
                },
                {
                  "$ref": "#/components/schemas/LogEntryAlertAssignDetails"
                }
              ]
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PagedResultsPublicV2`1<RemoteJob>": {
        "type": "object",
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteJob"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PagedResultsPublicV2`1<SignlInfo>": {
        "type": "object",
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlInfo"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PagedResultsPublicV2`1<StakeholderOverviewDetails>": {
        "type": "object",
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StakeholderOverviewDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PagedResultsPublicV2`1<UserOverview>": {
        "type": "object",
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserOverview"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Parameter": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "operation": {
            "$ref": "#/components/schemas/Operation"
          },
          "defaultValue": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ParameterOperationType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "ExtractLength",
          "ExtractBetween",
          "ExtractBefore",
          "ExtractAfter"
        ]
      },
      "PermissionError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PersistentNotificationModes": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Off",
          "Summary"
        ]
      },
      "PhoneAddressValidationStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "NotValidated",
          "Validated",
          "CountryNotSupported"
        ]
      },
      "PhoneContactAddressInfo": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ContactAddressInfo"
          },
          {
            "type": "object",
            "properties": {
              "countryCode": {
                "type": "string",
                "nullable": true
              },
              "validationStatus": {
                "$ref": "#/components/schemas/PhoneAddressValidationStatus"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "PhoneNumberValidation": {
        "type": "object",
        "properties": {
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "validationCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhoneNumberValidationChannels": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "SMS",
          "Voice"
        ]
      },
      "PhoneNumberValidationStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "NotValidated",
          "Validated",
          "CountryNotSupported"
        ]
      },
      "PrepaidBalanceInfo": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "integer",
            "format": "int32"
          },
          "latestTopUp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pendingTransactions": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PrepaidSettingsInfo": {
        "type": "object",
        "properties": {
          "topUpAmount": {
            "type": "integer",
            "format": "int32"
          },
          "topUpEnabled": {
            "type": "boolean"
          },
          "topUpLimit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PrepaidTransactionInfo": {
        "type": "object",
        "properties": {
          "autoTopUpId": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "modified": {
            "type": "string",
            "format": "date-time"
          },
          "packageCode": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "integer",
            "format": "int32"
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RaiseSignlRequestInfo": {
        "required": [
          "teamId",
          "text",
          "title"
        ],
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlAttachmentDetails"
            },
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "flags": {
            "$ref": "#/components/schemas/SignlFlags"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventParameterInfo"
            },
            "nullable": true
          },
          "severity": {
            "$ref": "#/components/schemas/SignlSeverities"
          },
          "teamId": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "RemoteActionCreateOrUpdateDetails": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteActionParameterCreateOrUpdateDetails"
            },
            "nullable": true
          },
          "access": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteActionTeamAccessDetails"
            },
            "nullable": true
          },
          "definitionId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoteActionDefinitionDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/RemoteActionTypes"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "statusCode": {
            "$ref": "#/components/schemas/RemoteActionDefinitionStatus"
          },
          "statusDescription": {
            "type": "string",
            "nullable": true
          },
          "executorService": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteActionDefinitionParameterDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoteActionDefinitionParameterDetails": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "defaultValue": {
            "type": "string",
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/RemoteActionParameterOptions"
          },
          "controlType": {
            "$ref": "#/components/schemas/RemoteActionParameterControlTypes"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RemoteActionDefinitionStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Disabled",
          "Enabled",
          "Invalid"
        ]
      },
      "RemoteActionDetails": {
        "type": "object",
        "properties": {
          "definitionVersion": {
            "type": "integer",
            "format": "int32"
          },
          "executorService": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteActionParameter"
            },
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/RemoteActionTypes"
          },
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "$ref": "#/components/schemas/RemoteActionStatus"
          },
          "statusDescription": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "enabled": {
            "type": "boolean"
          },
          "access": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteActionTeamAccessDetails"
            },
            "nullable": true
          },
          "currentPrincipal": {
            "$ref": "#/components/schemas/RemoteActionPrincipalAccessDetails"
          }
        },
        "additionalProperties": false
      },
      "RemoteActionInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/RemoteActionTypes"
          },
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "$ref": "#/components/schemas/RemoteActionStatus"
          },
          "statusDescription": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "enabled": {
            "type": "boolean"
          },
          "access": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteActionTeamAccessDetails"
            },
            "nullable": true
          },
          "currentPrincipal": {
            "$ref": "#/components/schemas/RemoteActionPrincipalAccessDetails"
          }
        },
        "additionalProperties": false
      },
      "RemoteActionParameter": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/RemoteActionParameterOptions"
          },
          "controlType": {
            "$ref": "#/components/schemas/RemoteActionParameterControlTypes"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RemoteActionParameterControlTypes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Text",
          "MultiLineText",
          "Integer",
          "Double",
          "Bool",
          "Time",
          "Date",
          "TimeZone",
          "Password",
          "PIN",
          "SingleChoice",
          "MultiChoice",
          "Suggestion"
        ]
      },
      "RemoteActionParameterCreateOrUpdateDetails": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoteActionParameterOptions": {
        "enum": [
          0,
          1,
          2,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Required",
          "Locked",
          "Encrypted"
        ]
      },
      "RemoteActionPrincipalAccessDetails": {
        "type": "object",
        "properties": {
          "canEdit": {
            "type": "boolean"
          },
          "canExecute": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RemoteActionStatus": {
        "enum": [
          0,
          1,
          2,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Disabled",
          "Enabled",
          "Invalid",
          "ProviderDisabled"
        ]
      },
      "RemoteActionTeamAccessDetails": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "canEdit": {
            "type": "boolean"
          },
          "canExecute": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RemoteActionTypes": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "Script",
          "EnterpriseAlert",
          "Webhook"
        ]
      },
      "RemoteJob": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "actionId": {
            "type": "string",
            "nullable": true
          },
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "creatorInfo": {
            "$ref": "#/components/schemas/RemoteJobCreatorDetails"
          },
          "type": {
            "$ref": "#/components/schemas/RemoteActionTypes"
          },
          "options": {
            "$ref": "#/components/schemas/RemoteJobOptions"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteJobParameter"
            },
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "$ref": "#/components/schemas/RemoteJobStatusCodes"
          },
          "statusDescription": {
            "type": "string",
            "nullable": true
          },
          "statusDetails": {
            "type": "string",
            "nullable": true
          },
          "lastUpdate": {
            "type": "string",
            "format": "date-time"
          },
          "activatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoteJobCreate": {
        "type": "object",
        "properties": {
          "options": {
            "$ref": "#/components/schemas/RemoteJobOptions"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteJobParameter"
            },
            "nullable": true
          },
          "remoteActionPin": {
            "type": "string",
            "nullable": true
          },
          "alertId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoteJobCreatorDetails": {
        "type": "object",
        "properties": {
          "referenceId": {
            "type": "string",
            "nullable": true
          },
          "referenceName": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/RemoteJobCreatorType"
          }
        },
        "additionalProperties": false
      },
      "RemoteJobCreatorType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "User",
          "ApiKey",
          "System"
        ]
      },
      "RemoteJobJournalPagedFilter": {
        "type": "object",
        "properties": {
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "statusCodes": {
            "$ref": "#/components/schemas/RemoteJobStatusCodes"
          },
          "actionId": {
            "type": "string",
            "nullable": true
          },
          "maxCreationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "minCreationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "modifiedSince": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoteJobOptions": {
        "enum": [
          0
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None"
        ]
      },
      "RemoteJobParameter": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoteJobStatusCodes": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Pending",
          "Ready",
          "Running",
          "Executed",
          "Error"
        ]
      },
      "ReportAiSummaryDetails": {
        "required": [
          "language",
          "summary"
        ],
        "type": "object",
        "properties": {
          "summary": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportAnnotationTypeDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Text",
          "Image"
        ]
      },
      "ReportCategoryDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportCreatorTypeDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "User",
          "ApiKey"
        ]
      },
      "ReportEntityDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportEscalationDetails": {
        "required": [
          "order",
          "team"
        ],
        "type": "object",
        "properties": {
          "escalationType": {
            "$ref": "#/components/schemas/SignlEscalationType"
          },
          "escalationStatus": {
            "$ref": "#/components/schemas/SignlEscalationStatus"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "team": {
            "$ref": "#/components/schemas/ReportTeamDetails"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ReportEventSourceDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportHistoryDetails": {
        "required": [
          "acknowledgedAt",
          "acknowledgements",
          "closedAt",
          "closedBy",
          "createdAt",
          "creator",
          "firstResponder"
        ],
        "type": "object",
        "properties": {
          "creator": {
            "$ref": "#/components/schemas/ReportUserDetails"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "acknowledgedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acknowledgements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportUserDetails"
            },
            "nullable": true
          },
          "responseTime": {
            "type": "string",
            "format": "date-span",
            "nullable": true
          },
          "closedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "resolutionTime": {
            "type": "string",
            "format": "date-span",
            "nullable": true
          },
          "closedBy": {
            "$ref": "#/components/schemas/ReportUserDetails"
          },
          "firstResponder": {
            "$ref": "#/components/schemas/ReportUserDetails"
          }
        },
        "additionalProperties": false
      },
      "ReportRemoteActionDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportSignlDetails": {
        "required": [
          "signlId",
          "text",
          "title"
        ],
        "type": "object",
        "properties": {
          "signlId": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportTeamDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportTimelineAnnotationDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ReportTimelineDetails"
          },
          {
            "type": "object",
            "properties": {
              "annotationType": {
                "$ref": "#/components/schemas/ReportAnnotationTypeDetails"
              },
              "text": {
                "type": "string",
                "nullable": true
              },
              "user": {
                "$ref": "#/components/schemas/ReportUserDetails"
              },
              "team": {
                "$ref": "#/components/schemas/ReportTeamDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "ReportTimelineDetails": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "$ref": "#/components/schemas/ReportTimelineTypeDetails"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ReportTimelineNotificationDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ReportTimelineDetails"
          },
          {
            "type": "object",
            "properties": {
              "user": {
                "$ref": "#/components/schemas/ReportUserDetails"
              },
              "channel": {
                "$ref": "#/components/schemas/SignlNotificationChannelType"
              },
              "destinationName": {
                "type": "string",
                "nullable": true
              },
              "tierId": {
                "type": "integer",
                "format": "int32"
              },
              "userStatus": {
                "$ref": "#/components/schemas/SignlNotificationUserStatus"
              },
              "messageStatus": {
                "$ref": "#/components/schemas/SignlNotificationMessageStatus"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "ReportTimelineRemoteActionDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ReportTimelineDetails"
          },
          {
            "type": "object",
            "properties": {
              "remoteAction": {
                "$ref": "#/components/schemas/ReportRemoteActionDetails"
              },
              "creator": {
                "$ref": "#/components/schemas/ReportEntityDetails"
              },
              "creatorType": {
                "$ref": "#/components/schemas/ReportCreatorTypeDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "ReportTimelineTeamDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ReportTimelineDetails"
          },
          {
            "type": "object",
            "properties": {
              "team": {
                "$ref": "#/components/schemas/ReportTeamDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "ReportTimelineTypeDetails": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "SignlOpened",
          "SignlAcknowledged",
          "Annotation",
          "SignlBreached",
          "SignlOverdue",
          "SignlClosed",
          "SignlAcknowledgeUndo",
          "SignlCloseUndo",
          "SignlEscalationRequested",
          "SignlEscalatedToManager",
          "SignlEscalatedToTeam",
          "SignlEscalatedFromTeam",
          "EscalationFailedTeamNotValid",
          "EscalationFailedTeamPrivate",
          "EscalationFailedEventFiltered",
          "EscalationFailedEventSuppressed",
          "EscalationExpedited",
          "RemoteJobExecuted",
          "SignlNotification",
          "NoOneOnDuty"
        ]
      },
      "ReportTimelineUserDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ReportTimelineDetails"
          },
          {
            "type": "object",
            "properties": {
              "user": {
                "$ref": "#/components/schemas/ReportUserDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "ReportUserDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RequestedPermissions": {
        "type": "object",
        "properties": {
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScheduleDetails": {
        "type": "object",
        "properties": {
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "integer",
            "format": "int32"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "standInInfo": {
            "$ref": "#/components/schemas/StandInInfo"
          },
          "shiftInfo": {
            "$ref": "#/components/schemas/ShiftInfo"
          },
          "tierId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ScheduleInfo": {
        "type": "object",
        "properties": {
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "integer",
            "format": "int32"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchedulesFilter": {
        "type": "object",
        "properties": {
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "minDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "maxDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScimSettingsDetails": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "apiKey": {
            "type": "string",
            "nullable": true
          },
          "syncScimGroups": {
            "type": "boolean"
          },
          "allowContactAddressChanges": {
            "type": "boolean"
          },
          "scimEndpoint": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScimSettingsUpdateDetails": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "syncScimGroups": {
            "type": "boolean"
          },
          "allowContactAddressChanges": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScimStatusCodesDetails": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          10,
          11,
          20
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "SynchronisationRunning",
          "OK",
          "GeneralError",
          "DataAccessError",
          "Canceled",
          "ConfigurationUpdateRunning",
          "FeatureNotLicensed",
          "FeatureNotEnabled",
          "UserLicenseLimit"
        ]
      },
      "ScimStatusDetails": {
        "type": "object",
        "properties": {
          "lastRunStarted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastRunFinished": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "currentRunStarted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "statusCode": {
            "$ref": "#/components/schemas/ScimStatusCodesDetails"
          },
          "additionalUserLicensesRequired": {
            "type": "integer",
            "format": "int32"
          },
          "additionalStakeholderLicensesRequired": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ScriptDescriptionData": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "shortDescription": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "scriptType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptInstanceCreateInfo": {
        "type": "object",
        "properties": {
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "scriptId": {
            "type": "string",
            "nullable": true
          },
          "scriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptDescription": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "sharedTeams": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "config": {
            "nullable": true
          },
          "sharedWithTeams": {
            "$ref": "#/components/schemas/ScriptInstanceSharedWithTeamsDetails"
          }
        },
        "additionalProperties": false
      },
      "ScriptInstanceCustomUserData": {
        "type": "object",
        "properties": {
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "scriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptInstanceDetails": {
        "type": "object",
        "properties": {
          "config": {
            "nullable": true
          },
          "webhookUrl": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "sharedWithTeams": {
            "$ref": "#/components/schemas/ScriptInstanceSharedWithTeamsDetails"
          },
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "scriptId": {
            "type": "string",
            "nullable": true
          },
          "scriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptDescription": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "eventPattern": {
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "runtimeInformation": {
            "$ref": "#/components/schemas/ScriptInstanceInfoRuntimeInformationModel"
          }
        },
        "additionalProperties": false
      },
      "ScriptInstanceInfo": {
        "type": "object",
        "properties": {
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "scriptId": {
            "type": "string",
            "nullable": true
          },
          "scriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptDescription": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "eventPattern": {
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "runtimeInformation": {
            "$ref": "#/components/schemas/ScriptInstanceInfoRuntimeInformationModel"
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptInstanceInfoRuntimeInformationModel": {
        "type": "object",
        "properties": {
          "runtimeStatus": {
            "$ref": "#/components/schemas/ScriptInstanceInfoRuntimeStatus"
          },
          "runtimeStatusMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptInstanceInfoRuntimeStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          -1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "Starting",
          "OK",
          "Stopping",
          "Stopped",
          "Error"
        ]
      },
      "ScriptInstanceSharedWithTeamsDetails": {
        "type": "object",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/ScriptInstanceSharedWithTeamsScope"
          },
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptInstanceSharedWithTeamsScope": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "SpecificTeams",
          "AllInSubscription"
        ]
      },
      "ScriptInstanceUpdateInfo": {
        "type": "object",
        "properties": {
          "customScriptName": {
            "type": "string",
            "nullable": true
          },
          "customScriptDescription": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "config": {
            "nullable": true
          },
          "sharedWithTeams": {
            "$ref": "#/components/schemas/ScriptInstanceSharedWithTeamsDetails"
          }
        },
        "additionalProperties": false
      },
      "ScriptLocalizationDetail": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/ScriptDescriptionData"
          },
          "config": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetNotificationProfilesDetails": {
        "type": "object",
        "properties": {
          "profiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationProfileDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetSignlFeedbackInfo": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "$ref": "#/components/schemas/SignlFeedbackReasons"
          }
        },
        "additionalProperties": false
      },
      "SetSignlSummaryFeedbackDetails": {
        "required": [
          "rating"
        ],
        "type": "object",
        "properties": {
          "rating": {
            "$ref": "#/components/schemas/SignlSummaryRatings"
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentCreateDetails": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "description": "Use start date if no interval id is available otherwise use interval id. The user is automatically added to the correct timeslots.",
            "format": "date",
            "nullable": true
          },
          "intervalId": {
            "type": "string",
            "description": "Use interval id if available.",
            "nullable": true
          },
          "tierId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentCreateResultDetails": {
        "required": [
          "end",
          "intervalId",
          "start",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "intervalId": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          },
          "tierId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentDetails": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "tierId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentMoveDetails": {
        "required": [
          "sourceIntervalId",
          "sourceShiftId",
          "targetShiftId",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "sourceIntervalId": {
            "type": "string",
            "nullable": true
          },
          "sourceShiftId": {
            "type": "string",
            "nullable": true
          },
          "targetIntervalId": {
            "type": "string",
            "nullable": true
          },
          "targetShiftId": {
            "type": "string",
            "nullable": true
          },
          "targetIntervalStart": {
            "type": "string",
            "description": "Use target interval start date if no target interval id is available otherwise use target interval id. The user is automatically added to the correct timeslots.",
            "format": "date",
            "nullable": true
          },
          "targetTierId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentReplaceDetails": {
        "required": [
          "intervalId",
          "userIdToReplace",
          "userIdToSet"
        ],
        "type": "object",
        "properties": {
          "intervalId": {
            "type": "string",
            "nullable": true
          },
          "userIdToReplace": {
            "type": "string",
            "nullable": true
          },
          "userIdToSet": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentSetDetails": {
        "required": [
          "assignments"
        ],
        "type": "object",
        "properties": {
          "assignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftAssignmentDetails"
            },
            "nullable": true
          },
          "start": {
            "type": "string",
            "description": "Use start date if no interval id is available otherwise use interval id. The user is automatically added to the correct timeslots.",
            "format": "date",
            "nullable": true
          },
          "intervalId": {
            "type": "string",
            "description": "Use interval id if available.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentSetResultDetails": {
        "required": [
          "assignments",
          "end",
          "intervalId",
          "start"
        ],
        "type": "object",
        "properties": {
          "assignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftAssignmentDetails"
            },
            "nullable": true
          },
          "intervalId": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "ShiftAssignmentSwapDetails": {
        "required": [
          "sourceIntervalId",
          "sourceShiftId",
          "sourceUserId",
          "targetIntervalId",
          "targetShiftId",
          "targetUserId"
        ],
        "type": "object",
        "properties": {
          "sourceUserId": {
            "type": "string",
            "nullable": true
          },
          "sourceIntervalId": {
            "type": "string",
            "nullable": true
          },
          "sourceShiftId": {
            "type": "string",
            "nullable": true
          },
          "targetIntervalId": {
            "type": "string",
            "nullable": true
          },
          "targetShiftId": {
            "type": "string",
            "nullable": true
          },
          "targetUserId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftChangeDetails": {
        "type": "object",
        "properties": {
          "interval": {
            "$ref": "#/components/schemas/ShiftChangeInterval"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "time": {
            "type": "string",
            "format": "date-span",
            "nullable": true
          },
          "holidayMode": {
            "$ref": "#/components/schemas/ShiftChangeHolidayMode"
          },
          "holidayChangeTime": {
            "type": "string",
            "format": "date-span",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftChangeHolidayMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "SameDay",
          "NextDay"
        ]
      },
      "ShiftChangeInterval": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Daily",
          "TwoDays",
          "ThreeDays",
          "Weekly",
          "BiWeekly"
        ]
      },
      "ShiftChangeValidValuesDetails": {
        "type": "object",
        "properties": {
          "shiftChangeIntervals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftChangeInterval"
            },
            "nullable": true
          },
          "timeNeedsValue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ShiftColorDetails": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Color30AFE5",
          "Color5C6BC0",
          "Color419B45",
          "ColorFF5722",
          "ColorB967C7",
          "Color8BC34A",
          "ColorFFC107",
          "ColorE91E63",
          "Color00B8D4",
          "Color64FFD9",
          "ColorCDDC39",
          "ColorFF5252",
          "Color00BFA5",
          "Color9C27B0"
        ]
      },
      "ShiftCreateDetails": {
        "required": [
          "shiftChange"
        ],
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "$ref": "#/components/schemas/ShiftColorDetails"
          },
          "validUntil": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "shiftChange": {
            "$ref": "#/components/schemas/ShiftChangeDetails"
          },
          "timeSlotConfiguration": {
            "$ref": "#/components/schemas/TimeSlotConfigurationDetails"
          },
          "holidayTimeSlotConfiguration": {
            "$ref": "#/components/schemas/HolidayTimeSlotConfigurationDetails"
          },
          "tiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftTierDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftDetails": {
        "required": [
          "shiftChange"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "$ref": "#/components/schemas/ShiftColorDetails"
          },
          "validUntil": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "shiftChange": {
            "$ref": "#/components/schemas/ShiftChangeDetails"
          },
          "timeSlotConfiguration": {
            "$ref": "#/components/schemas/TimeSlotConfigurationDetails"
          },
          "holidayTimeSlotConfiguration": {
            "$ref": "#/components/schemas/HolidayTimeSlotConfigurationDetails"
          },
          "intervals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftIntervalDetails"
            },
            "nullable": true
          },
          "validValues": {
            "$ref": "#/components/schemas/ShiftValidValuesDetails"
          },
          "tiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftTierDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftInfo": {
        "type": "object",
        "properties": {
          "shiftId": {
            "type": "string",
            "nullable": true
          },
          "intervalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftIntervalDetails": {
        "required": [
          "assignments",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          },
          "assignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftAssignmentDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftTierDetails": {
        "type": "object",
        "properties": {
          "tier": {
            "type": "integer",
            "format": "int32"
          },
          "staffStrength": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ShiftTimeSlotDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date-span"
          },
          "startDayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "end": {
            "type": "string",
            "format": "date-span"
          },
          "endDayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeek"
          }
        },
        "additionalProperties": false
      },
      "ShiftTimeSlotValidationResultDetails": {
        "type": "object",
        "properties": {
          "timeSlotId": {
            "type": "string",
            "nullable": true
          },
          "overlappingTimeSlotIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "isOverlapping": {
            "type": "boolean",
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/TimeSlotValidationResultType"
          },
          "isValid": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ShiftTimeSlotsValidationResultDetails": {
        "type": "object",
        "properties": {
          "timeSlotValidationResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftTimeSlotValidationResultDetails"
            },
            "nullable": true
          },
          "validValues": {
            "$ref": "#/components/schemas/ShiftValidValuesDetails"
          }
        },
        "additionalProperties": false
      },
      "ShiftUpdateDetails": {
        "required": [
          "shiftChange"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "$ref": "#/components/schemas/ShiftColorDetails"
          },
          "validUntil": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "shiftChange": {
            "$ref": "#/components/schemas/ShiftChangeDetails"
          },
          "timeSlotConfiguration": {
            "$ref": "#/components/schemas/TimeSlotConfigurationDetails"
          },
          "holidayTimeSlotConfiguration": {
            "$ref": "#/components/schemas/HolidayTimeSlotConfigurationDetails"
          },
          "tiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftTierDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftValidValuesDetails": {
        "type": "object",
        "properties": {
          "shiftChange": {
            "$ref": "#/components/schemas/ShiftChangeValidValuesDetails"
          }
        },
        "additionalProperties": false
      },
      "SignalingPatternChannelType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Push",
          "Voice",
          "SMS",
          "Email"
        ]
      },
      "SignalingPatternDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "suppressSignl": {
            "type": "boolean"
          },
          "overrideNotificationProfiles": {
            "type": "boolean"
          },
          "overrideResponseSettings": {
            "type": "boolean"
          },
          "overrideEscalationSettings": {
            "type": "boolean"
          },
          "timeSlots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeSlotDetails"
            },
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "notificationProfileOverrides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignalingPatternNotificationProfileDetails"
            },
            "nullable": true
          },
          "responseSettings": {
            "$ref": "#/components/schemas/SignalingPatternResponseSettings"
          },
          "escalationSettings": {
            "$ref": "#/components/schemas/SignalingPatternEscalationSettings"
          }
        },
        "additionalProperties": false
      },
      "SignalingPatternEscalationSettings": {
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/V2.AlertEscalationModes"
          },
          "enabled": {
            "type": "boolean"
          },
          "referenceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignalingPatternNotificationProfileDetails": {
        "type": "object",
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/SignalingPatternChannelType"
          },
          "delayInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SignalingPatternResponseSettings": {
        "type": "object",
        "properties": {
          "responseMode": {
            "$ref": "#/components/schemas/SignlResponseModes"
          },
          "responseTime": {
            "type": "integer",
            "format": "int32"
          },
          "tierResponseTime": {
            "type": "integer",
            "format": "int32"
          },
          "notifyOnAlertStatus": {
            "$ref": "#/components/schemas/NotifyOnSignlStatusChanges"
          }
        },
        "additionalProperties": false
      },
      "SignalingSettingsChannelType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Push",
          "Voice",
          "SMS",
          "Email"
        ]
      },
      "SignalingSettingsDetails": {
        "type": "object",
        "properties": {
          "escalationEnabled": {
            "type": "boolean"
          },
          "escalationMode": {
            "$ref": "#/components/schemas/SignlEscalationModes"
          },
          "escalationReferenceId": {
            "type": "string",
            "nullable": true
          },
          "filterAction": {
            "$ref": "#/components/schemas/SignlFilterActions"
          },
          "filterMode": {
            "$ref": "#/components/schemas/SignlFilterModes"
          },
          "optOutMode": {
            "$ref": "#/components/schemas/TeamCategoryOptOutModes"
          },
          "persistentNotificationMode": {
            "$ref": "#/components/schemas/PersistentNotificationModes"
          },
          "persistentNotificationInterval": {
            "type": "integer",
            "format": "int32"
          },
          "responseMode": {
            "$ref": "#/components/schemas/SignlResponseModes"
          },
          "responseTime": {
            "type": "integer",
            "format": "int32"
          },
          "tierResponseTimeInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "overrideNotificationProfiles": {
            "type": "boolean"
          },
          "notificationProfileOverrides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignalingSettingsNotificationProfileDetails"
            },
            "nullable": true
          },
          "signalingMode": {
            "$ref": "#/components/schemas/InAppSignalingModes"
          },
          "notifyOnAlertStatus": {
            "$ref": "#/components/schemas/NotifyOnSignlStatusChanges"
          }
        },
        "additionalProperties": false
      },
      "SignalingSettingsError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignalingSettingsNotificationProfileDetails": {
        "type": "object",
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/SignalingSettingsChannelType"
          },
          "delayInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SignlAnnotationCreate": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/SignlAnnotationType"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlAnnotationDetails": {
        "required": [
          "id",
          "teamId",
          "userId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SignlAnnotationType"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlAnnotationType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Text",
          "Image",
          "Audio",
          "Video"
        ]
      },
      "SignlAttachmentDetails": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "nullable": true
          },
          "encoding": {
            "$ref": "#/components/schemas/SignlAttachmentEncoding"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "annotationId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlAttachmentEncoding": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Base64"
        ]
      },
      "SignlAttachmentInfo": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "annotationId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlAttachmentUploadResultDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlAuditReportFileInfo": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "fileSizeInBytes": {
            "type": "integer",
            "format": "int64"
          },
          "lastRecord": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "month": {
            "$ref": "#/components/schemas/Month"
          },
          "year": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SignlCategoryCountsDetails": {
        "type": "object",
        "properties": {
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "acknowledged": {
            "type": "integer",
            "format": "int64"
          },
          "closed": {
            "type": "integer",
            "format": "int64"
          },
          "unhandled": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SignlCategoryDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlCountTypes": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "TeamCurrentDuty",
          "TeamLastDuty",
          "UserLastDutyChange",
          "Last24Hours"
        ]
      },
      "SignlCountsDetails": {
        "type": "object",
        "properties": {
          "categoryCounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlCategoryCountsDetails"
            },
            "nullable": true
          },
          "end": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SignlCountTypes"
          },
          "typeString": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "acknowledged": {
            "type": "integer",
            "format": "int64"
          },
          "closed": {
            "type": "integer",
            "format": "int64"
          },
          "unhandled": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SignlDeliveryStatusCodes": {
        "enum": [
          0,
          1,
          2,
          4,
          6,
          8,
          9,
          22,
          24,
          26,
          30,
          31
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Open",
          "Failed",
          "Transmitted",
          "Delivered",
          "Protected",
          "AbuseProtected",
          "PartlyFailed",
          "PartlyTransmitted",
          "PartlyDelivered",
          "NoOneOnDuty",
          "NoOneNotified"
        ]
      },
      "SignlDeliveryStatusDetails": {
        "type": "object",
        "properties": {
          "signlId": {
            "type": "string",
            "nullable": true
          },
          "userDeliveryStatus": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDeliveryStatus"
            },
            "nullable": true
          },
          "statusCode": {
            "$ref": "#/components/schemas/SignlDeliveryStatusCodes"
          }
        },
        "additionalProperties": false
      },
      "SignlDestinationDetails": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SignlDestinationTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "SignlDestinationTypeDetails": {
        "enum": [
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Team",
          "Feed"
        ]
      },
      "SignlDetails": {
        "required": [
          "destination",
          "eventId",
          "id",
          "subscriptionId"
        ],
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlAttachmentInfo"
            },
            "nullable": true
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlParameterDetails"
            },
            "nullable": true
          },
          "timelineEntries": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SignlTimelineEntryBase"
                },
                {
                  "$ref": "#/components/schemas/SignlTimelineEntryAnnotation"
                },
                {
                  "$ref": "#/components/schemas/SignlTimelineEntryUser"
                },
                {
                  "$ref": "#/components/schemas/SignlTimelineEntryTeam"
                },
                {
                  "$ref": "#/components/schemas/SignlTimelineEntryRemoteAction"
                }
              ]
            },
            "nullable": true
          },
          "escalations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlEscalationDetails"
            },
            "nullable": true
          },
          "alertingPattern": {
            "$ref": "#/components/schemas/SignlSignalingPatternDetails"
          },
          "category": {
            "$ref": "#/components/schemas/SignlCategoryDetails"
          },
          "eventId": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "workflow": {
            "$ref": "#/components/schemas/SignlWorkflowDetails"
          },
          "flags": {
            "$ref": "#/components/schemas/SignlFlags"
          },
          "history": {
            "$ref": "#/components/schemas/SignlHistoryInfo"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "requiredAcknowledgements": {
            "type": "integer",
            "format": "int32"
          },
          "severity": {
            "$ref": "#/components/schemas/SignlSeverities"
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "destination": {
            "$ref": "#/components/schemas/SignlDestinationDetails"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "feedback": {
            "$ref": "#/components/schemas/SignlFeedbackInfo"
          },
          "status": {
            "$ref": "#/components/schemas/SignlStatusDetails"
          },
          "workflowType": {
            "$ref": "#/components/schemas/SignlWorkflowTypes"
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlEscalationDetails": {
        "type": "object",
        "properties": {
          "escalationType": {
            "$ref": "#/components/schemas/SignlEscalationType"
          },
          "escalationStatus": {
            "$ref": "#/components/schemas/SignlEscalationStatus"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "targetId": {
            "type": "string",
            "nullable": true
          },
          "targetName": {
            "type": "string",
            "nullable": true
          },
          "signlId": {
            "type": "string",
            "nullable": true
          },
          "signlStatus": {
            "$ref": "#/components/schemas/SignlStatusCodes"
          },
          "tiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlEscalationTierDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlEscalationModes": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Manager",
          "Team"
        ]
      },
      "SignlEscalationNotificationDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "channelType": {
            "$ref": "#/components/schemas/SignlNotificationChannelType"
          },
          "deviceName": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "messageStatus": {
            "$ref": "#/components/schemas/SignlNotificationMessageStatus"
          },
          "messageStatusErrorCode": {
            "type": "integer",
            "format": "int32"
          },
          "userStatus": {
            "$ref": "#/components/schemas/SignlNotificationUserStatus"
          }
        },
        "additionalProperties": false
      },
      "SignlEscalationResult": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/SignlEscalationResultCode"
          },
          "success": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "SignlEscalationResultCode": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Escalated",
          "NotEnabled",
          "NotLicensed",
          "LimitReached",
          "TargetNotValid",
          "TargetIsPrivate",
          "AlreadyEscalated",
          "UnknownError",
          "TargetDeleted",
          "SignlInvalid",
          "EscalationSourceTeamNotValid"
        ]
      },
      "SignlEscalationStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Ok",
          "InProgress",
          "TargetInvalid",
          "TargetPrivate",
          "Filtered",
          "Suppressed"
        ]
      },
      "SignlEscalationTierDetails": {
        "type": "object",
        "properties": {
          "tierId": {
            "type": "integer",
            "format": "int32"
          },
          "triggerAt": {
            "type": "string",
            "format": "date-time"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlEscalationTierUserDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlEscalationTierUserDetails": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "userType": {
            "$ref": "#/components/schemas/UserType"
          },
          "deliveryStatus": {
            "$ref": "#/components/schemas/UserDeliveryStatusCodes"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignlEscalationNotificationDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlEscalationType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Manager",
          "Team",
          "Feed"
        ]
      },
      "SignlFeedbackInfo": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "$ref": "#/components/schemas/SignlFeedbackReasons"
          }
        },
        "additionalProperties": false
      },
      "SignlFeedbackReasons": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "ReviewNeeded"
        ]
      },
      "SignlFilterActions": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Suppress",
          "Hide",
          "Mute"
        ]
      },
      "SignlFilterModes": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Off",
          "WhiteListAllCategories"
        ]
      },
      "SignlFilterRequestInfo": {
        "type": "object",
        "properties": {
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "distributionListIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "signlIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "afterId": {
            "type": "string",
            "nullable": true
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "continuationToken": {
            "type": "string",
            "nullable": true
          },
          "maxCreated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "minCreated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "modifiedSince": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "showPersonalHiddenCategories": {
            "type": "boolean"
          },
          "userCreatedSignlsFilterMode": {
            "$ref": "#/components/schemas/UserCreatedSignlsFilterMode"
          },
          "signlStatusCodes": {
            "$ref": "#/components/schemas/SignlStatusCodes"
          },
          "textToSearch": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlFlags": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "HasAttachments",
          "HasAnnotations",
          "IsBreached",
          "HasLocationInfo",
          "EscalatedToTeam",
          "EscalatedToManager",
          "CreatedByEscalation"
        ]
      },
      "SignlHistoryInfo": {
        "type": "object",
        "properties": {
          "acknowledgedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acknowledgements": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "closedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "closedBy": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdByName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlInfo": {
        "required": [
          "destination",
          "eventId",
          "id",
          "subscriptionId"
        ],
        "type": "object",
        "properties": {
          "alertingPattern": {
            "$ref": "#/components/schemas/SignlSignalingPatternDetails"
          },
          "category": {
            "$ref": "#/components/schemas/SignlCategoryDetails"
          },
          "eventId": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "workflow": {
            "$ref": "#/components/schemas/SignlWorkflowDetails"
          },
          "flags": {
            "$ref": "#/components/schemas/SignlFlags"
          },
          "history": {
            "$ref": "#/components/schemas/SignlHistoryInfo"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "requiredAcknowledgements": {
            "type": "integer",
            "format": "int32"
          },
          "severity": {
            "$ref": "#/components/schemas/SignlSeverities"
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "destination": {
            "$ref": "#/components/schemas/SignlDestinationDetails"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "feedback": {
            "$ref": "#/components/schemas/SignlFeedbackInfo"
          },
          "status": {
            "$ref": "#/components/schemas/SignlStatusDetails"
          },
          "workflowType": {
            "$ref": "#/components/schemas/SignlWorkflowTypes"
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlNotificationChannelType": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Push",
          "Email",
          "Bot",
          "Voice",
          "SMS"
        ]
      },
      "SignlNotificationInfo": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "channelType": {
            "$ref": "#/components/schemas/SignlNotificationChannelType"
          },
          "deviceName": {
            "type": "string",
            "nullable": true
          },
          "lastUpdate": {
            "type": "string",
            "format": "date-time"
          },
          "messageStatus": {
            "$ref": "#/components/schemas/SignlNotificationMessageStatus"
          },
          "messageStatusErrorCode": {
            "type": "integer",
            "format": "int32"
          },
          "userStatus": {
            "$ref": "#/components/schemas/SignlNotificationUserStatus"
          }
        },
        "additionalProperties": false
      },
      "SignlNotificationMessageStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          10
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Rejected",
          "Failed",
          "Queued",
          "Transmitted",
          "Buffered",
          "Delivered",
          "Canceled",
          "Protected",
          "Delayed"
        ]
      },
      "SignlNotificationUserStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "MessageCreated",
          "NotOnDuty",
          "CategoryHidden",
          "CategoryMuted",
          "NoNotificationProfiles",
          "NoMessagesByNotificationProfiles"
        ]
      },
      "SignlParameterDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/SignlParameterOptions"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/SignlParameterTypes"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlParameterOptions": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "ExcludeFromCategorization"
        ]
      },
      "SignlParameterTypes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          100
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Object",
          "Array",
          "Constructor",
          "Property",
          "Comment",
          "Integer",
          "Float",
          "String",
          "Boolean",
          "Null",
          "Undefined",
          "Date",
          "Raw",
          "Bytes",
          "Guid",
          "Uri",
          "TimeSpan",
          "Html"
        ]
      },
      "SignlReportDetails": {
        "required": [
          "aiSummary",
          "category",
          "escalations",
          "eventSource",
          "history",
          "signl",
          "team",
          "timelines"
        ],
        "type": "object",
        "properties": {
          "signl": {
            "$ref": "#/components/schemas/ReportSignlDetails"
          },
          "team": {
            "$ref": "#/components/schemas/ReportTeamDetails"
          },
          "category": {
            "$ref": "#/components/schemas/ReportCategoryDetails"
          },
          "eventSource": {
            "$ref": "#/components/schemas/ReportEventSourceDetails"
          },
          "history": {
            "$ref": "#/components/schemas/ReportHistoryDetails"
          },
          "aiSummary": {
            "$ref": "#/components/schemas/ReportAiSummaryDetails"
          },
          "escalations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportEscalationDetails"
            },
            "nullable": true
          },
          "timelines": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ReportTimelineDetails"
                },
                {
                  "$ref": "#/components/schemas/ReportTimelineAnnotationDetails"
                },
                {
                  "$ref": "#/components/schemas/ReportTimelineNotificationDetails"
                },
                {
                  "$ref": "#/components/schemas/ReportTimelineRemoteActionDetails"
                },
                {
                  "$ref": "#/components/schemas/ReportTimelineTeamDetails"
                },
                {
                  "$ref": "#/components/schemas/ReportTimelineUserDetails"
                }
              ]
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlReportError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlResponseModes": {
        "enum": [
          2,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "SingleAcknowledge",
          "MultiAcknowledge"
        ]
      },
      "SignlSeverities": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Low",
          "Major",
          "Critical"
        ]
      },
      "SignlSignalingPatternDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlStatusCodes": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Open",
          "Acknowledged",
          "Closed",
          "NoReply",
          "Failed",
          "Error",
          "Successful"
        ]
      },
      "SignlStatusDetails": {
        "type": "object",
        "properties": {
          "statusCode": {
            "$ref": "#/components/schemas/SignlStatusCodes"
          },
          "deliveryStatus": {
            "$ref": "#/components/schemas/SignlDeliveryStatusDetails"
          }
        },
        "additionalProperties": false
      },
      "SignlSummaryDetails": {
        "required": [
          "creationTime",
          "initiator",
          "language",
          "signlId",
          "summary"
        ],
        "type": "object",
        "properties": {
          "signlId": {
            "type": "string",
            "nullable": true
          },
          "summary": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "initiator": {
            "$ref": "#/components/schemas/AIInitiatorDetails"
          },
          "feedback": {
            "$ref": "#/components/schemas/SignlSummaryFeedbackDetails"
          },
          "creationTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SignlSummaryFeedbackDetails": {
        "required": [
          "creationTime",
          "creator",
          "rating"
        ],
        "type": "object",
        "properties": {
          "creator": {
            "$ref": "#/components/schemas/AIInitiatorDetails"
          },
          "creationTime": {
            "type": "string",
            "format": "date-time"
          },
          "rating": {
            "$ref": "#/components/schemas/SignlSummaryRatings"
          }
        },
        "additionalProperties": false
      },
      "SignlSummaryRatings": {
        "enum": [
          0,
          5,
          -5
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Neutral",
          "Good",
          "Bad"
        ]
      },
      "SignlTimelineEntryAnnotation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SignlTimelineEntryBase"
          },
          {
            "type": "object",
            "properties": {
              "annotationtype": {
                "$ref": "#/components/schemas/SignlAnnotationType"
              },
              "text": {
                "type": "string",
                "nullable": true
              },
              "userId": {
                "type": "string",
                "nullable": true
              },
              "userName": {
                "type": "string",
                "nullable": true
              },
              "teamId": {
                "type": "string",
                "nullable": true
              },
              "attachmentId": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "SignlTimelineEntryBase": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entrytype": {
            "$ref": "#/components/schemas/SignlTimelineEntryTypes"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SignlTimelineEntryCreatorType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "User",
          "ApiKey",
          "System"
        ]
      },
      "SignlTimelineEntryRemoteAction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SignlTimelineEntryBase"
          },
          {
            "type": "object",
            "properties": {
              "creatorId": {
                "type": "string",
                "nullable": true
              },
              "creatorType": {
                "$ref": "#/components/schemas/SignlTimelineEntryCreatorType"
              },
              "remoteActionId": {
                "type": "string",
                "nullable": true
              },
              "remoteJobId": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "SignlTimelineEntryTeam": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SignlTimelineEntryBase"
          },
          {
            "type": "object",
            "properties": {
              "teamId": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "SignlTimelineEntryTypes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "SignlOpened",
          "SignlAcknowledged",
          "Annotation",
          "SignlBreached",
          "SignlClosed",
          "SignlAcknowledgeUndo",
          "SignlCloseUndo",
          "SignlEscalationRequested",
          "SignlEscalatedToManager",
          "SignlEscalatedToTeam",
          "SignlEscalatedFromTeam",
          "EscalationFailedTeamNotValid",
          "EscalationFailedTeamPrivate",
          "EscalationFailedEventFiltered",
          "EscalationFailedEventSuppressed",
          "EscalationExpedited",
          "RemoteJobExecuted"
        ]
      },
      "SignlTimelineEntryUser": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SignlTimelineEntryBase"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "SignlWorkflowDetails": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlWorkflowInfoDetails": {
        "required": [
          "workflowId",
          "workflowName"
        ],
        "type": "object",
        "properties": {
          "workflowId": {
            "type": "string",
            "nullable": true
          },
          "workflowName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignlWorkflowTypes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "User",
          "TeamBroadcast",
          "TeamEscalation",
          "MultiAcknowledge",
          "MultiAcknowledgeEmergency",
          "Feed"
        ]
      },
      "StakeholderDeactivationReasonDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Licenses",
          "SCIM"
        ]
      },
      "StakeholderDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "mailAddress": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "authProvider": {
            "$ref": "#/components/schemas/UserAuthProvider"
          },
          "lastLogin": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isInvite": {
            "type": "boolean"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "deactivationReasons": {
            "$ref": "#/components/schemas/StakeholderDeactivationReasonDetails"
          },
          "options": {
            "$ref": "#/components/schemas/StakeholderOptionDetails"
          },
          "feedIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StakeholderLicenseDetails": {
        "type": "object",
        "properties": {
          "current": {
            "type": "integer",
            "format": "int32"
          },
          "licensed": {
            "type": "integer",
            "format": "int32"
          },
          "planCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StakeholderLocaleDetails": {
        "type": "object",
        "properties": {
          "timeZone": {
            "type": "string",
            "description": "Time zone in IANA format",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StakeholderOptionDetails": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "ScimSynchronized"
        ]
      },
      "StakeholderOverviewDetails": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "stakeholderId": {
            "type": "string",
            "nullable": true
          },
          "mailAddress": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "externalAuthProvider": {
            "$ref": "#/components/schemas/UserAuthProvider"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "feedIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "isAlertable": {
            "type": "boolean"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "isInvite": {
            "type": "boolean"
          },
          "isSynchronized": {
            "type": "boolean",
            "readOnly": true
          },
          "deactivationReasons": {
            "$ref": "#/components/schemas/StakeholderDeactivationReasonDetails"
          },
          "options": {
            "$ref": "#/components/schemas/StakeholderOptionDetails"
          }
        },
        "additionalProperties": false
      },
      "StakeholderProfileDetails": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StandInInfo": {
        "type": "object",
        "properties": {
          "unavailableUserId": {
            "type": "string",
            "nullable": true
          },
          "unavailableUserScheduleId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StandInRequest": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "unavailableUserId": {
            "type": "string",
            "nullable": true
          },
          "standInUserId": {
            "type": "string",
            "nullable": true
          },
          "scheduleId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatusChangeScope": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Default",
          "AllTeams",
          "SpecificTeams"
        ]
      },
      "SubscriptionFeature": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionFeatureSetting"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionFeatureSetting": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionIdProviders": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          14,
          15
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Custom",
          "EntraID",
          "Google",
          "Apple",
          "ExternalOnly",
          "All"
        ]
      },
      "SubscriptionImageInfo": {
        "type": "object",
        "properties": {
          "lastModifiedWeb": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastModifiedMobile": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "settings": {
            "$ref": "#/components/schemas/SubscriptionImageInfoSettings"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionImageInfoSettings": {
        "type": "object",
        "properties": {
          "overwriteTeamImages": {
            "type": "boolean"
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionImageSettings": {
        "type": "object",
        "properties": {
          "overwriteTeamImages": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionInfo": {
        "type": "object",
        "properties": {
          "branchId": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "externalAccountId": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "nextBilling": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "planCode": {
            "type": "string",
            "nullable": true
          },
          "planState": {
            "type": "integer",
            "format": "int32"
          },
          "referralEnabled": {
            "type": "boolean"
          },
          "isBetaMember": {
            "type": "boolean"
          },
          "elmEnabled": {
            "type": "boolean"
          },
          "status": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionProfile": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionRetentionSettingsInfo": {
        "type": "object",
        "properties": {
          "days": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionSMSSettingsInfo": {
        "type": "object",
        "properties": {
          "rcsEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionSettingsInfo": {
        "type": "object",
        "properties": {
          "socialFeed": {
            "$ref": "#/components/schemas/SubscriptionSocialFeed"
          },
          "customRetention": {
            "$ref": "#/components/schemas/SubscriptionRetentionSettingsInfo"
          },
          "allowedIdProviders": {
            "$ref": "#/components/schemas/SubscriptionIdProviders"
          },
          "sms": {
            "$ref": "#/components/schemas/SubscriptionSMSSettingsInfo"
          },
          "disableInvites": {
            "type": "boolean",
            "nullable": true
          },
          "showStakeholdersAndDistributionLists": {
            "type": "boolean",
            "nullable": true
          },
          "autoPunchInInvitedUsers": {
            "type": "boolean",
            "nullable": true
          },
          "showUserCards": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionSocialFeed": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Disabled",
          "Twitter",
          "Reddit"
        ]
      },
      "SupportedLanguage": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "EN",
          "DE"
        ]
      },
      "TeamCategoryOptOutModes": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Disabled",
          "Personal"
        ]
      },
      "TeamDutySettingsDetails": {
        "type": "object",
        "properties": {
          "autosnapEnabled": {
            "type": "boolean"
          },
          "dutyAssistantEnabled": {
            "type": "boolean"
          },
          "dutyChangeNotificationsEnabled": {
            "type": "boolean"
          },
          "dutyLength": {
            "type": "integer",
            "format": "int32"
          },
          "handoverDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "handoverTime": {
            "type": "integer",
            "format": "int32"
          },
          "handoverWeekDay": {
            "type": "integer",
            "format": "int32"
          },
          "minMemberOnDuty": {
            "type": "integer",
            "format": "int32"
          },
          "schedulingEnabled": {
            "type": "boolean"
          },
          "scheduleReminderNotificationsEnabled": {
            "type": "boolean"
          },
          "shiftReportCarbonCopyMail": {
            "type": "string",
            "nullable": true
          },
          "shiftReportEnabled": {
            "type": "boolean"
          },
          "monthlyDutyReportEnabled": {
            "type": "boolean"
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "timezone": {
            "type": "string",
            "nullable": true
          },
          "manualMobilePunchInOutEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TeamDutySettingsError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamDutySummaryError": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamDutySummaryInfo": {
        "type": "object",
        "properties": {
          "dutyAssistEnabled": {
            "type": "boolean"
          },
          "dutySummaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DutySummaryInfo"
            },
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamHolidayDetails": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "holidays": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HolidayDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamImageDetails": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "contentDispostion": {
            "type": "string",
            "nullable": true
          },
          "contentEncoding": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "memberIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "externalName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "shortDescription": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "timezone": {
            "type": "string",
            "nullable": true
          },
          "imageLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "imageWebLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/TeamOptionsInfo"
          }
        },
        "additionalProperties": false
      },
      "TeamMembershipDetails": {
        "type": "object",
        "properties": {
          "mailAddress": {
            "type": "string",
            "nullable": true
          },
          "memberSince": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamOptionsInfo": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Synchronized"
        ]
      },
      "TeamPermissions": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/V1.UserPermission"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamPrivacySettingsDetails": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "hideDutyData": {
            "type": "boolean"
          },
          "hideContactAddresses": {
            "type": "boolean"
          },
          "hideForEscalation": {
            "type": "boolean"
          },
          "hideShortDescription": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TeamPrivacySettingsUpdate": {
        "type": "object",
        "properties": {
          "hideDutyData": {
            "type": "boolean"
          },
          "hideContactAddresses": {
            "type": "boolean"
          },
          "hideForEscalation": {
            "type": "boolean"
          },
          "hideShortDescription": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TeamProfile": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "shortDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamPublicDetails": {
        "type": "object",
        "properties": {
          "privacySettings": {
            "$ref": "#/components/schemas/TeamPrivacySettingsDetails"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamSetupProgress": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "completedSteps": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeamUserError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemplateAccessAllDetails": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/TemplateAccessTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "TemplateAccessSpecificDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/TemplateAccessTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "TemplateAccessTypeDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "User",
          "Team"
        ]
      },
      "TemplateAttachmentDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "attachmentType": {
            "$ref": "#/components/schemas/TemplateAttachmentTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "TemplateAttachmentEditDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemplateAttachmentTypeDetails": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "Image",
          "Audio",
          "Video"
        ]
      },
      "TemplateChannelDetails": {
        "enum": [
          1,
          2,
          4,
          8,
          16
        ],
        "type": "string",
        "x-enum-varnames": [
          "Push",
          "Email",
          "Bot",
          "Voice",
          "SMS"
        ]
      },
      "TemplateEditDetails": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateFieldEditDetails`1<TemplateTargetDetails>"
            },
            "nullable": true
          },
          "categoryId": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<String>"
          },
          "distributionListChannels": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<List`1<TemplateChannelDetails>>"
          },
          "externalId": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<String>"
          },
          "subject": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<String>"
          },
          "text": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<String>"
          },
          "workflowType": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<TemplateWorkflowTypeDetails>"
          },
          "sendAsEmergency": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<Boolean>"
          },
          "location": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<String>"
          },
          "access": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TemplateAccessSpecificDetails"
                },
                {
                  "$ref": "#/components/schemas/TemplateAccessAllDetails"
                }
              ]
            },
            "nullable": true
          },
          "attachments": {
            "$ref": "#/components/schemas/TemplateFieldEditDetails`1<List`1<TemplateAttachmentEditDetails>>"
          }
        },
        "additionalProperties": false
      },
      "TemplateExecutionAttachmentDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemplateExecutionDetails": {
        "type": "object",
        "properties": {
          "targets": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TemplateTargetSpecificDetails"
                },
                {
                  "$ref": "#/components/schemas/TemplateTargetScopedDetails"
                }
              ]
            },
            "nullable": true
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "subject": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "workflowType": {
            "$ref": "#/components/schemas/TemplateWorkflowTypeDetails"
          },
          "sendAsEmergency": {
            "type": "boolean"
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateExecutionAttachmentDetails"
            },
            "nullable": true
          },
          "distributionListChannels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateChannelDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemplateExecutionResultDetails": {
        "required": [
          "attachments",
          "categoryId",
          "createdByUserId",
          "eventId",
          "eventSourceId",
          "externalId",
          "location",
          "signlWorkflowType",
          "subject",
          "text"
        ],
        "type": "object",
        "properties": {
          "eventId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "subject": {
            "type": "string",
            "nullable": true
          },
          "destination": {
            "$ref": "#/components/schemas/SignlDestinationDetails"
          },
          "createdByUserId": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "signlWorkflowType": {
            "$ref": "#/components/schemas/SignlWorkflowTypes"
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateAttachmentDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldEditDetails`1<Boolean>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "boolean"
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldEditMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldEditDetails`1<List`1<TemplateAttachmentEditDetails>>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateAttachmentEditDetails"
            },
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldEditMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldEditDetails`1<List`1<TemplateChannelDetails>>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateChannelDetails"
            },
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldEditMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldEditDetails`1<String>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldEditMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldEditDetails`1<TemplateTargetDetails>": {
        "type": "object",
        "properties": {
          "value": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/TemplateTargetSpecificDetails"
              },
              {
                "$ref": "#/components/schemas/TemplateTargetScopedDetails"
              }
            ],
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldEditMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldEditDetails`1<TemplateWorkflowTypeDetails>": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/TemplateWorkflowTypeDetails"
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldEditMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldEditMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Writable",
          "Locked"
        ]
      },
      "TemplateFieldViewDetails`1<Boolean>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "boolean"
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldViewMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldViewDetails`1<List`1<TemplateAttachmentDetails>>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateAttachmentDetails"
            },
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldViewMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldViewDetails`1<List`1<TemplateChannelDetails>>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateChannelDetails"
            },
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldViewMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldViewDetails`1<String>": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldViewMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldViewDetails`1<TemplateTargetDetails>": {
        "type": "object",
        "properties": {
          "value": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/TemplateTargetSpecificDetails"
              },
              {
                "$ref": "#/components/schemas/TemplateTargetScopedDetails"
              }
            ],
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldViewMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldViewDetails`1<TemplateWorkflowTypeDetails>": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/TemplateWorkflowTypeDetails"
          },
          "mode": {
            "$ref": "#/components/schemas/TemplateFieldViewMode"
          }
        },
        "additionalProperties": false
      },
      "TemplateFieldViewMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Writable",
          "Locked",
          "Hidden"
        ]
      },
      "TemplateTargetDetails": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/TemplateTargetTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "TemplateTargetScopeDetails": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "MemberOf",
          "AllInSubscription"
        ]
      },
      "TemplateTargetScopedDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TemplateTargetDetails"
          },
          {
            "type": "object",
            "properties": {
              "scope": {
                "$ref": "#/components/schemas/TemplateTargetScopeDetails"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "TemplateTargetSpecificDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TemplateTargetDetails"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "TemplateTargetTypeDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "Team",
          "Feed"
        ]
      },
      "TemplateViewDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateFieldViewDetails`1<TemplateTargetDetails>"
            },
            "nullable": true
          },
          "categoryId": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<String>"
          },
          "distributionListChannels": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<List`1<TemplateChannelDetails>>"
          },
          "externalId": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<String>"
          },
          "subject": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<String>"
          },
          "text": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<String>"
          },
          "workflowType": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<TemplateWorkflowTypeDetails>"
          },
          "sendAsEmergency": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<Boolean>"
          },
          "location": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<String>"
          },
          "attachments": {
            "$ref": "#/components/schemas/TemplateFieldViewDetails`1<List`1<TemplateAttachmentDetails>>"
          },
          "access": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TemplateAccessSpecificDetails"
                },
                {
                  "$ref": "#/components/schemas/TemplateAccessAllDetails"
                }
              ]
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemplateWorkflowTypeDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "AsConfiguredInTeam",
          "TeamBroadcast",
          "MultiAcknowledge"
        ]
      },
      "TimeSlotConfigurationDetails": {
        "type": "object",
        "properties": {
          "isTwentyFourHourShift": {
            "type": "boolean"
          },
          "timeSlots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftTimeSlotDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TimeSlotDetails": {
        "required": [
          "end",
          "start"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "$ref": "#/components/schemas/WeekTimeDetails"
          },
          "end": {
            "$ref": "#/components/schemas/WeekTimeDetails"
          }
        },
        "additionalProperties": false
      },
      "TimeSlotValidationRequestDetails": {
        "type": "object",
        "properties": {
          "teamID": {
            "type": "string",
            "nullable": true
          },
          "timeSlots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShiftTimeSlotDetails"
            },
            "nullable": true
          },
          "holidayTimeSlot": {
            "$ref": "#/components/schemas/HolidayTimeSlotDetails"
          },
          "isTwentyFourHourShift": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TimeSlotValidationResultDetails": {
        "type": "object",
        "properties": {
          "overlappingTimeSlots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverlappingTimeSlotsDetails"
            },
            "nullable": true
          },
          "isOverlapping": {
            "type": "boolean",
            "readOnly": true
          },
          "item": {
            "$ref": "#/components/schemas/TimeSlotDetails"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TimeSlotValidationResultType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "TimeSlot",
          "HolidayTimeSlot"
        ]
      },
      "UpdatePasswordInfo": {
        "type": "object",
        "properties": {
          "currentPassword": {
            "type": "string",
            "nullable": true
          },
          "newPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserAbsenceCreateOrUpdateDetails": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          },
          "type": {
            "$ref": "#/components/schemas/UserAbsenceTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "UserAbsenceDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          },
          "type": {
            "$ref": "#/components/schemas/UserAbsenceTypeDetails"
          },
          "userId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserAbsenceSetDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          },
          "type": {
            "$ref": "#/components/schemas/UserAbsenceTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "UserAbsenceTypeDetails": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          999
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Vacation",
          "BusinessTrip",
          "Sickness",
          "Personal",
          "Other"
        ]
      },
      "UserAuthProvider": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "Custom",
          "EntraID",
          "Google",
          "Apple"
        ]
      },
      "UserColorDetails": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Color30AFE5",
          "Color5C6BC0",
          "Color419B45",
          "ColorFFEB3B",
          "ColorFF5722",
          "ColorB967C7",
          "Color80D8FF",
          "Color8BC34A",
          "ColorFFC107",
          "ColorE91E63",
          "Color00B8D4",
          "Color64FFD9",
          "ColorCDDC39",
          "ColorFF5252",
          "Color00BFA5",
          "Color9C27B0"
        ]
      },
      "UserCreatedEventsFilterMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "ExcludeUserCreatedEvents",
          "IncludeUserCreatedEvents",
          "OnlyUserCreatedEvents"
        ]
      },
      "UserCreatedSignlsFilterMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "ExcludeUserCreatedSignls",
          "IncludeUserCreatedSignls",
          "OnlyUserCreatedSignls"
        ]
      },
      "UserDeliveryStatus": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "statusCode": {
            "$ref": "#/components/schemas/UserDeliveryStatusCodes"
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "userType": {
            "$ref": "#/components/schemas/UserType"
          }
        },
        "additionalProperties": false
      },
      "UserDeliveryStatusCodes": {
        "enum": [
          0,
          1,
          2,
          4,
          6,
          8,
          9,
          24,
          26,
          30,
          31,
          32
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Open",
          "Failed",
          "Transmitted",
          "Delivered",
          "Protected",
          "AbuseProtected",
          "PartlyTransmitted",
          "PartlyDelivered",
          "NotOnDuty",
          "CategoryOptOut",
          "NoMessagesSent"
        ]
      },
      "UserDetails": {
        "type": "object",
        "properties": {
          "contactAddresses": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ContactAddressInfo"
                },
                {
                  "$ref": "#/components/schemas/PhoneContactAddressInfo"
                }
              ]
            },
            "nullable": true
          },
          "dutyInfos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDutyDetails"
            },
            "nullable": true
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "isEnabled": {
            "type": "boolean"
          },
          "isInvite": {
            "type": "boolean"
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "remoteActionPinSet": {
            "type": "boolean"
          },
          "externalAuthProvider": {
            "type": "string",
            "nullable": true
          },
          "webLanguage": {
            "$ref": "#/components/schemas/WebLanguage"
          },
          "options": {
            "$ref": "#/components/schemas/UserOptionsDetails"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "userImageLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "mail": {
            "type": "string",
            "nullable": true
          },
          "colorIndex": {
            "$ref": "#/components/schemas/UserColorDetails"
          }
        },
        "additionalProperties": false
      },
      "UserDutyDetails": {
        "type": "object",
        "properties": {
          "lastChange": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dutyMode": {
            "$ref": "#/components/schemas/DutyModes"
          },
          "onDutyTime": {
            "type": "integer",
            "format": "int32"
          },
          "overdue": {
            "type": "boolean"
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "tierId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserImage": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "contentDispostion": {
            "type": "string",
            "nullable": true
          },
          "contentEncoding": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserInvitationInfo": {
        "required": [
          "userMail"
        ],
        "type": "object",
        "properties": {
          "inviterId": {
            "type": "string",
            "nullable": true
          },
          "userMail": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UserInviteRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserLicenseInfo": {
        "type": "object",
        "properties": {
          "currentUsers": {
            "type": "integer",
            "format": "int32"
          },
          "licensedUsers": {
            "type": "integer",
            "format": "int32"
          },
          "planCode": {
            "type": "string",
            "nullable": true
          },
          "isTrial": {
            "type": "boolean"
          },
          "isFree": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserLocaleDetails": {
        "type": "object",
        "properties": {
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserLocaleResponseDetails": {
        "type": "object",
        "properties": {
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserMembership": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          },
          "isValid": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UserOptionsDetails": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Synchronized",
          "PreventContactAddressChanges"
        ]
      },
      "UserOverview": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "mailAddress": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "provStatus": {
            "$ref": "#/components/schemas/UserOverviewProvisioningStatus"
          },
          "channels": {
            "$ref": "#/components/schemas/UserOverviewChannels"
          },
          "roleIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "teamIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "colorIndex": {
            "type": "integer",
            "format": "int32"
          },
          "lastImgUpload": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "authProvider": {
            "$ref": "#/components/schemas/UserAuthProvider"
          },
          "options": {
            "$ref": "#/components/schemas/UserOverviewOptions"
          },
          "isEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserOverviewChannels": {
        "enum": [
          0,
          1,
          2,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Push",
          "Sms",
          "Voice"
        ]
      },
      "UserOverviewOptions": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Synchronized",
          "MfaEnabled"
        ]
      },
      "UserOverviewProvisioningStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Invited",
          "NoChannels",
          "Provisioned",
          "DeactivatedByLicense",
          "Disabled"
        ]
      },
      "UserOverviewsFilterRequestInfo": {
        "type": "object",
        "properties": {
          "startsWith": {
            "type": "string",
            "nullable": true
          },
          "contains": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          },
          "provStatus": {
            "$ref": "#/components/schemas/UserOverviewProvisioningStatus"
          },
          "authProvider": {
            "$ref": "#/components/schemas/UserAuthProvider"
          },
          "continuationToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserPhoneNumberDetails": {
        "type": "object",
        "properties": {
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "validationStatus": {
            "$ref": "#/components/schemas/PhoneNumberValidationStatus"
          }
        },
        "additionalProperties": false
      },
      "UserProfile": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "$ref": "#/components/schemas/WebLanguage"
          },
          "colorIndex": {
            "$ref": "#/components/schemas/UserColorDetails"
          }
        },
        "additionalProperties": false
      },
      "UserRole": {
        "required": [
          "id",
          "Name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "isAdmin": {
            "type": "boolean"
          },
          "isDefault": {
            "type": "boolean"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UserSetupProgress": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "completedSteps": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Deleted",
          "Invited",
          "Active"
        ]
      },
      "UserTagDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/UserTagType"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserTagType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Unknown",
          "Position",
          "Skill"
        ]
      },
      "UserTagUpdateDetails": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/UserTagType"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserTagsUpdateDetails": {
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserTagUpdateDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "User",
          "Stakeholder"
        ]
      },
      "UsersInvitationRequest": {
        "required": [
          "invites",
          "teamId"
        ],
        "type": "object",
        "properties": {
          "inviterId": {
            "type": "string",
            "nullable": true
          },
          "invites": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserInviteRequest"
            }
          },
          "teamId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "V1.UserDutyInfo": {
        "type": "object",
        "properties": {
          "lastChange": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "onDuty": {
            "type": "boolean"
          },
          "onManagerDuty": {
            "type": "boolean"
          },
          "overdue": {
            "type": "boolean"
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "V1.UserInfoV1": {
        "type": "object",
        "properties": {
          "colorIndex": {
            "type": "integer",
            "format": "int32"
          },
          "contactAddresses": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ContactAddressInfo"
                },
                {
                  "$ref": "#/components/schemas/PhoneContactAddressInfo"
                }
              ]
            },
            "nullable": true
          },
          "dutyInfos": {
            "$ref": "#/components/schemas/V1.UserDutyInfo"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "isEnabled": {
            "type": "boolean"
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "userImageLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isRemoteActionPinSet": {
            "type": "boolean"
          },
          "externalAuthProvider": {
            "type": "string",
            "nullable": true
          },
          "webLanguage": {
            "$ref": "#/components/schemas/WebLanguage"
          },
          "options": {
            "$ref": "#/components/schemas/V1.UserOptionsInfo"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isInvite": {
            "type": "boolean"
          },
          "mail": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "V1.UserOptionsInfo": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "None",
          "Synchronized",
          "PreventContactAddressChanges"
        ]
      },
      "V1.UserPermission": {
        "type": "object",
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "permission": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "V2.AlertDestinationDetails": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/V2.AlertDestinationTypeDetails"
          }
        },
        "additionalProperties": false
      },
      "V2.AlertDestinationTypeDetails": {
        "enum": [
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Team",
          "Feed"
        ]
      },
      "V2.AlertEscalationModes": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Manager",
          "Team"
        ]
      },
      "V2.EventSeverities": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Low",
          "Major",
          "Critical"
        ]
      },
      "V2.EventSourceEndpointError": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "integer",
            "format": "int32"
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "V2.EventSourceUpdateDetails": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "disabled": {
            "type": "boolean",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/EventSourceOptions"
          },
          "sharedWithTeams": {
            "$ref": "#/components/schemas/EventSourceSharedWithTeamsDetails"
          }
        },
        "additionalProperties": false
      },
      "V2.OverviewEvent": {
        "type": "object",
        "properties": {
          "alertDestination": {
            "$ref": "#/components/schemas/V2.AlertDestinationDetails"
          },
          "alertId": {
            "type": "string",
            "nullable": true
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "acknowledgedAlerts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "closedAlerts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "creationTime": {
            "type": "string",
            "format": "date-time"
          },
          "createdByUserId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceType": {
            "$ref": "#/components/schemas/EventSourceTypes"
          },
          "eventSourceGroupId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "eventSourceTeamId": {
            "type": "string",
            "nullable": true
          },
          "eventStatus": {
            "$ref": "#/components/schemas/EventStatusCodes"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "severity": {
            "$ref": "#/components/schemas/V2.EventSeverities"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VoiceInboundNumberLicenseInfo": {
        "type": "object",
        "properties": {
          "currentNumbers": {
            "type": "integer",
            "format": "int32"
          },
          "licensedNumbers": {
            "type": "integer",
            "format": "int32"
          },
          "planCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WaitForAutoCloseDetails": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "period": {
            "type": "string",
            "format": "date-span"
          }
        },
        "additionalProperties": false
      },
      "WaitForMultipleOccurrencesDetails": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "period": {
            "type": "string",
            "format": "date-span"
          },
          "occurrences": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "WebLanguage": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "BrowserBased",
          "EN",
          "DE"
        ]
      },
      "WebhookBaseInfo": {
        "required": [
          "extUrl",
          "name"
        ],
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "extUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WebhookInfo": {
        "required": [
          "extUrl",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "subId": {
            "type": "string",
            "nullable": true
          },
          "teamId": {
            "type": "string",
            "nullable": true
          },
          "extUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WeekTimeDetails": {
        "type": "object",
        "properties": {
          "weekday": {
            "$ref": "#/components/schemas/Weekday"
          },
          "hour": {
            "type": "integer",
            "format": "int32"
          },
          "minutes": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Weekday": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32",
        "x-enum-varnames": [
          "Holiday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday",
          "Sunday"
        ]
      },
      "WorkflowCreateDetails": {
        "type": "object",
        "properties": {
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkflowTargetDetails"
            },
            "nullable": true
          },
          "filterExpression": {
            "type": "string",
            "nullable": true
          },
          "waitForMultipleOccurrences": {
            "$ref": "#/components/schemas/WaitForMultipleOccurrencesDetails"
          },
          "waitForAutoClose": {
            "$ref": "#/components/schemas/WaitForAutoCloseDetails"
          },
          "duplicateSuppression": {
            "$ref": "#/components/schemas/DuplicateSuppressionDetails"
          },
          "distributionBySkills": {
            "$ref": "#/components/schemas/DistributionBySkillsDetails"
          }
        },
        "additionalProperties": false
      },
      "WorkflowDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkflowTargetDetails"
            },
            "nullable": true
          },
          "filterExpression": {
            "type": "string",
            "nullable": true
          },
          "waitForMultipleOccurrences": {
            "$ref": "#/components/schemas/WaitForMultipleOccurrencesDetails"
          },
          "waitForAutoClose": {
            "$ref": "#/components/schemas/WaitForAutoCloseDetails"
          },
          "duplicateSuppression": {
            "$ref": "#/components/schemas/DuplicateSuppressionDetails"
          },
          "distributionBySkills": {
            "$ref": "#/components/schemas/DistributionBySkillsDetails"
          }
        },
        "additionalProperties": false
      },
      "WorkflowNotificationProcedureDetails": {
        "enum": [
          1,
          2,
          4,
          8,
          16
        ],
        "type": "string",
        "x-enum-varnames": [
          "Push",
          "Email",
          "Bot",
          "Voice",
          "Sms"
        ]
      },
      "WorkflowTargetDetails": {
        "required": [
          "destination"
        ],
        "type": "object",
        "properties": {
          "destination": {
            "$ref": "#/components/schemas/SignlDestinationDetails"
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "notificationProceduresOverride": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkflowNotificationProcedureDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkflowUpdateDetails": {
        "type": "object",
        "properties": {
          "eventSourceId": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkflowTargetDetails"
            },
            "nullable": true
          },
          "filterExpression": {
            "type": "string",
            "nullable": true
          },
          "waitForMultipleOccurrences": {
            "$ref": "#/components/schemas/WaitForMultipleOccurrencesDetails"
          },
          "waitForAutoClose": {
            "$ref": "#/components/schemas/WaitForAutoCloseDetails"
          },
          "duplicateSuppression": {
            "$ref": "#/components/schemas/DuplicateSuppressionDetails"
          },
          "distributionBySkills": {
            "$ref": "#/components/schemas/DistributionBySkillsDetails"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "API_Key_Header": {
        "type": "apiKey",
        "description": "Header based API Key authentication. You can generate an API Key in the SIGNL4 portal under 'Integrations' -> 'Api Keys'.",
        "name": "x-s4-api-key",
        "in": "header"
      },
      "API_Key_Query": {
        "type": "apiKey",
        "description": "Query based API Key authentication. You can generate an API Key in the SIGNL4 portal under 'Integrations' -> 'Api Keys'.",
        "name": "x-s4-api-key",
        "in": "query"
      },
      "OAuth2": {
        "type": "oauth2",
        "description": "OAuth2 Authentication. You can request subscription specific client credentials from the SIGNL4 support.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://connect.signl4.com/identity/connect/authorize",
            "tokenUrl": "https://connect.signl4.com/identity/connect/token",
            "refreshUrl": "https://connect.signl4.com/identity/connect/token",
            "scopes": {
              "public_api_write": "Access write operations",
              "public_api_read": "Access read operations",
              "offline_access": "Allows usage of refresh tokens"
            }
          }
        }
      }
    }
  },
  "security": [
    { }
  ],
  "tags": [
    {
      "name": "Audits",
      "description": "Provides access to audit logs."
    },
    {
      "name": "Categories",
      "description": "Provides access to services and system categories in a SIGNL4 team."
    },
    {
      "name": "DistributionLists",
      "description": "Provides access to distribution list specific resources."
    },
    {
      "name": "Duties",
      "description": "Provides access to all information about duties and to start and end them for users."
    },
    {
      "name": "Events",
      "description": "Provide access to all information about events and their parameters."
    },
    {
      "name": "EventSources",
      "description": "Provides access to event sources of teams of user"
    },
    {
      "name": "Prepaid",
      "description": "Provides access to the prepaid balance and transactions"
    },
    {
      "name": "RemoteActionDefinitions",
      "description": "Provides management of remote actions definitions for a SIGNL4 subscription."
    },
    {
      "name": "RemoteActions",
      "description": "Provides management of remote actions for a SIGNL4 subscription."
    },
    {
      "name": "RemoteJobs",
      "description": "Provides management of remote action jobs for a SIGNL4 subscription."
    },
    {
      "name": "RemoteJobsJournal",
      "description": "Provides management of the remote action job journal for a SIGNL4 subscription."
    },
    {
      "name": "Schedules",
      "description": "Provide access to schedule information and the ability to create, delete and update them."
    },
    {
      "name": "SCIM",
      "description": "Provides access to all information about duties and to start and end them for users."
    },
    {
      "name": "Scripts",
      "description": "Provides access to apps that are available in SIGNL4 and e.g. allows adding an app to a SIGNL4 team."
    },
    {
      "name": "Shifts",
      "description": "Manage shifts."
    },
    {
      "name": "Shifts-AI",
      "description": "Start AI shift plannings and request the status and the results."
    },
    {
      "name": "Shifts-Assignments",
      "description": "Manage assignments"
    },
    {
      "name": "Shifts-Intervals",
      "description": "Manage shift intervals."
    },
    {
      "name": "Signls",
      "description": "Provides access to all information about SIGNLs and the ability to interact with them."
    },
    {
      "name": "Stakeholders",
      "description": "Provides access to stakeholder specific resources."
    },
    {
      "name": "SubscriptionImages",
      "description": "Provides management capabilities for a SIGNL4 subscription."
    },
    {
      "name": "Subscriptions",
      "description": "Provides management capabilities for a SIGNL4 subscription."
    },
    {
      "name": "Teams",
      "description": "Provides access to team specific resources"
    },
    {
      "name": "Templates",
      "description": "Create and execute templates for sending manual alerts to users"
    },
    {
      "name": "Users",
      "description": "Provides management for team members in a SIGNL4 team."
    },
    {
      "name": "Webhooks",
      "description": "Provides management for outbound notifications (e.g. a Signl was confirmed) via webhooks."
    },
    {
      "name": "Workflows",
      "description": "Provides access to workflows."
    }
  ]
}